Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: speck on May 24, 2013, 18:17:22

Title: Old style classes of ck editor [solved]
Post by: speck on May 24, 2013, 18:17:22
new editor don't like.
don'like it because use template.css
dont like because when i create a table i don't see the division lines of td

how can to do to use ck editor how was on elxis 4.0  ???
********************************************
replaced all files of new ckeditor with all old files of elxis.4,0
comment two lines in editor.helpers  ;D

ohhhh is nice to see the bakground of editor all white and have all black characters with border of table how was before  ;)
Title: Re: Old style classes of ck editor [solved]
Post by: grayarti on May 25, 2013, 21:00:44
Hi Speck, I am finding myself making exactly the same observations as you!!
... can you be more specific on how you 'downgraded' to the 4.0 version?  I, too,
tried substituting the ckeditor directory, but without solving the problem.
... where are these "editor.helpers" lines, exactly?
... thanks!
Title: Re: Old style classes of ck editor [solved]
Post by: speck on May 26, 2013, 14:56:24
editor.helper.php in libraries/elxis

lines 110, mark all these instructions
Code: [Select]

if ($this->type == 'html') {
$this->options['contentsCss'] = '[\''.$elxis->secureBase().'/templates/system/css/standard.css\', \''.$elxis->secureBase().'/templates/'.$elxis->getConfig('TEMPLATE').'/css/template.css\']';
}
is not necessarily to replace old files of ckeditor, but not replace the old config_full.js in ckeditor folder with the new,
the problem is if u modify the editor.helper.php, with the new config_full.js u see all mixed   :o

and finally, with my happiness, the editor re-born how was before  ;D
Title: Re: Old style classes of ck editor [solved]
Post by: grayarti on May 30, 2013, 21:36:07
Well done Speck!!
... Thanks for that tip which makes the editor much more usable!