@blowstack/ckeditor-nuxt
Advanced tools
CKEditor 5 editor for nuxt apps. The component includes all free available plugins (except CKFinder, instead simple upload adapter used)
Weekly downloads
Readme
CKEditor 5 editor for nuxt apps. The component includes all free available plugins (except CKFinder, instead simple upload adapter used)
yarn add nuxt
npm i nuxt
yarn add @blowstack/ckeditor-nuxt
npm install --save @blowstack/ckeditor-nuxt
<template>
<client-only placeholder="loading...">
<ckeditor-nuxt v-model="contentHolder" :config="editorConfig" />
</client-only>
</template>
<script>
export default {
components: {
'ckeditor-nuxt': () => { if (process.client) { return import('@blowstack/ckeditor-nuxt') } },
},
data() {
return {
editorConfig: {
simpleUpload: {
uploadUrl: 'path_to_image_controller',
headers: {
'Authorization': 'optional_token'
}
}
},
contentHolder: ""
}
}
}
</script>
To make customization use editorConfig object. It works the same way as the default ckeditor 5. More info at https://ckeditor.com/docs/ckeditor5/latest/api/module_core_editor_editorconfig-EditorConfig.html
For example if you want to disable Title plugin:
editorConfig: {
removePlugins: ['Title'],
}
You can also change the behaviour of any plugin. For the Title plugin you can change for example the placeholder:
editorConfig: {
title: {
placeholder: 'h1'
}
}
FAQs
CKEditor 5 editor for nuxt apps. The component includes all free available plugins (except CKFinder, instead simple upload adapter used)
The npm package @blowstack/ckeditor-nuxt receives a total of 502 weekly downloads. As such, @blowstack/ckeditor-nuxt popularity was classified as not popular.
We found that @blowstack/ckeditor-nuxt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.