AppCKEditor is a custom build of CKEditor5.
This build includes the following plugins :
- Essentials
- Alignment
- Autoformat
- Bold
- BlockQuote
- Font
- Heading
- HorizontalLine
- Image
- ImageCaption
- ImageResize
- ImageUpload
- ImageToolbar
- ImageStyle
- Indent
- IndentBlock
- Italic
- Link
- ListProperties
- MediaEmbed
- PageBreak
- Paragraph
- PasteFromOffice
- RemoveFormat
- Strikethrough
- Table
- TableToolbar
- Underline
yarn add @odandb/appckeditor
The base was created with the Online builder tool
First, import the Editor:
import Editor from 'appckeditor'
Then inject the Editor to your instance of CKEditor :
template part
<template>
<c-k-editor
:editor="editor"
:config="editorConfig"
/>
</template>
script part
import { defineComponent } from 'vue'
import CKEditor from '@ckeditor/ckeditor5-vue'
import Editor from 'appckeditor'
export default defineComponent({
setup () {
return {
editor: Editor,
// Overwrite the default editor's configuration
editorConfig: {}
}
}
})