Rich text editor for Flutter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
51 KiB

{"9.4.0":"This release can be used without changing anything, although it can break the behavior a little, we provided a way to use the old behavior in `9.3.x`\r\n\r\n- Thanks to @Alspb, the search bar/dialog has been reworked for improved UI that fits **Material 3** look and feel, the search happens on the fly, and other minor changes, if you want the old search bar, you can restore it with one line if you're using `QuillSimpleToolbar`:\r\n ```dart\r\n QuillToolbar.simple(\r\n configurations: QuillSimpleToolbarConfigurations(\r\n searchButtonType: SearchButtonType.legacy,\r\n ),\r\n )\r\n ```\r\n While the changes are mostly to the `QuillToolbarSearchDialog` and it seems this should be `searchDialogType`, we provided the old button with the old dialog in case we update the button in the future.\r\n\r\n If you're using `QuillToolbarSearchButton` in a custom Toolbar, you don't need anything to get the new button. if you want the old button, use the `QuillToolbarLegacySearchButton` widget\r\n \r\n Consider using the improved button with the improved dialog as the legacy button might removed in future releases (for now, it's not deprecated)\r\n\r\n <details>\r\n <summary>Before</summary>\r\n \r\n ![image](https://github.com/singerdmx/flutter-quill/assets/73608287/9b40ad03-717f-4518-95f1-8d9cad773b2b)\r\n \r\n \r\n </details> \r\n \r\n <details>\r\n <summary>Improved</summary>\r\n \r\n ![image](https://github.com/singerdmx/flutter-quill/assets/73608287/e581733d-63fa-4984-9c41-4a325a0a0c04)\r\n \r\n </details>\r\n \r\n For the detailed changes, see #1904\r\n\r\n- Korean translations by @leegh519 in https://github.com/singerdmx/flutter-quill/pull/1911\r\n\r\n- The usage of `super_clipboard` plugin in `flutter_quill` has been moved to the `flutter_quill_extensions` package, this will restore the old behavior in `8.x.x` though it will break the `onImagePaste`, `onGifPaste` and rich text pasting from HTML or Markdown, most of those features are available in `super_clipboard` plugin except `onImagePaste` which was available as we were using [pasteboard](https://pub.dev/packages/pasteboard), Unfortunately, it's no longer supported on recent versions of Flutter, and some functionalities such as an image from Clipboard and Html paste are not supported on some platforms such as Android, your project will continue to work, calls of `onImagePaste` and `onGifPaste` will be ignored unless you include [flutter_quill_extensions](https://pub.dev/packages/flutter_quill_extensions) package in your project and call:\r\n\r\n ```dart\r\n FlutterQuillExtensions.useSuperClipboardPlugin();\r\n ```\r\n Before using any `flutter_quill` widgets, this will restore the old behavior in `9.x.x`\r\n \r\n We initially wanted to publish `flutter_quill_super_clipboard` to allow:\r\n - Using `super_clipboard` without `flutter_quill_extensions` packages and plugins\r\n - Using `flutter_quill_extensions` with optional `super_clipboard`\r\n \r\n To simplify the usage, we moved it to `flutter_quill_extensions`, let us know if you want any of the use cases above.\r\n \r\n Overall `super_clipboard` is a Comprehensive clipboard plugin with a lot of features, the only thing that developers didn't want is Rust installation even though it's automated.\r\n\r\n The main goal of `ClipboardService` is to make `super_clipboard` optional, you can use your own implementation, and create a class that implements `ClipboardService`, which you can get by:\r\n ```dart\r\n // ignore: implementation_imports\r\n import 'package:flutter_quill/src/services/clipboard/clipboard_service.dart';\r\n ```\r\n\r\n Then you can call:\r\n ```dart\r\n // ignore: implementation_imports\r\nimport 'package:flutter_quill/src/services/clipboard/clipboard_service_provider.dart';\r\n ClipboardServiceProvider.setInstance(YourClipboardService());\r\n```\r\n \r\n The interface could change at any time and will be updated internally for `flutter_quill` and `flutter_quill_extensions`, we didn't export those two classes by default to avoid breaking changes