[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-9192":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":42,"readmeContent":43,"aiSummary":44,"trendingCount":16,"starSnapshotCount":16,"syncStatus":18,"lastSyncTime":45,"discoverSource":46},9192,"flutter-quill","singerdmx\u002Fflutter-quill","singerdmx","Rich text editor for Flutter","https:\u002F\u002Fpub.dev\u002Fpackages\u002Fflutter_quill",null,"Dart",2907,1037,22,304,0,1,2,3,4,31.05,"MIT License",false,"master",true,[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"dartlang","editor","flutter","flutter-apps","flutter-examples","flutter-package","flutter-widget","quill","quill-delta","quilljs","reactquill","rich-text","rich-text-editor","wysiwyg","wysiwyg-editor","2026-06-12 02:02:04","# Flutter Quill\n\n\u003Cp align=\"center\" style=\"background-color:#282C34\">\n  \u003Cimg src=\"https:\u002F\u002Fuser-images.githubusercontent.com\u002F10923085\u002F119221946-2de89000-baf2-11eb-8285-68168a78c658.png\" width=\"600px\" alt=\"Flutter Quill\">\n\u003C\u002Fp>\n\u003Ch1 align=\"center\">A rich text editor for Flutter\u003C\u002Fh1>\n\n[![MIT License][license-badge]][license-link]\n[![PRs Welcome][prs-badge]][prs-link]\n[![Watch on GitHub][github-watch-badge]][github-watch-link]\n[![Star on GitHub][github-star-badge]][github-star-link]\n[![Watch on GitHub][github-forks-badge]][github-forks-link]\n\n[license-badge]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fsingerdmx\u002Fflutter-quill.svg?style=for-the-badge\n\n[license-link]: .\u002FLICENSE\n\n[prs-badge]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPRs-welcome-brightgreen.svg?style=for-the-badge\n\n[prs-link]: https:\u002F\u002Fgithub.com\u002Fsingerdmx\u002Fflutter-quill\u002Fissues\n\n[github-watch-badge]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fwatchers\u002Fsingerdmx\u002Fflutter-quill.svg?style=for-the-badge&logo=github&logoColor=ffffff\n\n[github-watch-link]: https:\u002F\u002Fgithub.com\u002Fsingerdmx\u002Fflutter-quill\u002Fwatchers\n\n[github-star-badge]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fsingerdmx\u002Fflutter-quill.svg?style=for-the-badge&logo=github&logoColor=ffffff\n\n[github-star-link]: https:\u002F\u002Fgithub.com\u002Fsingerdmx\u002Fflutter-quill\u002Fstargazers\n\n[github-forks-badge]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fforks\u002Fsingerdmx\u002Fflutter-quill.svg?style=for-the-badge&logo=github&logoColor=ffffff\n\n[github-forks-link]: https:\u002F\u002Fgithub.com\u002Fsingerdmx\u002Fflutter-quill\u002Fnetwork\u002Fmembers\n\n---\n\n**Flutter Quill** is a rich text editor and a [Quill] component for [Flutter].\n\nThis library is a WYSIWYG (What You See Is What You Get) editor built\nfor the modern Android, iOS, web and desktop platforms.\n\nCheck out our [Youtube Playlist] or [Code Introduction](.\u002Fdoc\u002Fcode_introduction.md)\nto take a detailed walkthrough of the code base.\nYou can join our [Slack Group] for discussion.\n\n\u003Cp>\n  \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fsingerdmx\u002Fflutter-quill\u002Fblob\u002Fmaster\u002Fexample\u002Fassets\u002Fimages\u002Fscreenshot_1.png?raw=true\"\n    alt=\"A screenshot of the iOS example app\" height=\"400\"\u002F>\n  &nbsp;&nbsp;&nbsp;&nbsp;\n  \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fsingerdmx\u002Fflutter-quill\u002Fblob\u002Fmaster\u002Fexample\u002Fassets\u002Fimages\u002Fscreenshot_4.png?raw=true\"\n   alt=\"A screenshot of the web example app\" height=\"420\" \u002F>\n\u003C\u002Fp>\n\n## 📚 Table of contents\n\n- [📦 Installation](#-installation)\n- [🛠 Platform Setup](#-platform-setup)\n- [🚀 Usage](#-usage)\n- [🔤 Input \u002F Output](#-input--output)\n- [⚙️ Configurations](#️-configurations)\n- [📦 Embed Blocks](#-embed-blocks)\n- [🔄 Delta Conversion](#-delta-conversion)\n- [📝 Rich Text Paste](#-rich-text-paste)\n- [🌐 Translation](#-translation)\n- [🧪 Testing](#-testing)\n- [🤝 Contributing](#-contributing)\n- [📜 Acknowledgments](#-acknowledgments)\n\n## 📦 Installation\n\n```shell\nflutter pub add flutter_quill\n```\n\n\u003Cp align=\"center\">OR\u003C\u002Fp>\n\n```yaml\ndependencies:\n  flutter_quill:\n    git:\n      url: https:\u002F\u002Fgithub.com\u002Fsingerdmx\u002Fflutter-quill.git\n      ref: v\u003Clatest-version-here>\n```\n\n> [!TIP]\n> If you're using version `10.0.0`, see [the migration guide to migrate to `11.0.0`](https:\u002F\u002Fgithub.com\u002Fsingerdmx\u002Fflutter-quill\u002Fblob\u002Fmaster\u002Fdoc\u002Fmigration\u002F10_to_11.md).\n\n## 🛠 Platform Setup\n\nThe `flutter_quill` package uses the following plugins:\n\n1. [`url_launcher`](https:\u002F\u002Fpub.dev\u002Fpackages\u002Furl_launcher): to open links.\n2. [`quill_native_bridge`](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fquill_native_bridge): to access platform-specific APIs for the\n   editor.\n3. [`flutter_keyboard_visibility_temp_fork`](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fflutter_keyboard_visibility_temp_fork) to listen for keyboard\n   visibility changes.\n\n### Android Configuration for `quill_native_bridge`\n\nTo support copying images to the clipboard to be accessed by other apps, you need to configure your Android project.\nIf not set up, a warning will appear in the log during debug mode only.\n\n> [!TIP]\n> This is only required on **Android** for this optional feature.\n> You should be able to copy images and paste them inside the editor without any additional configuration.\n\n**1. Update `AndroidManifest.xml`**\n\nOpen `android\u002Fapp\u002Fsrc\u002Fmain\u002FAndroidManifest.xml` and add the following inside the `\u003Capplication>` tag:\n\n```xml\n\u003Cmanifest>\n    \u003Capplication>\n        ...\n        \u003Cprovider\n            android:name=\"androidx.core.content.FileProvider\"\n            android:authorities=\"${applicationId}.fileprovider\"\n            android:exported=\"false\"\n            android:grantUriPermissions=\"true\" >\n            \u003Cmeta-data\n                android:name=\"android.support.FILE_PROVIDER_PATHS\"\n                android:resource=\"@xml\u002Ffile_paths\" \u002F>\n        \u003C\u002Fprovider>\n        ...\n    \u003C\u002Fapplication>\n\u003C\u002Fmanifest>\n```\n\n**2. Create `file_paths.xml`**\n\nCreate the file `android\u002Fapp\u002Fsrc\u002Fmain\u002Fres\u002Fxml\u002Ffile_paths.xml` with the following content:\n\n```xml\n\u003Cpaths>\n    \u003Ccache-path name=\"cache\" path=\".\" \u002F>\n\u003C\u002Fpaths>\n```\n\n> [!NOTE]\n> Starting with Flutter Quill `10.8.4`, [super_clipboard](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fsuper_clipboard) is no longer required in `flutter_quill` or `flutter_quill_extensions`.\n> The new default is an internal plugin [`quill_native_bridge`](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fquill_native_bridge).\n> If you want to continue using `super_clipboard`, you can use the [quill_super_clipboard](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fquill_super_clipboard) package (support may be discontinued).\n\n## 🚀 Usage\n\nAdd the localization delegate to your app widget:\n\n```dart\nimport 'package:flutter_quill\u002Fflutter_quill.dart';\nimport 'package:flutter_localizations\u002Fflutter_localizations.dart';\n\nMaterialApp(\n  localizationsDelegates: const [\n    GlobalMaterialLocalizations.delegate,\n    GlobalCupertinoLocalizations.delegate,\n    GlobalWidgetsLocalizations.delegate,\n    FlutterQuillLocalizations.delegate,\n  ]，\n);\n```\n\nInstantiate a controller:\n\n```dart\nQuillController _controller = QuillController.basic();\n```\n\nUse the `QuillEditor` and `QuillSimpleToolbar` widgets,\nand attach the `QuillController` to them:\n\n```dart\nQuillSimpleToolbar(\n  controller: _controller,\n  config: const QuillSimpleToolbarConfig(),\n),\nExpanded(\n  child: QuillEditor.basic(\n    controller: _controller,\n    config: const QuillEditorConfig(),\n  ),\n)\n```\n\nDispose of the `QuillController` in the `dispose` method:\n\n```dart\n@override\nvoid dispose() {\n  _controller.dispose();\n  super.dispose();\n}\n```\n\nCheck out [Sample Page] for more advanced usage.\n\n## 🔤 Input \u002F Output\n\nThis library utilizes [Quill Delta](https:\u002F\u002Fquilljs.com\u002Fdocs\u002Fdelta\u002F) to represent document content.\nThe Delta format is a compact and versatile method for describing document changes through a series of operations that denote insertions, deletions, or formatting changes.\n\n* Use `_controller.document.toDelta()` to extract the deltas.\n* Use `_controller.document.toPlainText()` to extract plain text.\n\n**To save the document**:\n\n```dart\nfinal String json = jsonEncode(_controller.document.toDelta().toJson());\n\u002F\u002F Stores the JSON Quill Delta\n```\n\n**To load the document**:\n\n```dart\nfinal String json = ...; \u002F\u002F Load the previously stored JSON Quill Delta\n\n_controller.document = Document.fromJson(jsonDecode(json));\n```\n\n**To change the read-only mode**:\n\n```dart\n_controller.readOnly = true; \u002F\u002F Or false to allow edit\n```\n\n### 🔗 Links\n\n- [🪶 Quill Delta](https:\u002F\u002Fquilljs.com\u002Fdocs\u002Fdelta\u002F)\n- [📜 Quill Delta Formats](https:\u002F\u002Fquilljs.com\u002Fdocs\u002Fformats)\n\n## ⚙️ Configurations\n\nThe `QuillSimpleToolbar` and `QuillEditor` widgets are both customizable.\n[Sample Page] provides sample code for advanced usage and configuration.\n\n### 🔗 Links\n\n- [🛠️ Using Custom App Widget](.\u002Fdoc\u002Fconfigurations\u002Fusing_custom_app_widget.md)\n- [🌍 Localizations Setup](.\u002Fdoc\u002Fconfigurations\u002Flocalizations_setup.md)\n- [🔠 Font Size](.\u002Fdoc\u002Fconfigurations\u002Ffont_size.md)\n- [🖋 Font Family](#-font-family)\n- [🔘 Custom Toolbar buttons](.\u002Fdoc\u002Fconfigurations\u002Fcustom_buttons.md)\n- [🔍 Search](.\u002Fdoc\u002Fconfigurations\u002Fsearch.md)\n- [✂️ Shortcut events](.\u002Fdoc\u002Fcustomizing_shortcuts.md)\n- [🎨 Custom Toolbar](.\u002Fdoc\u002Fcustom_toolbar.md)\n\n### 🖋 Font Family\n\nTo use your own fonts, update your [Assets](.\u002Fexample\u002Fassets\u002Ffonts) directory and pass in `items` to `QuillToolbarFontFamilyButton`'s options.\nMore details\non [this commit](https:\u002F\u002Fgithub.com\u002Fsingerdmx\u002Fflutter-quill\u002Fcommit\u002F71d06f6b7be1b7b6dba2ea48e09fed0d7ff8bbaa),\n[this article](https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002F55075834\u002Ffontfamily-property-not-working-properly-in-flutter)\nand [this](https:\u002F\u002Fwww.flutterbeads.com\u002Fchange-font-family-flutter\u002F).\n\n## 📦 Embed Blocks\n\nThe `flutter_quill` package provides an interface for all the users to provide their own implementations for embed\nblocks.\n\nRefer to the [Custom Embed Blocks](.\u002Fdoc\u002Fcustom_embed_blocks.md) for more details.\n\n### 🛠️ Using the embed blocks from `flutter_quill_extensions`\n\nThe [`flutter_quill_extensions`][FlutterQuill Extensions]\npackage provide implementations for image and video embed blocks.\n\n## 🔄 Delta Conversion\n\n> [!CAUTION]\n> Storing the **Delta** as **HTML** in the database to convert it back to **Delta** when\n> loading the document is not recommended due to the structural and functional differences between HTML and Delta ([see this comment](https:\u002F\u002Fgithub.com\u002Fslab\u002Fquill\u002Fissues\u002F1551#issuecomment-311458570)).\n> We recommend storing the **Document** as **Delta JSON**\n> instead of other formats (e.g., HTML, Markdown, PDF, Microsoft Word, Google Docs, Apple Pages, XML).\n>\n> Converting **Delta** from\u002Fto **HTML** is not a standard feature in [Quill JS](https:\u002F\u002Fgithub.com\u002Fslab\u002Fquill)\n> or [Flutter Quill][FlutterQuill].\n\nAvailable Packages for Conversion\n\n| Package | Description |\n| ------- | ----------- |\n| [`vsc_quill_delta_to_html`](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fvsc_quill_delta_to_html) | Converts **Delta** to **HTML**. |\n| [`flutter_quill_delta_from_html`](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fflutter_quill_delta_from_html) | Converts **HTML** to **Delta**. |\n| [`flutter_quill_to_pdf`](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fflutter_quill_to_pdf) | Converts **Delta** to **PDF**. |\n| [`markdown_quill`](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fmarkdown_quill) | Converts **Markdown** to **Delta** and vice versa. |\n| [`flutter_quill_delta_easy_parser`](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fflutter_quill_delta_easy_parser) | Converts Quill **Delta** into a simplified document format, making it easier to manage and manipulate text attributes. |\n\n> [!TIP]\n> You might want to convert between **HTML** and **Delta** for some use cases:\n>\n> 1. **Migration**: If you're using an existing system that stores the data in HTML and want to convert the document\n     data to **Delta**.\n> 2. **Sharing**: For example, if you want to share the Document **Delta** somewhere or send it as an email.\n> 3. **Save as**: If your app has a feature that allows converting Documents to other formats.\n> 4. **Rich text pasting**: If you copy some content from websites or apps, and want to paste it into the app.\n> 5. **SEO**: In case you want to use HTML for SEO support.\n\n## 📝 Rich Text Paste\n\nThis feature allows the user to paste the content copied from other apps into the editor as rich text.\nThe plugin [`quill_native_bridge`](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fquill_native_bridge) provides access to the system Clipboard.\n\n\u003Cp>\n  \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fsingerdmx\u002Fflutter-quill\u002Fblob\u002Fmaster\u002Fexample\u002Fassets\u002Fimages\u002Frich_text_paste.gif?raw=true\"\n    alt=\"An animated image of the rich text paste on macOS\" width=\"600\" \u002F>\n\u003C\u002Fp>\n\n> [!IMPORTANT]\n> Currently this feature is unsupported on the web.\n> See [issue #1998](https:\u002F\u002Fgithub.com\u002Fsingerdmx\u002Fflutter-quill\u002Fissues\u002F1998) and [issue #2220](https:\u002F\u002Fgithub.com\u002Fsingerdmx\u002Fflutter-quill\u002Fissues\u002F2220)\n for more details.\n\n## 🌐 Translation\n\nThe package offers translations for the toolbar and editor widgets, it will follow the system locale unless you set your\nown locale.\n\nSee the [translation](.\u002Fdoc\u002Ftranslation.md) page for more info.\n\n## 🧪 Testing\n\nTake a look at [flutter_quill_test](https:\u002F\u002Fpub.dev\u002Fpackages\u002Fflutter_quill_test) for testing.\n\nCurrently, the support for testing is limited.\n\n## 🤝 Contributing\n\n> [!IMPORTANT]\n> At this time, we prioritize bug fixes and code quality improvements over new features. \n> Please refrain from submitting large changes to add new features, as they might\n> not be merged, and exceptions may made.\n> We encourage you to create an issue or reach out beforehand, \n> explaining your proposed changes and their rationale for a higher chance of acceptance. Thank you!\n\nWe greatly appreciate your time and effort.\n\nTo keep the project consistent and maintainable, we have a few guidelines that we ask all contributors to follow.\nThese guidelines help ensure that everyone can understand and work with the code easier.\n\nSee [Contributing](.\u002FCONTRIBUTING.md) for more details.\n\n## 📜 Acknowledgments\n\n- Special thanks to everyone who has contributed to this project...\n  \u003Cbr>\u003Cbr>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsingerdmx\u002Fflutter-quill\u002Fgraphs\u002Fcontributors\">\n  \u003Cimg src=\"https:\u002F\u002Fcontrib.rocks\u002Fimage?repo=singerdmx\u002Fflutter-quill\" alt=\"Contributors\"\u002F>\n  \u003C\u002Fa>\n\n    \u003Cbr>\n\n  Made with [contrib.rocks](https:\u002F\u002Fcontrib.rocks).\n\n- Thanks to the welcoming community, the volunteers who helped along the journey, developers, contributors\n  and contributors who put time and effort into everything including making all the libraries, tools, and the\n  information we rely on\n- We are incredibly grateful to many individuals and organizations who have played a\n  role in the project.\n  This includes the welcoming community, dedicated volunteers, talented developers and\n  contributors, and the creators of the open-source tools we rely on.\n\n[Quill]: https:\u002F\u002Fquilljs.com\u002Fdocs\u002Fformats\n\n[Flutter]: https:\u002F\u002Fgithub.com\u002Fflutter\u002Fflutter\n\n[FlutterQuill]: https:\u002F\u002Fpub.dev\u002Fpackages\u002Fflutter_quill\n\n[FlutterQuill Extensions]: https:\u002F\u002Fpub.dev\u002Fpackages\u002Fflutter_quill_extensions\n\n[ReactQuill]: https:\u002F\u002Fgithub.com\u002Fzenoamaro\u002Freact-quill\n\n[Youtube Playlist]: https:\u002F\u002Fyoutube.com\u002Fplaylist?list=PLbhaS_83B97vONkOAWGJrSXWX58et9zZ2\n\n[Slack Group]: https:\u002F\u002Fjoin.slack.com\u002Ft\u002Fbulletjournal1024\u002Fshared_invite\u002Fzt-fys7t9hi-ITVU5PGDen1rNRyCjdcQ2g\n\n[Sample Page]: https:\u002F\u002Fgithub.com\u002Fsingerdmx\u002Fflutter-quill\u002Fblob\u002Fmaster\u002Fexample\u002Flib\u002Fmain.dart\n","Flutter Quill 是一个为 Flutter 应用设计的富文本编辑器。它基于 Dart 语言开发，支持 WYSIWYG（所见即所得）编辑功能，适用于 Android、iOS、Web 和桌面平台。其核心功能包括丰富的文本格式化选项、嵌入式块支持以及 Delta 格式的输入输出转换等。此外，Flutter Quill 提供了高度可配置性，允许开发者根据具体需求定制编辑器的行为和外观。该项目适合需要在跨平台应用中集成富文本编辑功能的场景，如笔记应用、博客发布工具或任何需要用户生成内容的应用程序。","2026-06-11 03:21:37","top_language"]