Highlight
Closed this issue · 3 comments
Hello,
I would like to use the highlight tool in the editor, but have not yet managed to add that myself. I know how to work with the config/ckeditor.js file, but not how to add the @ckeditor/ckeditor5-highlight as a dependancy.
Could you give me some guidance on how to implement this so I can make a PR for you to implement in the next release?
The documentation: https://ckeditor.com/docs/ckeditor5/latest/features/highlight.html
Kind regards,
Irian
Hi,
It's pretty easy. Just note that you should create PR in another repo (CKEditor build):
https://github.com/Roslovets-Inc/ckeditor5-build-strapi-wysiwyg
First of all install your plugin. After that you need to modify only src/ckeditor.js - configuration stored there. Just import plugin and properly add it to configuration.
Good examples:
https://github.com/Roslovets-Inc/ckeditor5-build-strapi-wysiwyg/pull/9/files
https://github.com/Roslovets-Inc/ckeditor5-build-strapi-wysiwyg/pull/2/files
https://github.com/Roslovets-Inc/ckeditor5-build-strapi-wysiwyg/pull/6/files
Thanks a lot! I have added highlight and mathtype: Roslovets-Inc/ckeditor5-build-strapi-wysiwyg#17
Hi! I am wondering if it would be possible to merge my PR (Roslovets-Inc/ckeditor5-build-strapi-wysiwyg#17) so that we can start using it in our project.