@tiptap/core 3.0.0-beta.23 → 3.0.0-beta.25

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/index.d.cts CHANGED
@@ -1175,7 +1175,7 @@ interface EditorOptions {
1175
1175
  /**
1176
1176
  * Enable a lazy-loaded Prosemirror DevTools integration.
1177
1177
  *
1178
- * Requires having the `prosemirror-dev-tools` npm package installed.
1178
+ * Requires having the `prosemirror-dev-toolkit` npm package installed.
1179
1179
  * @type boolean
1180
1180
  * @default false
1181
1181
  * @example
@@ -2931,14 +2931,14 @@ declare class Editor extends EventEmitter<EditorEvents> {
2931
2931
  /**
2932
2932
  * Applies ProseMirror dev tools to the editor instance if enabled and running in a browser environment.
2933
2933
  *
2934
- * This method dynamically imports the `prosemirror-dev-tools` package and applies it to the current
2934
+ * This method dynamically imports the `prosemirror-dev-toolkit` package and applies it to the current
2935
2935
  * editor view. If the dev tools are not installed, a warning is logged to the console.
2936
2936
  *
2937
2937
  * @private
2938
2938
  * @remarks
2939
2939
  * - Dev tools are only applied if `this.options.enableDevTools` is `true` and the code is running in a browser.
2940
2940
  * - If the editor view is not available, the dev tools are not applied.
2941
- * - If the `prosemirror-dev-tools` package is missing, a warning is shown in the console.
2941
+ * - If the `prosemirror-dev-toolkit` package is missing, a warning is shown in the console.
2942
2942
  *
2943
2943
  * @returns {void}
2944
2944
  */
package/dist/index.d.ts CHANGED
@@ -1175,7 +1175,7 @@ interface EditorOptions {
1175
1175
  /**
1176
1176
  * Enable a lazy-loaded Prosemirror DevTools integration.
1177
1177
  *
1178
- * Requires having the `prosemirror-dev-tools` npm package installed.
1178
+ * Requires having the `prosemirror-dev-toolkit` npm package installed.
1179
1179
  * @type boolean
1180
1180
  * @default false
1181
1181
  * @example
@@ -2931,14 +2931,14 @@ declare class Editor extends EventEmitter<EditorEvents> {
2931
2931
  /**
2932
2932
  * Applies ProseMirror dev tools to the editor instance if enabled and running in a browser environment.
2933
2933
  *
2934
- * This method dynamically imports the `prosemirror-dev-tools` package and applies it to the current
2934
+ * This method dynamically imports the `prosemirror-dev-toolkit` package and applies it to the current
2935
2935
  * editor view. If the dev tools are not installed, a warning is logged to the console.
2936
2936
  *
2937
2937
  * @private
2938
2938
  * @remarks
2939
2939
  * - Dev tools are only applied if `this.options.enableDevTools` is `true` and the code is running in a browser.
2940
2940
  * - If the editor view is not available, the dev tools are not applied.
2941
- * - If the `prosemirror-dev-tools` package is missing, a warning is shown in the console.
2941
+ * - If the `prosemirror-dev-toolkit` package is missing, a warning is shown in the console.
2942
2942
  *
2943
2943
  * @returns {void}
2944
2944
  */
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./chunk-PR4QN5HX.js";
3
+ } from "./chunk-G3PMV62Z.js";
4
4
 
5
5
  // src/helpers/createChainableState.ts
6
6
  function createChainableState(config) {
@@ -4387,14 +4387,14 @@ var Editor = class extends EventEmitter {
4387
4387
  /**
4388
4388
  * Applies ProseMirror dev tools to the editor instance if enabled and running in a browser environment.
4389
4389
  *
4390
- * This method dynamically imports the `prosemirror-dev-tools` package and applies it to the current
4390
+ * This method dynamically imports the `prosemirror-dev-toolkit` package and applies it to the current
4391
4391
  * editor view. If the dev tools are not installed, a warning is logged to the console.
4392
4392
  *
4393
4393
  * @private
4394
4394
  * @remarks
4395
4395
  * - Dev tools are only applied if `this.options.enableDevTools` is `true` and the code is running in a browser.
4396
4396
  * - If the editor view is not available, the dev tools are not applied.
4397
- * - If the `prosemirror-dev-tools` package is missing, a warning is shown in the console.
4397
+ * - If the `prosemirror-dev-toolkit` package is missing, a warning is shown in the console.
4398
4398
  *
4399
4399
  * @returns {void}
4400
4400
  */
@@ -4402,14 +4402,14 @@ var Editor = class extends EventEmitter {
4402
4402
  if (typeof window === "undefined" || !this.options.enableDevTools) {
4403
4403
  return;
4404
4404
  }
4405
- import("./esm-7BF7U2WM.js").then(({ default: apply }) => {
4405
+ import("./dist-GJ4HMHO4.js").then(({ applyDevTools }) => {
4406
4406
  if (!this.editorView) {
4407
4407
  return;
4408
4408
  }
4409
- apply(this.editorView);
4409
+ applyDevTools(this.editorView);
4410
4410
  }).catch(() => {
4411
- console.warn("[Tiptap warning]: Devtools are enabled but `prosemirror-dev-tools` is not installed.");
4412
- console.warn("Install 'prosemirror-dev-tools' as a dev dependency to use the dev tools.");
4411
+ console.warn("[Tiptap warning]: Devtools are enabled but `prosemirror-dev-toolkit` is not installed.");
4412
+ console.warn("Install 'prosemirror-dev-toolkit' as a dev dependency to use the dev tools.");
4413
4413
  });
4414
4414
  }
4415
4415
  /**