@ -533,7 +533,12 @@ class QuillRawEditorState extends EditorState
child: QuillStyles (
child: QuillStyles (
data: _styles ! ,
data: _styles ! ,
child: Shortcuts (
child: Shortcuts (
shortcuts: mergeMaps < ShortcutActivator , Intent > ( {
/ / / Merge with widget . configurations . customShortcuts
/ / / first to allow user ' s defined shortcuts to take
/ / / priority when activation triggers are the same
shortcuts: mergeMaps < ShortcutActivator , Intent > (
{ . . . ? widget . configurations . customShortcuts } ,
{
/ / shortcuts added for Desktop platforms .
/ / shortcuts added for Desktop platforms .
const SingleActivator (
const SingleActivator (
LogicalKeyboardKey . escape ,
LogicalKeyboardKey . escape ,
@ -710,10 +715,10 @@ class QuillRawEditorState extends EditorState
control: ! isDesktopMacOS ,
control: ! isDesktopMacOS ,
meta: isDesktopMacOS ,
meta: isDesktopMacOS ,
) : const ScrollIntent (
) : const ScrollIntent (
direction: AxisDirection . down , type: ScrollIncrementType . page ) ,
direction: AxisDirection . down ,
} , {
type: ScrollIncrementType . page ) ,
. . . ? widget . configurations . customShortcuts
} ,
} ) ,
) ,
child: Actions (
child: Actions (
actions: mergeMaps < Type , Action < Intent > > ( _actions , {
actions: mergeMaps < Type , Action < Intent > > ( _actions , {
. . . ? widget . configurations . customActions ,
. . . ? widget . configurations . customActions ,