oasis-editor 0.0.381 → 0.0.382

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.
@@ -8,6 +8,11 @@ export declare function protectedFieldRanges(p: EditorParagraphNode): Array<{
8
8
  end: number;
9
9
  }> | undefined;
10
10
  export declare function fieldRangeProtected(p: EditorParagraphNode, start: number, end: number): boolean;
11
+ /** Single-paragraph text edits, not structural edits. Closed caret boundaries
12
+ * deliberately remain ambiguous; a nonempty range may abut a field but may
13
+ * never remove a character within it or straddle an invisible field. */
14
+ export declare function fieldInlineRangeProtected(state: EditorState, p: EditorParagraphNode, start: number, end: number): boolean;
15
+ export declare function fieldInlineSelectionProtected(state: EditorState): boolean;
11
16
  export declare function hasUnresolvedFieldStory(state: EditorState): boolean;
12
17
  export declare function fieldSelectionProtected(state: EditorState): boolean;
13
18
  /** Rebuild a range without ever sending invisible controls to a text mapper.