Skip to content

v1.7.0

Latest

Choose a tag to compare

@larbish larbish released this 28 Apr 14:24
· 59 commits to main since this release

🚀 Features

  • editor: add meta.commands option to filter tiptap command(#421) (ad542d5)
  • editor: double-enter to escape current slot context (#430) (ea3b530)
  • studio: add a global option to restrict icon libraries (#432) (9dee6d7)

🐛 Bug Fixes

  • editor: disable AI toolbar items when not setup (#429) (c5da214)
  • editor: normalize icon names for InputIcon (#433) (880e860)
  • i18n: improve Ukrainian(ua) locales (#431) (c24fda7)
  • tests: ai mock in host (c436159)

⚠️ Deprecation

The meta option is now deprecated in favor of editor. Configs keep working without any breaking change. But users should migrate in their nuxt.config.ts.

Before

export default defineNuxtConfig({
  studio: {
    meta: {
      components: { include: ['Content*'] },
    }
  }
})

After

export default defineNuxtConfig({
  studio: {
    editor: {
      components: { include: ['Content*'] },
      iconLibraries: ['heroicons'], // new in 1.7
      commands: { exclude: ['blockquote', 'style'] }, // new in 1.7
    }
  }
})

Full Changelog: v1.6.1...v1.7.0