document-model 2.5.0 → 2.7.0

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.
@@ -250,6 +250,7 @@ export type EditorProps<S, A extends Action, L> = {
250
250
  dispatch: (action: A | BaseAction, onErrorCallback?: ActionErrorCallback) => void;
251
251
  context: EditorContext;
252
252
  error?: unknown;
253
+ documentNodeName?: string;
253
254
  };
254
255
  export type Editor<S = unknown, A extends Action = Action, L = unknown> = {
255
256
  Component: FC<EditorProps<S, A, L>>;
@@ -250,6 +250,7 @@ export type EditorProps<S, A extends Action, L> = {
250
250
  dispatch: (action: A | BaseAction, onErrorCallback?: ActionErrorCallback) => void;
251
251
  context: EditorContext;
252
252
  error?: unknown;
253
+ documentNodeName?: string;
253
254
  };
254
255
  export type Editor<S = unknown, A extends Action = Action, L = unknown> = {
255
256
  Component: FC<EditorProps<S, A, L>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document-model",
3
- "version": "2.5.0",
3
+ "version": "2.7.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "private": false,
6
6
  "files": [