Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

chore: rename checkbox to to-do list

Lucas.Xu1667d14e90e3
diff --git a/frontend/app_flowy/packages/flowy_editor/lib/src/service/internal_key_event_handlers/slash_handler.dart b/frontend/app_flowy/packages/flowy_editor/lib/src/service/internal_key_event_handlers/slash_handler.dart
index fd0df50fb8..8316ea85d5 100644
--- a/frontend/app_flowy/packages/flowy_editor/lib/src/service/internal_key_event_handlers/slash_handler.dart
+++ b/frontend/app_flowy/packages/flowy_editor/lib/src/service/internal_key_event_handlers/slash_handler.dart
@@ -47,14 +47,14 @@ final List<PopupListItem> _popupListItems = [
icon: _popupListIcon('bullets'),
handler: (editorState) => insertBulletedListAfterSelection(editorState),
),
+ // PopupListItem(
+ // text: 'Numbered list',
+ // keywords: ['numbered list'],
+ // icon: _popupListIcon('number'),
+ // handler: (editorState) => debugPrint('Not implement yet!'),
+ // ),
PopupListItem(
- text: 'Numbered list',
- keywords: ['numbered list'],
- icon: _popupListIcon('number'),
- handler: (editorState) => debugPrint('Not implement yet!'),
- ),
- PopupListItem(
- text: 'Checkboxes',
+ text: 'To-do List',
keywords: ['checkbox'],
icon: _popupListIcon('checkbox'),
handler: (editorState) => insertCheckboxAfterSelection(editorState),