formatDoubleUnderscoresToBold top-level property
format the text surrounded by double underscores to bold
- support
- desktop
- mobile
- web
Implementation
final CharacterShortcutEvent formatDoubleUnderscoresToBold =
CharacterShortcutEvent(
key: 'format the text surrounded by double underscores to bold',
character: _underscore,
handler: (editorState) async => handleFormatByWrappingWithDoubleCharacter(
editorState: editorState,
character: _underscore,
formatStyle: DoubleCharacterFormatStyle.bold,
),
);