File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/json-crdt-peritext-ui/plugins/toolbar/state Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1235,6 +1235,7 @@ export class ToolbarState implements UiLifeCycles {
12351235 const menu : MenuItem = {
12361236 name : 'Block type' ,
12371237 expand : 1 ,
1238+ expandChild : 0 ,
12381239 children : [
12391240 {
12401241 name : 'Text blocks' ,
@@ -1434,15 +1435,16 @@ export class ToolbarState implements UiLifeCycles {
14341435 onSelect : ( ) => {
14351436 et . cursor ( {
14361437 move : [
1437- [ 'start ' , 'block' , - 1 ] ,
1438- [ 'end ' , 'block' , 1 ] ,
1438+ [ 'anchor ' , 'block' , - 1 ] ,
1439+ [ 'focus ' , 'block' , 1 ] ,
14391440 ] ,
14401441 } ) ;
14411442 } ,
14421443 } ,
1444+ this . blockClipboardMenu ( ) ,
14431445 ] ,
14441446 } ,
1445- this . blockClipboardMenu ( ) ,
1447+
14461448 secondBrain ( ) ,
14471449 ] ,
14481450 } ;
You can’t perform that action at this time.
0 commit comments