Upgrade to 6.3.2

pull/1079/head
X Code 2 years ago
parent 11f65f9872
commit d8b03675b5
  1. 4
      CHANGELOG.md
  2. 16
      lib/src/widgets/editor.dart
  3. 2
      pubspec.yaml

@ -1,3 +1,7 @@
# [6.3.2]
* Added `unknownEmbedBuilder` to QuillEditor.
* Fix error style when input chinese japanese or korean.
# [6.3.1]
* Add color property to the basic factory function.

@ -494,12 +494,12 @@ class QuillEditorState extends State<QuillEditor>
readOnly,
) =>
_buildCustomBlockEmbed(
node,
context,
controller,
readOnly,
widget.unknownEmbedBuilder,
),
node,
context,
controller,
readOnly,
widget.unknownEmbedBuilder,
),
linkActionPickerDelegate: widget.linkActionPickerDelegate,
customStyleBuilder: widget.customStyleBuilder,
floatingCursorDisabled: widget.floatingCursorDisabled,
@ -541,7 +541,7 @@ class QuillEditorState extends State<QuillEditor>
EmbedsBuilder? unknownEmbedBuilder,
) {
final builders = widget.embedBuilders;
var _node = node;
// Creates correct node for custom embed
if (node.value.type == BlockEmbed.customType) {
@ -555,7 +555,7 @@ class QuillEditorState extends State<QuillEditor>
}
}
}
if (unknownEmbedBuilder != null) {
return unknownEmbedBuilder(context, controller, _node, readOnly);
}

@ -1,6 +1,6 @@
name: flutter_quill
description: A rich text editor supporting mobile and web (Demo App @ bulletjournal.us)
version: 6.3.1
version: 6.3.2
#author: bulletjournal
homepage: https://bulletjournal.us/home/index.html
repository: https://github.com/singerdmx/flutter-quill

Loading…
Cancel
Save