@morfira-dev/wysiwyg-core 1.9.0 → 1.9.1

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.
@@ -0,0 +1,2 @@
1
+ /** Shared ordinary-block inline shape; callers retain their own ownership and semantic guards. */
2
+ export declare const inlineSourceChildren: (element: Element) => boolean;
@@ -0,0 +1,4 @@
1
+ import type { CutSelectionReplacement } from './internal-types.js';
2
+ export declare const ensureBodyPlaceholder: (body: HTMLElement) => Range;
3
+ /** Compose already validated body roots; source eligibility and branch placement stay caller-owned. */
4
+ export declare const insertReplacementBlocks: ({ left, tail, caret }: CutSelectionReplacement, blocks: HTMLElement[]) => void;
@@ -7,7 +7,6 @@ export interface ListItemBoundary {
7
7
  interleaved: boolean;
8
8
  ownStart: Range;
9
9
  ownEnd: Range;
10
- ownEmpty: boolean;
11
10
  }
12
11
  export interface ListSelectionPlan {
13
12
  status: 'eligible';
@@ -0,0 +1,2 @@
1
+ /** Editable list sources exclude images while requiring the HTML namespace at every level. */
2
+ export declare const sourceInlineNode: (node: Node) => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morfira-dev/wysiwyg-core",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"