Svelte3 component for CKEditor5
npm install ckeditor5-svelteThis component is a thin wrapper around ckeditor5 document editor.
Below are the set of instructions to create svelte project, install component and a basic setup with CKEditor DocumentEditor build.
``bash`
$ npm i ckeditor5-svelte
#### Create a new svelte project and install dependencies
`bash
npx degit sveltejs/template my-svelte-projector download and extract
cd my-svelte-projectto use Typescript run:
node scripts/setupTypeScript.js
npm install
`
#### Install ckeditor5-svelte package
`bash`
npm i ckeditor5-svelte
#### Install DocumentEditor build of ckeditor
`bash`
npm i @ckeditor/ckeditor5-build-decoupled-document
#### Update App.svelte in your project with the following
`js
on:ready={onReady}
bind:config={editorConfig}
bind:value={editorData} />
`
#### Run your project
`bash``
npm run dev