@sergor5/ckeditor-nuxt

0.3.4 • Public • Published

ckeditor-nuxt

CKEditor 5 editor for nuxt apps. The component includes all free available plugins (except CKFinder, instead simple upload adapter used) ℹ️ Forked from @blowstack/ckeditor-nuxt

Requirements

yarn add nuxt # OR npm i nuxt

Component integration

yarn add @blowstack/ckeditor-nuxt # OR npm install --save @blowstack/ckeditor-nuxt

List of included plugins

  • Alignment,
  • Autoformat,
  • Autolink,
  • Autosave,
  • BlockQuote,
  • Bold,
  • Code,
  • CodeBlock,
  • Essentials,
  • FontBackgroundColor,
  • FontColor,
  • FontFamily,
  • FontSize,
  • Heading,
  • Highlight,
  • HorizontalLine,
  • Image,
  • ImageCaption,
  • ImageInsert,
  • ImageResize,
  • ImageStyle,
  • ImageToolbar,
  • ImageUpload,
  • Indent,
  • IndentBlock,
  • Italic,
  • Link,
  • List,
  • ListStyle,
  • Markdown,
  • MathType,
  • MediaEmbed,
  • PageBreak,
  • Paragraph,
  • PasteFromOffice,
  • RemoveFormat,
  • SimpleUploadAdapter,
  • SpecialCharacters,
  • SpecialCharactersArrows,
  • SpecialCharactersCurrency,
  • SpecialCharactersEssentials,
  • SpecialCharactersLatin,
  • SpecialCharactersMathematical,
  • SpecialCharactersText,
  • Strikethrough,
  • Subscript,
  • Superscript,
  • Table,
  • TableCellProperties,
  • TableProperties,
  • TableToolbar,
  • TextTransformation,
  • Title,
  • TodoList,
  • Underline,
  • WordCount,

Usage

<template>
........
  <client-only placeholder="loading...">
    <ckeditor-nuxt v-model="contentHolder" :config="editorConfig"  />
  </client-only>
........
</template>

<script>
export default {
    components: {
      'ckeditor-nuxt': () => import(' @blowstack/ckeditor-nuxt')
    },
    data() {
      return {
    	editorConfig: {
          simpleUpload: {
            uploadUrl: 'path_to_image_controller',
            headers: {
              'Authorization': 'optional_token'
            }
          }
        }
      }
   }
}
</script>

Package Sidebar

Install

npm i @sergor5/ckeditor-nuxt

Weekly Downloads

0

Version

0.3.4

License

MIT

Unpacked Size

5.65 MB

Total Files

17

Last publish

Collaborators

  • sergor5