@webhandle/ckeditor-5
v1.0.0
Published
A webhandle component to include the ck editor
Readme
@webhandle/ckeditor-5
Adds the resource for the ckeditor 5 module and includes the css for the editor.
Install
npm install @webhandle/ckeditor-5Usage
import setupCKEditor from "@webhandle/ckeditor-5/initialize-webhandle-component.mjs";
let ckManager = await setupCKEditor(webhandle)
webhandle.routers.primary.use((req, res, next) => {
ckManager.addExternalResources(res.locals.externalResourceManager)
next()
})
