File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export function LearningMapEditor({
9191 { action : t . shortcuts . addTaskNode , shortcut : "Ctrl+A" } ,
9292 { action : t . shortcuts . addTopicNode , shortcut : "Ctrl+O" } ,
9393 { action : t . shortcuts . addImageNode , shortcut : "Ctrl+I" } ,
94- { action : t . shortcuts . addTextNode , shortcut : "Ctrl+T " } ,
94+ { action : t . shortcuts . addTextNode , shortcut : "Ctrl+B " } ,
9595 { action : t . shortcuts . deleteNodeEdge , shortcut : "Delete" } ,
9696 { action : t . shortcuts . togglePreviewMode , shortcut : "Ctrl+P" } ,
9797 { action : t . shortcuts . toggleDebugMode , shortcut : "Ctrl+D" } ,
@@ -654,7 +654,7 @@ export function LearningMapEditor({
654654 addNewNode ( "image" ) ;
655655 }
656656 // add text node shortcut - changed to Ctrl+T
657- if ( ( e . ctrlKey || e . metaKey ) && e . key . toLowerCase ( ) === 't ' && ! e . shiftKey ) {
657+ if ( ( e . ctrlKey || e . metaKey ) && e . key . toLowerCase ( ) === 'b ' && ! e . shiftKey ) {
658658 e . preventDefault ( ) ;
659659 addNewNode ( "text" ) ;
660660 }
You can’t perform that action at this time.
0 commit comments