Skip to content
Discussion options

You must be logged in to vote

This happens only with StarterKit. If sticking to StarterKit, not wanted extensions can be disabled:

const editor = new Editor({
  content: '<p>Example Text</p>',
  extensions: [
    StarterKit.configure({
      blockquote: false,
      code: false,
      codeBlock: false,
      dropcursor: false,
      gapcursor: false,
      heading: false,
      horizontalRule: false,
      trailingNode: false,
    }),
  ],
})

See: https://tiptap.dev/docs/editor/extensions/functionality/starterkit#included-extensions

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MickL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant