WYSIWYG editor used by QuPath Edu.
npm installnpm run build
Built CKEditor will be available at dist/ckeditor.umd.cjs, which can be copied over to src/main/resources/ckeditor/ckeditor.js in qupath-edu-extension.
Exported dist/ckeditor.css includes both content and editor styling. Content must be contained in a .ck-content class for the styles to apply. More info available at: https://ckeditor.com/docs/ckeditor5/latest/installation/advanced/content-styles.html#the-full-list-of-content-styles.
- Add plugin to
package.jsonunderdependenciesif necessary - Add plugin to
src/ckeditor.jsunderbuiltinPlugins - Run Building commands
Remember to make any additional changes to src/main/resources/html/ckeditor.html in qupath-edu-extension (i.e. add button to toolbar or configuration).