* Value setting Stateful toolbar buttons derive from base class
* Rename base class as QuillToolbarBaseValueButton
* Removed deprecated functions
* Move clipboard actions to QuillController
* Fix: collectAllIndividualStylesAndEmbed for result span
* Add: Clipboard toolbar buttons
* Add: test for QuillController clipboard
Dart Formatted
* Fix Issue 1887
---------
Co-authored-by: Douglas Ward <dward@scied.com>
* toggle_style_button : calls to options.afterButtonPressed replaced by call to class function afterButtonPressed to allow default call to base button settings
quill_icon_button: L26 build for isSelected updated to call afterButtonPressed = same as if not selected
QuillController _updateSelection removed param=source because not used; added new param insertNewline when true set tog to style of preceding char (last entered); updated replaceText to call _updateSelection for NL
document collectStyle: Selecting the start of a line, user expects the style to be the visible style of the line including inline styles
* color_button calls afterButtonPressed
insert at start of line uses style for line
* Remove comments
* Fix formatting issue
* Fix FontFamily and Size button actions
* Fix FontFamily and Size button actions
* Value setting Stateful toolbar buttons derive from base class
* Rename base class as QuillToolbarBaseValueButton
* Fixes for before_push script
* Removed deprecated functions
* Move clipboard actions to QuillController
* Fix: collectAllIndividualStylesAndEmbed for result span
* Add: Clipboard toolbar buttons
* export: Clipboard toolbar buttons
* Fix: Dividers not shown in toolbar when multiRowsDisplay.
Fix: Toolbar drop buttons clipped when !multiRowsDisplay
* Add: test for QuillController clipboard
Dart Formatted
* Localizations updated
* QuillControllerConfigurations and clipboard paste
* Fix: CheckList action
* Fix: Multiline selection and refactor toolbar buttons
* Add tests: Multiline selection
* Fix header toggle button and new block attribute support.
* Fix QuillToolbarColorButtonExtraOptions
---------
Co-authored-by: Douglas Ward <dward@scied.com>
* toggle_style_button : calls to options.afterButtonPressed replaced by call to class function afterButtonPressed to allow default call to base button settings
quill_icon_button: L26 build for isSelected updated to call afterButtonPressed = same as if not selected
QuillController _updateSelection removed param=source because not used; added new param insertNewline when true set tog to style of preceding char (last entered); updated replaceText to call _updateSelection for NL
document collectStyle: Selecting the start of a line, user expects the style to be the visible style of the line including inline styles
* color_button calls afterButtonPressed
insert at start of line uses style for line
* Remove comments
* Fix formatting issue
* Fix FontFamily and Size button actions
* Fix FontFamily and Size button actions
* Value setting Stateful toolbar buttons derive from base class
* Rename base class as QuillToolbarBaseValueButton
* Fixes for before_push script
* Removed deprecated functions
* Move clipboard actions to QuillController
* Fix: collectAllIndividualStylesAndEmbed for result span
* Add: Clipboard toolbar buttons
* export: Clipboard toolbar buttons
* Fix: Dividers not shown in toolbar when multiRowsDisplay.
Fix: Toolbar drop buttons clipped when !multiRowsDisplay
* Add: test for QuillController clipboard
Dart Formatted
* Localizations updated
* QuillControllerConfigurations and clipboard paste
* Fix: CheckList action
* Fix: Multiline selection and refactor toolbar buttons
* Add tests: Multiline selection
---------
Co-authored-by: Douglas Ward <dward@scied.com>
* toggle_style_button : calls to options.afterButtonPressed replaced by call to class function afterButtonPressed to allow default call to base button settings
quill_icon_button: L26 build for isSelected updated to call afterButtonPressed = same as if not selected
QuillController _updateSelection removed param=source because not used; added new param insertNewline when true set tog to style of preceding char (last entered); updated replaceText to call _updateSelection for NL
document collectStyle: Selecting the start of a line, user expects the style to be the visible style of the line including inline styles
* color_button calls afterButtonPressed
insert at start of line uses style for line
* Remove comments
* Fix formatting issue
* Fix FontFamily and Size button actions
* Fix FontFamily and Size button actions
* Value setting Stateful toolbar buttons derive from base class
* Rename base class as QuillToolbarBaseValueButton
* Fixes for before_push script
* Removed deprecated functions
* Move clipboard actions to QuillController
* Fix: collectAllIndividualStylesAndEmbed for result span
* Add: Clipboard toolbar buttons
* export: Clipboard toolbar buttons
* Fix: Dividers not shown in toolbar when multiRowsDisplay.
Fix: Toolbar drop buttons clipped when !multiRowsDisplay
* Add: test for QuillController clipboard
Dart Formatted
* Localizations updated
* QuillControllerConfigurations and clipboard paste
* Fix: CheckList action
---------
Co-authored-by: Douglas Ward <dward@scied.com>
* toggle_style_button : calls to options.afterButtonPressed replaced by call to class function afterButtonPressed to allow default call to base button settings
quill_icon_button: L26 build for isSelected updated to call afterButtonPressed = same as if not selected
QuillController _updateSelection removed param=source because not used; added new param insertNewline when true set tog to style of preceding char (last entered); updated replaceText to call _updateSelection for NL
document collectStyle: Selecting the start of a line, user expects the style to be the visible style of the line including inline styles
* color_button calls afterButtonPressed
insert at start of line uses style for line
* Remove comments
* Fix formatting issue
---------
Co-authored-by: Douglas Ward <dward@scied.com>
* Allow for custom regular expression validation of links. (#1048)
* Fix the default RegExp for link validation to support port and match the beginning.
* Update dependencies of `flutter_quill_extensions`
* Override `intl` in example
Running "flutter pub get" in example...
Resolving dependencies... (1.0s)
Because every version of flutter_quill from path depends on i18n_extension ^7.0.0 and no versions of i18n_extension match >7.0.0 <8.0.0, every version of flutter_quill from path
requires i18n_extension 7.0.0.
And because i18n_extension 7.0.0 depends on intl ^0.18.0 and math_keyboard 0.1.8 depends on intl ^0.17.0, flutter_quill from path is incompatible with math_keyboard 0.1.8.
Because every version of flutter_quill_extensions from path depends on math_keyboard ^0.1.8 and no versions of math_keyboard match >0.1.8 <0.2.0, every version of
flutter_quill_extensions from path requires math_keyboard 0.1.8.
Thus, flutter_quill from path is incompatible with flutter_quill_extensions from path.
So, because app depends on both flutter_quill_extensions from path and flutter_quill from path, version solving failed.
pub get failed
* Remove all `tuple` imports
* Create struct for vertical spacing
* Create struct for history items
* Create struct for individual styles
offsetvalue
* Override `intl` in `flutter_quill_extensions`
* Create struct for (nullable) image width/height
* Create struct for image url
* Create struct for text links
* Create struct for glyph heights
* Use `OffsetValue` struct for embed node
* Create struct for next new line
* Create struct for segment leaf nodes
* Create struct for history undo/redo result
* Downgrade `i18n_extension` to `6.0.0`
* Bump to 7.0.0
Required for `flutter_quill_extensions` to have access to the new structs.
Declaring variables as final when possible is a good practice
because it helps avoid accidental reassignments and allows the
compiler to do optimizations.