GetSimple Support Forum

Full Version: Replacing the CKeditor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm wondering if it is possible to replace the built-in CKeditor with a different editor, and if possible, how do I do this (step-by-step instructions)?

Ultimately, I'd like to be able to do this from within a plugin that I will build for this purpose.

The editor I would like to use is:
http://bootpages.com/LiveEditor/default.htm

Any help is greatly appreciated. Thanks

~john.
step by step for a programmer or laymen ?

not really either, but you could simply destroy the ckeditor instance and hook your own editor to the textarea however you please.
Have you seen this plugin for TinyMCE?
http://get-simple.info/extend/plugin/tinymce/200/
shawn_a,
programmer. How would I go about destroying the CKeditor instance? JavaScript is not my strong point. What hooks are available to use to be able to pull in my own editor? Looking at edit.php, I saw "exec_action('edit-content');" but I couldn't get a plugin to hook there for some reason.

Timbow,
I'll look into that plugin and see how its done there. Should be able to get some idea from it.

Edit: Might have just figured it out. I was using add_filter() in my plugin. Instead I should have been using add_action(). Whoops!
I guess you could override the $HTMLEDITOR global to prevent ckeditor from even being output.
Then insert your own editor whereever you want, footer hook etc.

I forget how to destroy the cke instance but it should be easy to google.
In drupal there's a project which makes it possible to integrate several editors. I find only Ckeditor (and source-view in it without buttons) restrictive. I would personally like to use Markitup as editor.