1.0.6 • Published 2 years ago

ckeditor5-attachment v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Features

Use in Any Framework(React, Vue...)

import CustomEditor from 'ckeditor5-attachment'

Integrating CKEditor 5 with JavaScript frameworks

Ues in React

Use in Vue3 | Use in Vue2

Use in Angular

and more...

Just Use in HTML

use as the same as classic-editor5-usage

<script src="https://unpkg.com/browse/ckeditor5-attachment@1.0.6/build/ckeditor.js"></script>

<body>
  <h1>Classic editor</h1>
    <div id="editor">
        <p>This is some sample content.</p>
    </div>
    <script>
      CustomEditor
        .create( document.querySelector( '#editor' ) )
        .catch( error => {
            console.error( error );
          });
    </script>
</body>

Build & Test

Build

  1. pnpm i && pnpm build install dependencies and build, The product editor is at./build/ckeditor.js
  2. Start http service locally in the root directory, and Open the sample/index.html page in the browser to test the editor effect. For example http-server.