@lax-wp/editor 0.4.14 → 0.4.15
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/extensions/plugins/ViewModeDocumentPreview.d.ts +1 -4
- package/dist/index.es.js +2619 -2622
- package/dist/index.umd.js +57 -57
- package/package.json +1 -1
|
@@ -2,10 +2,7 @@ import { Extension } from "@tiptap/core";
|
|
|
2
2
|
declare module "@tiptap/core" {
|
|
3
3
|
interface Commands<ReturnType> {
|
|
4
4
|
viewModeDocumentPreview: {
|
|
5
|
-
|
|
6
|
-
* instead of the current editor state — used when the editor re-created after
|
|
7
|
-
* the snapshot was captured and the re-created content would be stale. */
|
|
8
|
-
enterViewModeCleanPreview: (contentOverride?: unknown) => ReturnType;
|
|
5
|
+
enterViewModeCleanPreview: () => ReturnType;
|
|
9
6
|
exitViewModeCleanPreview: () => ReturnType;
|
|
10
7
|
};
|
|
11
8
|
}
|