From 1667d14e90e38a27d5be0f36bd5fa3c1f63ef940 Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Thu, 11 Aug 2022 17:08:34 +0800 Subject: [PATCH] chore: rename checkbox to to-do list --- .../internal_key_event_handlers/slash_handler.dart | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 _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),