Toggle CKEditor - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Scripts & Components (http://get-simple.info/forums/forumdisplay.php?fid=11) +--- Thread: Toggle CKEditor (/showthread.php?tid=776) |
Toggle CKEditor - pauloc - 2010-06-04 Hi Zegnåt, could you tell us how do you have implemented the CKEditor toggle button that you show in your signature's video? http://zegnat.net/CKEditorDemo.mov Please, please, please 8-) Toggle CKEditor - Zegnåt - 2010-06-04 I can tell you how, it’s done with some JQuery magic ;-) 51 lines of it, so far (including whitespace and formatting). It’s way to buggy to even consider using it, unless you’re using the exact same set-up I am it will probably malfunction. I’ll release it if I can get it more stable, or in case I will not be working on it at all so someone else can pick it up. Toggle CKEditor - pauloc - 2010-06-04 Ok, thanks anyway. I thought it could be easier. Toggle CKEditor - Zegnåt - 2010-06-04 Example of buggyness: For some reason Chrome on Windows doesn’t show the editor at all. The console shows some sort of error with the getsimple CKEditor theme which is weird because CKEditor works without a problem when editing a page. It’s problems like these that are keeping me from putting it online because I know for sure people are going to bug me about that. Toggle CKEditor - brucealdridge - 2010-11-16 function toggleCKedit() { if (ck) { ck.destroy(); ck = false; }else{ ck = CKEDITOR.replace(document.getElementById('id'); } } |