ckeditor5-attachment
v1.0.6
Published
Ckeditor 5 with integrated attachment uploadand fullscreen.
Downloads
3
Maintainers
Readme
Features
- Attachment Upload
- Fullscreen
- based on classic-Ckeditor5
Use in Any Framework(React, Vue...)
import CustomEditor from 'ckeditor5-attachment'
Integrating CKEditor 5 with JavaScript frameworks
and more...
Just Use in HTML
use as the same as classic-editor5-usage
<script src="https://unpkg.com/browse/[email protected]/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
pnpm i && pnpm build
install dependencies and build, The product editor is at./build/ckeditor.js
- Start http service locally in the root directory, and Open the
sample/index.html
page in the browser to test the editor effect. For examplehttp-server.