* fixed#1953 italic detection error
fix: issue where when html2md parse <em> to "_" instead of "*" that won't be detected MarkdownToDelta converter
feat(test): added test for DeltaX
feat: added config classes to MarkdownToDelta and html2md that allow users configure their own styles
* Added support for html underline and videos
* removed print calls and fix no expect in test
* removed useless element attr for underline
* improved video url validator pattern
* Added support for <video> tag
* chore: dart fixes
* fix: removed useless params
* fix: imports issue
---------
Co-authored-by: CatHood0 <santiagowmar@gmail.com>
* 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
* Subscript and Superscript
* Translation Justify
* Translation alignJustify
* Fix: Translation ko
* Fix: Translation en-US
---------
Co-authored-by: Douglas Ward <dward@scied.com>
* feat: allow pasting markdown and HTML files from the system into the editor
* chore: format _provideFileAsBytes function parameters
* fix: use onError callback of super_clipboard to work with async await using dart Completer
* Search bar improved: alignment option added, search settings changed from icons to checkboxes with titles, search happens on the fly, other minor improvements
* Minor refactoring
* Search bar: translations added, minor fixes
* 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>
* 🌍Add `readOnlyMouseCursor` to config mouse cursor type
Related issue: [Bug] Mouse cursor is still text insertion type when `readOnly` is `false` #1752
* 🔧Fix import
* 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>
* Added ScribbleFocusable class and updated QuillRawEditorState build() to use it as parent widget of QuilRawEditorMultiChildRenderObject.
Added optional configuration properties `final bool enableScribble`, `final EdgeInsets? scribbleAreaInsets`, `final void Function()? onScribbleActivated`
* format update
* Add a way to change almost properties of IconButton in QuillIconTheme for both selected and unselected state
---------
Co-authored-by: Ellet <ellet@freshplatform.net>
In `select_header_style_dropdown_button_configurations.dart`, the 'attributes' list type has been modified. Now it accepts 'Attribute<int?>' instead of 'Attribute<int>'. This change allows for custom dropdown attributes with a nullable level.
Co-authored-by: Sobhan Moradi <sobhan.moradi@getflip.com>
* Revert "Fix build error"
This reverts commit 90738e1ece.
* Revert "Prepare to release 9.1.0"
This reverts commit c3d57b87ec.
* Revert "Revert from material 3 to material 2"
This reverts commit 07b8f40491.
* Revert "Restore old feel and look (#1621)"
This reverts commit e820c5b29d.
---------
Co-authored-by: Ellet <ellet@freshplatform.net>
* Restore correct feel&look of `QuillToolbarIconButton`
* Export `QuillToolbarSelectAlignmentButtons`
* Restore old call of `QuillToolbarIconButton`
* Restore old call of `QuillToolbarIconButton`
* Resore original button PR #1575
* Restore old feel&look of buttons
* Restore original `QuillToolbarSelectAlignmentButton`
* Restore original `QuillToolbarLinkStyleButton2`
* Make `options` optional
* Restore old `QuillToolbarFontFamilyButton` build
* Restore old build of `QuillToolbarFontSizeButton`
* Change `textStyle` to `style`
* Remove redundant export
---------
Co-authored-by: Ellet Hnewa <73608287+ellet0@users.noreply.github.com>