feat: upgrade editor version to latest 0.1.4

This commit is contained in:
Lucas.Xu 2023-06-21 10:50:37 +08:00
parent 5cced92646
commit 197e5b3a79
3 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ CharacterShortcutEvent formatGreaterToToggleList = CharacterShortcutEvent(
handler: (editorState) async => await formatMarkdownSymbol( handler: (editorState) async => await formatMarkdownSymbol(
editorState, editorState,
(node) => node.type != ToggleListBlockKeys.type, (node) => node.type != ToggleListBlockKeys.type,
(text, _) => text == _greater, (_, text, __) => text == _greater,
(_, node, delta) => toggleListBlockNode( (_, node, delta) => toggleListBlockNode(
delta: delta.compose(Delta()..delete(_greater.length)), delta: delta.compose(Delta()..delete(_greater.length)),
), ),

View File

@ -53,10 +53,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: appflowy_editor name: appflowy_editor
sha256: "19c2567e23bbd8894243b2e57fa8436e3192c8dcb50c23499b6aea90a674a045" sha256: "3ab567d8993ca06ea114c35bc38c07d2f0d7a5b00857f52d71fbe6a7f9d2ba7b"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.3" version: "1.0.4"
appflowy_popover: appflowy_popover:
dependency: "direct main" dependency: "direct main"
description: description:

View File

@ -42,7 +42,7 @@ dependencies:
git: git:
url: https://github.com/AppFlowy-IO/appflowy-board.git url: https://github.com/AppFlowy-IO/appflowy-board.git
ref: a183c57 ref: a183c57
appflowy_editor: ^1.0.3 appflowy_editor: ^1.0.4
# appflowy_editor: # appflowy_editor:
# git: # git:
# url: https://github.com/AppFlowy-IO/appflowy-editor.git # url: https://github.com/AppFlowy-IO/appflowy-editor.git