1.0.10 • Published 1 year ago

@caeher/nuxt-ckeditor5 v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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.
1.0.9

1 year ago

1.0.10

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago