![]() |
Share: Codemirror for CKEditor source or Page editor - 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: Share: Codemirror for CKEditor source or Page editor (/showthread.php?tid=4409) |
Share: Codemirror for CKEditor source or Page editor - ceva - 2013-03-03 I'm new to GetSimple and this is my first time to use it. GetSimple is indeed simple to use, love it! I want to share how to use Codemirror for CKeditor source. Since I don't know the GetSimple change from each version, for information, I use GetSimple 3.2.0. This is the screenshot when we done: The step is:
Use Codemirror if HTML Editor is disabled. This is the screenshot when we done:
I'm not fully understand -yet- how to make a plugin for this share. So I decide to share it with manual modification. If someone can make a plugin for this, feel free to do it. RE: Share: Codemirror for CKEditor source or Page editor - Connie - 2013-03-03 Thank you for your infos! This would be a fine topic for the WIKI, as we already show a HowTo for the Editor with the Syntaxhighlighter from Alex Gorbachev, http://alexgorbatchev.com/SyntaxHighlighter see here http://get-simple.info/wiki/how_to:editor_configuration_syntaxhighlight I think we should add this info to the WIKI in the near future, as the WIKI gets overwhauled in the moment RE: Share: Codemirror for CKEditor source or Page editor - ceva - 2013-03-15 Thank you and feel free to put it in WIKI. I hope it will usefull for other user. RE: Share: Codemirror for CKEditor source or Page editor - kohai - 2013-06-07 A life saver ! Tip worked great ![]() Thx a bunch RE: Share: Codemirror for CKEditor source or Page editor - shawn_a - 2013-06-07 Or just install Stable patched to ckeditor to 4.1 branch https://github.com/GetSimpleCMS/GetSimpleCMS/wiki/testing RE: Share: Codemirror for CKEditor source or Page editor - kohai - 2013-06-08 I don't know for the patch ( not tested yet ), but along with CEVA's tips, i add to edit edit.php where CKEditor is attached to the text area. It kept stripping html tags ![]() So i added : {...} var editor = CKEDITOR.replace( 'post-content', { skin : 'moono', allowedContent: true, forcePasteAsPlainText : true, {...} Seems to fix it. RE: Share: Codemirror for CKEditor source or Page editor - lnickel - 2014-11-20 Shawn....I downloaded the latest 3.34 GS. I cannot get the codemirror syntax highlighter to work. I thought that the patch_cke was merged in that enabled the source highlighting in the cke editor? Any thoughts? Did I forget to init it or something? RE: Share: Codemirror for CKEditor source or Page editor - shawn_a - 2014-11-20 patch_cke is a separate branch, under other downloads RE: ShaCodemirror for CKEditor source or Page editor - lnickel - 2014-11-20 (2014-11-20, 03:26:33)shawn_a Wrote: patch_cke is a separate branch, under other downloads Ok thanks! |