Posts: 6,266
Threads: 181
Joined: Sep 2011
Does anyone know how to make ckeditor plugins ?
I am interested in adding a ckeditor plugin or easier, just adding a button to insert components/snippets etc into pages, it would be gs shortcode button essentially.
Any volunteers want to contribute ?
Posts: 2,928
Threads: 195
Joined: Feb 2011
there is a plugin for that: it is called "template" already
if you check that plugin you will see that it is easy to define snippets which will be entered in the content
see here, although it is in german, you will see what has to be done:
http://www.get-simple.de/editor-plugins/...einsetzen/
Posts: 6,266
Threads: 181
Joined: Sep 2011
This would be for shortcode insertion not actual templates or content.
Posts: 2,928
Threads: 195
Joined: Feb 2011
shawn,
all plugins have the same structure, see here;
http://docs.ckeditor.com/#!/guide/plugin_sdk_intro
cheers, Connie
Posts: 6,266
Threads: 181
Joined: Sep 2011
Sorry I am looking for someone to make this for us. Maybe I was not clear on that.
Posts: 1,108
Threads: 70
Joined: Aug 2009
Found this, works pretty well. just need to find a way to include our components into the JS array.
http://www.kuba.co.uk/blog.php?blog_id=15