Skip to content

feat(editor): add configurable TipTap slash menu item limit - #545

Open
TotomInc wants to merge 1 commit into
nuxt-content:mainfrom
TotomInc:feat/editor-suggestion-limit
Open

feat(editor): add configurable TipTap slash menu item limit#545
TotomInc wants to merge 1 commit into
nuxt-content:mainfrom
TotomInc:feat/editor-suggestion-limit

Conversation

@TotomInc

Copy link
Copy Markdown
Contributor

Summary

  • Adds studio.editor.suggestion.limit to control how many items the TipTap / menu shows without a search query
  • Raises the default from 42 (Nuxt UI default) to 200 so large component lists are not truncated before later groups

Usage

export default defineNuxtConfig({
  studio: {
    editor: {
      suggestion: {
        limit: 300,
      },
    },
  },
})

Test plan

  • Open a markdown file with many components grouped in studio.editor.components.groups
  • Trigger the / menu with no filter — all groups should be visible (up to the configured limit)
  • Set limit: 42 to confirm the previous truncation behavior can be restored

The @nuxt/ui suggestion menu defaults to 42 items, which truncates large component lists before editors can scroll to later groups. Expose studio.editor.suggestion.limit (default 200) so projects can show more items without typing to filter.
@vercel

vercel Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

@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

pkg-pr-new Bot commented Aug 13, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/nuxt-studio@545

commit: 526fede

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.

1 participant