Hi Paul, On Tue, Aug 2, 2016 at 11:41 PM, Paul Libbrecht <[email protected]> wrote:
> > Hello fellow developers, > > is there some hint to add a plugin (with a button) to the CKEditor? > > > I've met /xwiki/bin/edit/CKEditor/EditSheet?editor=object which is > probably the place to start with. > Yes, but you can also do it without touching CKEditor.EditSheet (if you want to write an extension for instance). See http://jira.xwiki.org/browse/CKEDITOR-46?focusedCommentId=90672&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-90672 . > I tried adding the extraConfigs variable within the configuration but it > seems like this cannot load my plugin. > > I don't know what you mean by "extraConfigs" but you can checkout https://github.com/xwiki-contrib/application-ckeditor/blob/application-ckeditor-1.0/ui/src/main/resources/CKEditor/EditSheet.xml#L154 to see how to use an external plugin (in the first version of the CKEditor integration the Source plugin was defined in a wiki page as a proof of concept). It would be cool to have an extension mechanism for that. > See http://jira.xwiki.org/browse/CKEDITOR-16 . Hope this helps, Marius > thanks in advance. > > Paul > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

