diff --git a/.changeset/chilly-lemons-remember.md b/.changeset/chilly-lemons-remember.md new file mode 100644 index 00000000000..7ca7745abde --- /dev/null +++ b/.changeset/chilly-lemons-remember.md @@ -0,0 +1,5 @@ +--- +'@tiptap/extensions': major +--- + +Adds the new `@tiptap/extensions` package which holds utility extensions diff --git a/.vscode/settings.json b/.vscode/settings.json index 85fc45c77df..791ff78ce9b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -67,5 +67,8 @@ }, "[typescriptreact]": { "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[javascriptreact]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" } } diff --git a/demos/src/Examples/Images/React/index.jsx b/demos/src/Examples/Images/React/index.jsx index 2c128040ec2..60e2b221f34 100644 --- a/demos/src/Examples/Images/React/index.jsx +++ b/demos/src/Examples/Images/React/index.jsx @@ -1,10 +1,10 @@ import './styles.scss' import Document from '@tiptap/extension-document' -import Dropcursor from '@tiptap/extension-dropcursor' import Image from '@tiptap/extension-image' import Paragraph from '@tiptap/extension-paragraph' import Text from '@tiptap/extension-text' +import { Dropcursor } from '@tiptap/extensions' import { EditorContent, useEditor } from '@tiptap/react' import React from 'react' diff --git a/demos/src/Examples/Images/Vue/index.vue b/demos/src/Examples/Images/Vue/index.vue index 7743b759580..7043bcf43ca 100644 --- a/demos/src/Examples/Images/Vue/index.vue +++ b/demos/src/Examples/Images/Vue/index.vue @@ -11,10 +11,10 @@