|
@@ -169,6 +169,14 @@ final List<SelectionMenuItem> _defaultSelectionMenuItems = [
|
|
|
insertBulletedListAfterSelection(editorState);
|
|
|
},
|
|
|
),
|
|
|
+ SelectionMenuItem(
|
|
|
+ name: () => AppFlowyEditorLocalizations.current.numberedList,
|
|
|
+ icon: _selectionMenuIcon('number'),
|
|
|
+ keywords: ['numbered list', 'list', 'ordered list'],
|
|
|
+ handler: (editorState, _, __) {
|
|
|
+ insertNumberedListAfterSelection(editorState);
|
|
|
+ },
|
|
|
+ ),
|
|
|
SelectionMenuItem(
|
|
|
name: () => AppFlowyEditorLocalizations.current.checkbox,
|
|
|
icon: _selectionMenuIcon('checkbox'),
|