mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: unable to redo/undo in lists and data loss issues (#4739)
This commit is contained in:
parent
dfe3b0a929
commit
93664167e0
@ -18,9 +18,11 @@ CharacterShortcutEvent formatGreaterToToggleList = CharacterShortcutEvent(
|
||||
editorState,
|
||||
(node) => node.type != ToggleListBlockKeys.type,
|
||||
(_, text, __) => text == _greater,
|
||||
(_, node, delta) => toggleListBlockNode(
|
||||
delta: delta.compose(Delta()..delete(_greater.length)),
|
||||
),
|
||||
(_, node, delta) => [
|
||||
toggleListBlockNode(
|
||||
delta: delta.compose(Delta()..delete(_greater.length)),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
|
@ -53,8 +53,8 @@ packages:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: "."
|
||||
ref: "0a84917"
|
||||
resolved-ref: "0a84917e71cc44c9151f2f59aba72bcdacc66e57"
|
||||
ref: "9d90053"
|
||||
resolved-ref: "9d9005366ba8383e93029c4f2f006f9ff8d1cb08"
|
||||
url: "https://github.com/AppFlowy-IO/appflowy-editor.git"
|
||||
source: git
|
||||
version: "2.3.2"
|
||||
|
@ -167,7 +167,7 @@ dependency_overrides:
|
||||
appflowy_editor:
|
||||
git:
|
||||
url: https://github.com/AppFlowy-IO/appflowy-editor.git
|
||||
ref: "0a84917"
|
||||
ref: "9d90053"
|
||||
|
||||
sheet:
|
||||
git:
|
||||
|
Loading…
Reference in New Issue
Block a user