- Notifications
You must be signed in to change notification settings - Fork11
Angular dart component for the Quill rich text editor
License
NotificationsYou must be signed in to change notification settings
adamlofts/angular_quill
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An angular dart component for the Quill rich text editor
Visithttps://adamlofts.github.io/angular_quill_example/build/web/index.html
And view the correspondingexample source code.
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>
AddquillDirectives
to the directives on your app component
@Component( selector:'my-app', templateUrl:'app_component.html', directives:const [COMMON_DIRECTIVES, quillDirectives],)classAppComponent {}
Include Quill JS and css files in your app html.
<head><scriptsrc="packages/angular_quill/quill-1.2.4/quill.min.js"></script><linkrel="stylesheet"href="packages/angular_quill/quill-1.2.4/quill.snow.css"></head>