Skip to content

feat(tiptap): add meta.slashCommand to filter tiptap built-ins#421

Open
TotomInc wants to merge 2 commits intonuxt-content:mainfrom
TotomInc:feat/filter-tiptap-builtins
Open

feat(tiptap): add meta.slashCommand to filter tiptap built-ins#421
TotomInc wants to merge 2 commits intonuxt-content:mainfrom
TotomInc:feat/filter-tiptap-builtins

Conversation

@TotomInc
Copy link
Copy Markdown
Contributor

@TotomInc TotomInc commented Apr 10, 2026

Add meta.slashCommand to filter built-in tiptap sections (insert, style): allow fine-grained filtering or disabling entire sections.


Given the following slashCommand setup:

export default defineNuxtConfig({
  studio: {
    meta: {
      slashCommand: {
        exclude: ['heading4', 'code', 'codeBlock', 'bulletList', 'orderedList', 'blockquote', 'horizontalRule', 'strike'],
      },
    },
  },
})
CleanShot 2026-04-10 at 09 13 11@2x

Closes #373

@TotomInc TotomInc marked this pull request as draft April 10, 2026 07:09
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 10, 2026

@TotomInc is attempting to deploy a commit to the Nuxt Team on Vercel.

A member of the Team first needs to authorize it.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 10, 2026

npm i https://pkg.pr.new/nuxt-studio@421

commit: 650bd73

@TotomInc TotomInc marked this pull request as ready for review April 10, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add meta.slashCommand config to hide built-in sections (Style, Insert, etc.)

1 participant