MCPcopy Create free account
hub / github.com/SplootCode/splootcode / onEditorBlur

Method onEditorBlur

packages/editor/src/context/selection.ts:564–571  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

562
563 @action
564 onEditorBlur() {
565 // Hide the selection state (tell the list blocks they're not selected).
566 this.isHidden = true
567 this.clearSelectedListBlocks()
568 if (this.selectionStart) {
569 this.selectionStart.listBlock.selectionState = SelectionState.Empty
570 }
571 }
572
573 @action
574 onEditorFocus() {

Callers 1

EditorClass · 0.80

Calls 1

Tested by

no test coverage detected