1.7.0 • Published 10 months ago

@bayareawebpro/ckeditor5-classic-custom v1.7.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

CKEditor5

npm install @bayareawebpro/ckeditor5-classic-custom --save-dev

Includes custom plugins for setting up external methods to insert content into the editor:

  • Insert Links
  • Insert Images
  • Insert Snippets

Use with the Vue Component

https://github.com/ckeditor/ckeditor5-vue

<script>
import {Editor} from '@bayareawebpro/ckeditor5-classic-custom'
export default {
  data() {
    return {
      editor: Editor,
      content: '<p>Content of the editor.</p>',
      config: {
        // Create a new UI Button & Handler
        createPlugins: {
          myPlugin: {
            label: `Click Me`,
            icon: `<svg>...`,
            execute: (editor) => {
              editor.model.insertContent(editor.data.toModel(editor.data.processor.toView(html)))
            }
          }
        },
        toolbar: {
          items: [
            'heading',
            '|',
            'link',
            'bold',
            'italic',
            'subscript',
            'superscript',
            'underline',
            'strikethrough',
            'alignment',
            '|',
            'blockQuote',
            'bulletedList',
            'numberedList',
            'horizontalLine',
            '|',
            'htmlEmbed',
            'insertTable',
            'mediaEmbed',
            '|',
            'undo',
            'redo'
          ]
        },
      }
    }
  },
}
</script>
<template>
  <ckeditor
      :editor="editor"
      :config="config"
      v-model="content"
  />
</template>

Vendor Docs

1.7.0

10 months ago

1.6.0

10 months ago

1.5.0

10 months ago

1.4.0

2 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago