Hi Ashish, Since ckeditor is a package installed by yarn during the Arches installation process, I would recommend installing a separate copy of it in media/js/ (so you don't edit the version in media/packages, which is managed by yarn).
Install your ckeditor plugins following their documentation, including editing the config.js file for your custom ckeditor. (Don't forget to run your collectstatic command after doing this.) Then you'll have to edit the javascript.htm template (make your own copy of it in your project dir -- don't edit the one in the main arches/ directory) to load ckeditor from your media/js/ location rather than from packages. This should be enough to swap out the default Arches ckeditor with your own custom one, but if you find that you need to add options directly to the rich text widget, you'd have to copy over templates/views/components/widgets/rich-text.htm and make your edit to the ckeditor options call there. Hope this helps! Angela On Friday, May 22, 2020 at 7:38:54 AM UTC-4, Ashish Karmacharya wrote: > > Dear all, > > I wanted to add footnotes on the ckeditor rich-text field. There is > already a plugin that can be added but not sure how that could be done > in Arches platform. Does anyone has idea how to extend ckeditor plugins > in Arches? > > Thank you in advance. > > Regards, > > Ashish > -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/86f04574-fc07-4161-b9f4-ec6432801dcb%40googlegroups.com.