Page 1 of 1

Ckeditor 4.62 unter XH 1.6.10

Posted: Mon Nov 13, 2017 6:52 pm
by cmss
Ich bekomme beim Ckeditor 4.62 -XH 1610 - immer mit eingeschaltetem XH-debug die Meldung (der Editor geht aber)

NOTICE: Undefined index: fa
H:\Xampp718\x718\htdocs\xh1610clea2_\plugins\ckeditor\init.php:75

Darin steht

75 : if ($plugin_cf['fa']['require_auto'] && is_readable($pluginpath)) {

Wer hat eine Idee ?

Re: Ckeditor 4.62 unter XH 1.6.10

Posted: Mon Nov 13, 2017 7:06 pm
by olape
Ich arbeite nicht mit dem Ckeditor, aber mal so von der Meldung her sieht es aus, als ob er das fa-Plugin sucht.

Re: Ckeditor 4.62 unter XH 1.6.10

Posted: Tue Nov 14, 2017 10:26 am
by Holger
Ja, hier schaut CKEditor ob es das Fa_XH-Plugin integrieren soll, prüft aber nicht, ob es überhaupt installiert ist. Das ist natürlich Quatsch.

Fix für Zeile 75:

Code: Select all

 if (isset($plugin_cf['fa']) && $plugin_cf['fa']['require_auto'] && is_readable($pluginpath)) { 

Re: Ckeditor 4.62 unter XH 1.7.2

Posted: Tue May 19, 2020 6:18 am
by Korwin
When working with CKEditor version 4.62 under CMSimple_XH 1.72, I found two inconvenient things.

First, the indent at the beginning of the article is too large.

Second, the font in the code editing field is too small.

I understand that this should be edited somewhere in the settings or in css, but where exactly?

Re: Ckeditor 4.62 unter XH 1.6.10

Posted: Tue May 19, 2020 10:17 am
by cmss
Ckeditor4.62 under XH1.6.10 is not ckeditor 4.14 - (neither is an old tinymce comparable with 4.83 - tinymce up to 4.90 has a moderate XSS vulnerability) - which You can extract out of the clean XH version(github.com/g7sim). In the same git is also a plugin for FA4.7+5.13.
Can You check if this version has equal problems at 1.6.10 ? I find fonts between 12 und 14.4 px - depending upon the template ( p {font-size:15px; color:black;} https://htmlcolorcodes.com/tutorials/html-text-color/ in the stylesheet helps evtl. You can also use rem and em depending upon the framework. )

Re: Ckeditor 4.62 unter XH 1.7.2

Posted: Tue May 19, 2020 10:44 am
by lck
Korwin wrote:
Tue May 19, 2020 6:18 am
Second, the font in the code editing field is too small.
The editors transfer the styles from the stylesheet.css to the template. Important here are also the specifications for body {...}.
Korwin wrote:
Tue May 19, 2020 6:18 am
First, the indent at the beginning of the article is too large.
If it is ul's or ol's, this must be specified explicitly to display it in the editors in the same way as in the frontend.
Example ul li:before for TinyMCE and CKEditor:

Code: Select all

.lck_content ul li:before,
#tinymce ul li:before,
.cke_editable ul li:before {
	...
}

Re: Ckeditor 4.62 unter XH 1.6.10

Posted: Tue May 19, 2020 1:24 pm
by Korwin
cmss wrote:
Tue May 19, 2020 10:17 am
Ckeditor4.62 under XH1.6.10 is not ckeditor 4.14 - (neither is an old tinymce comparable with 4.83 - tinymce up to 4.90 has a moderate XSS vulnerability) - which You can extract out of the clean XH version(github.com/g7sim). In the same git is also a plugin for FA4.7+5.13.
Can You check if this version has equal problems at 1.6.10 ? I find fonts between 12 und 14.4 px - depending upon the template ( p {font-size:15px; color:black;} https://htmlcolorcodes.com/tutorials/html-text-color/ in the stylesheet helps evtl. You can also use rem and em depending upon the framework. )
Many thanks, cmss! This version of CKEditor 4.7.3 works for some reason better, the buttons are colored, which is unusual, the top indent above the text of the article is just as big, but I will understand! The most important and unexpected gift from you is the working version of codeeditor!

Re: Ckeditor 4.62 unter XH 1.6.10

Posted: Wed May 20, 2020 5:38 pm
by cmss
If You dont like colored buttons - they are adjustable in plugins - > ckeditor -> configuration -> skin.
At https://ckeditor.com/cke4/addons/skins/all You can get more skins

If the top-margin within the content is always (also in preview) too big - then You can look at the container (firefox -> right mousekey -> inspect element ) or a similar element like <div id="content" class="content"> (dependent upon the template). There You look at its specific class and add to the class : .class1{margin-top:-10px;}

Re: Ckeditor 4.62 unter XH 1.6.10

Posted: Wed May 20, 2020 9:57 pm
by Tata
I have shortly installed the tinymce5 and tested both this tinymce version and the CKEditor. My final decission is to staz with the tinymce4. Seems to me to be the best, the simpliest (easier adjustable) than the other two.