@tiptap/core 2.11.7 → 2.11.8
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/Editor.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -4540,7 +4540,7 @@ class Editor extends EventEmitter {
|
|
|
4540
4540
|
// @ts-ignore
|
|
4541
4541
|
const name = typeof nameOrPluginKey === 'string' ? `${nameOrPluginKey}$` : nameOrPluginKey.key;
|
|
4542
4542
|
// @ts-ignore
|
|
4543
|
-
plugins =
|
|
4543
|
+
plugins = plugins.filter(plugin => !plugin.key.startsWith(name));
|
|
4544
4544
|
});
|
|
4545
4545
|
if (prevPlugins.length === plugins.length) {
|
|
4546
4546
|
// No plugin was removed, so we don’t need to update the state
|