mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-25 15:17:28 -04:00
fix: toggle heading issues (#6714)
* fix: pages overflow when selecting homepage
* fix: toggle heading issues
* Revert "fix: pages overflow when selecting homepage"
This reverts commit 156882a9a7
.
* chore: optimize code logic
* fix: assertion in toggle list
* fix: make the turn into menu and color menu exclusive
* test: add toggle heading test
This commit is contained in:
parent
54096b391f
commit
82effbf8e4
13 changed files with 298 additions and 82 deletions
|
@ -231,7 +231,6 @@ class _DocumentPageState extends State<DocumentPage>
|
|||
|
||||
final Path? path = _getPathFromAction(action, editorState);
|
||||
if (path != null) {
|
||||
debugPrint('jump to block: $path');
|
||||
editorState.updateSelectionWithReason(
|
||||
Selection.collapsed(Position(path: path)),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue