@caeher/nuxt-ckeditor5

Development
631
Install
npm install @caeher/nuxt-ckeditor5
Latest Version:1.0.10
Vue:3
License:MIT
Last Updated:Dec 31, 2022
Links: npm
Maintainer: caeher

CKEditor5 for Nuxt 3

This module makes use of the official ckeditor component for vuejs, you can check here

Setup

npm i @caeher/nuxt-ckeditor5

Add an alias and module in nuxt.config

export default defineNuxtModule<ModuleOptions>({
  alias: {
    '@caeher/build-ckeditor': '@caeher/build-ckeditor/dist/caeher.js',
    '@ckeditor/ckeditor5-vue': '@ckeditor/ckeditor5-vue/dist/ckeditor.js'
  },
  modules: [
    '@caeher/nuxt-ckeditor5'
  ],
  // setting
  ckeditor: {
    // disabledModule: true, // Disable module module
    height: 500, // Height for editor content
    // disabled: true, // Disable editor
    config: {
      // You can review the settings of each plugin for free: https://ckeditor.com/docs/ckeditor5/latest/features/index.html
    }
  }
})

Adding the configuration completely resets the default one, so you need to make sure to use free ckeditor5 plugins

Usage

<CaeherEditor v-model="data" />

Contributing

  • Clone this repository https://github.com/caeher/nuxt-ckeditor5
  • Install dependencies using yarn install or npm install
  • Run npm run dev:prepare to generate type stubs.
  • Use npm run dev to start playground in development mode.

Related Packages

@scayle/storefront-nuxt

Nuxt integration for the SCAYLE Commerce Engine and Storefront API

152,903
nuxt-tsconfig-stub

Stub Nuxt's generated tsconfig.json at installation

70,835 24
kuranuxt

Look at the Nuxt 3 documentation to learn more.

871 0
nuxt-define

One utility function for module authors to define compiler constants for all bui...

13,412,511
dayjs-nuxt

Day.JS Module for Nuxt

1,986,864 126

Version History

Version Released Vue License
1.0.10 ^3.0 MIT
1.0.9 ^3.0 MIT
1.0.8 ^3.0 MIT
1.0.7 ^3.0 MIT
1.0.6 ^3.0 MIT