Toolbar button styling to reflect cursor position when running on desktops with keyboard to move caret. (#1801)
* 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>pull/1826/head
parent
a2a4faf3db
commit
caa5662de4
6 changed files with 36 additions and 27 deletions
Loading…
Reference in new issue