quill_html_editor 0.1.1 copy "quill_html_editor: ^0.1.1" to clipboard
quill_html_editor: ^0.1.1 copied to clipboard

HTML rich text editor for Android, iOS and Web, using the QuilJS library.

Quill Html Editor #

HTML rich text editor for Android, iOS, and Web, using the QuillJS library. QuillJS is a free, open source WYSIWYG editor built for the modern web.

📸 Screenshots #

Usage #


/// define editorKey to access the editor functions
final  htmlKey =  GlobalKey<QuillHtmlEditorState>();

QuillHtmlEditor(
editorKey: htmlKey,
height: 600
)

To get the html string from editor

String? htmlText = await htmlKey.currentState?.getText();

To set the html string to editor

 await htmlKey.currentState?.setText(text);

To clear the editor

  htmlKey.currentState?.clear();

To enable editor

  htmlKey.currentState?.enableEditor();

To disable editor

  htmlKey.currentState?.disableEditor();

Todo #

  • Customization of toolbar
  • Support for Windows and Mac

License #

Copyright (c) 2022 Pavan Kumar

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

210
likes
0
pub points
97%
popularity

Publisher

unverified uploader

HTML rich text editor for Android, iOS and Web, using the QuilJS library.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_web_plugins, webviewx

More

Packages that depend on quill_html_editor