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

outdated

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.2.4/quill.min.js"></script>
    <link rel="stylesheet" href="packages/angular_quill/quill-1.2.4/quill.snow.css">
  </head>
7
likes
0
pub points
71%
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

License

unknown (LICENSE)

Dependencies

angular, angular_forms, js

More

Packages that depend on angular_quill