oasis-editor 0.0.383 → 0.0.384
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/OasisEditorApp-CQqOpmTy.js +1 -0
- package/dist/core/document/fieldMutation.d.ts +6 -5
- package/dist/defaultToolbar-BPLBXI_R.js +1 -0
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/package.json +1 -1
- package/dist/OasisEditorApp-DoKpcAWM.js +0 -1
- package/dist/defaultToolbar-DNFoaxfg.js +0 -1
|
@@ -16,13 +16,14 @@ export declare function fieldInlineSelectionProtected(state: EditorState): boole
|
|
|
16
16
|
/** Affinity is deliberately opt-in, and only for an exact, valid raw
|
|
17
17
|
* collapsed position. Never infer it from normalized visible offsets. */
|
|
18
18
|
export declare function fieldInsertionProtected(state: EditorState): boolean;
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* A markerless paragraph can still be inside a multi-paragraph cached result. */
|
|
19
|
+
/** Split only at an exterior position. A field's complete marker group
|
|
20
|
+
* travels to one side of the new paragraph break, never both. */
|
|
22
21
|
export declare function fieldParagraphSplitProtected(state: EditorState): boolean;
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
22
|
+
/** Remove an exterior paragraph break without reordering any run. The
|
|
23
|
+
* structural break itself has an unambiguous side relative to each group:
|
|
24
|
+
* after all controls in the left paragraph, before all in the right. */
|
|
25
25
|
export declare function fieldParagraphJoinProtected(state: EditorState, left: EditorParagraphNode, right: EditorParagraphNode): boolean;
|
|
26
|
+
export declare function fieldParagraphJoinAffinity(left: EditorParagraphNode, right: EditorParagraphNode): EditorPosition["fieldBoundaryAffinity"];
|
|
26
27
|
export declare function hasUnresolvedFieldStory(state: EditorState): boolean;
|
|
27
28
|
export declare function fieldSelectionProtected(state: EditorState): boolean;
|
|
28
29
|
/** Rebuild a range without ever sending invisible controls to a text mapper.
|