diff --git a/packages/editor/src/editor/plugins/createWithInsertBreak.ts b/packages/editor/src/editor/behavior/behavior.action.insert-break.ts similarity index 97% rename from packages/editor/src/editor/plugins/createWithInsertBreak.ts rename to packages/editor/src/editor/behavior/behavior.action.insert-break.ts index bbc3f79af..50af34eea 100644 --- a/packages/editor/src/editor/plugins/createWithInsertBreak.ts +++ b/packages/editor/src/editor/behavior/behavior.action.insert-break.ts @@ -1,8 +1,8 @@ import {isEqual} from 'lodash' import {Editor, Node, Path, Range, Transforms} from 'slate' import type {SlateTextBlock, VoidElement} from '../../types/slate' -import type {BehaviourActionImplementation} from '../behavior/behavior.actions' -import type {BehaviorAction, PickFromUnion} from '../behavior/behavior.types' +import type {BehaviourActionImplementation} from './behavior.actions' +import type {BehaviorAction, PickFromUnion} from './behavior.types' export const insertBreakActionImplementation: BehaviourActionImplementation< PickFromUnion diff --git a/packages/editor/src/editor/behavior/behavior.actions.ts b/packages/editor/src/editor/behavior/behavior.actions.ts index fec4295c9..a9cd01490 100644 --- a/packages/editor/src/editor/behavior/behavior.actions.ts +++ b/packages/editor/src/editor/behavior/behavior.actions.ts @@ -1,7 +1,7 @@ import {deleteBackward, Editor, insertText, Transforms} from 'slate' import type {PortableTextMemberSchemaTypes} from '../../types/editor' import {toSlateRange} from '../../utils/ranges' -import {insertBreakActionImplementation} from '../plugins/createWithInsertBreak' +import {insertBreakActionImplementation} from './behavior.action.insert-break' import type { BehaviorAction, BehaviorEvent,