angular_quill 0.2.1 copy "angular_quill: ^0.2.1" to clipboard
angular_quill: ^0.2.1 copied to clipboard

Platformweb

Angular dart component for the Quill rich text editor. Quill is a free, open source WYSIWYG editor built for the modern web.

Angular Quill #

An angular dart component for the Quill rich text editor

See it in action #

Visit https://adamlofts.github.io/angular_quill_example/build/web/index.html

And view the corresponding example source code.

Usage #

Add the dependency to pub:

dependencies:
  angular_quill:

Add the component to your template

<my-app>
    <quill
            [(ngModel)]="html"
            placeholder="Write something..."
            (blur)="blur()"
            (input)="input()"
    ></quill>
</my-app>

Add quillDirectives to the directives on your app component

@Component(
  selector: 'my-app',
  templateUrl: 'app_component.html',
  directives: const [COMMON_DIRECTIVES, quillDirectives],
)
class AppComponent {}

Include Quill JS and css files in your app html.

  <head>
    <script src="packages/angular_quill/quill-1.3.6/quill.min.js"></script>
    <link rel="stylesheet" href="packages/angular_quill/quill-1.3.6/quill.snow.css">
  </head>
7
likes
110
pub points
72%
popularity

Publisher

unverified uploader

Angular dart component for the Quill rich text editor. Quill is a free, open source WYSIWYG editor built for the modern web.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

angular, angular_forms, js

More

Packages that depend on angular_quill