Ckeditor 4.62 unter XH 1.6.10

Questions about how to use the online - editors and suggestions how to improve them
Post Reply
cmss
Posts: 244
Joined: Mon Jan 02, 2017 6:15 pm

Ckeditor 4.62 unter XH 1.6.10

Post by cmss » Mon Nov 13, 2017 6:52 pm

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 ?

olape
Posts: 2713
Joined: Fri Mar 13, 2015 8:47 am
Contact:

Re: Ckeditor 4.62 unter XH 1.6.10

Post by olape » Mon Nov 13, 2017 7:06 pm

Ich arbeite nicht mit dem Ckeditor, aber mal so von der Meldung her sieht es aus, als ob er das fa-Plugin sucht.
Gruß Olaf, Plugins for CMSimple_XH

Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.

Holger
Site Admin
Posts: 3470
Joined: Mon May 19, 2008 7:10 pm
Location: Hessen, Germany

Re: Ckeditor 4.62 unter XH 1.6.10

Post by Holger » Tue Nov 14, 2017 10:26 am

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)) { 

Korwin
Posts: 118
Joined: Sat Oct 13, 2018 3:27 pm
Location: Russia, Yekaterinburg
Contact:

Re: Ckeditor 4.62 unter XH 1.7.2

Post by Korwin » Tue May 19, 2020 6:18 am

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?
Last edited by Korwin on Tue May 19, 2020 1:25 pm, edited 1 time in total.

cmss
Posts: 244
Joined: Mon Jan 02, 2017 6:15 pm

Re: Ckeditor 4.62 unter XH 1.6.10

Post by cmss » 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. )

lck
Posts: 2955
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Ckeditor 4.62 unter XH 1.7.2

Post by lck » Tue May 19, 2020 10:44 am

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 {
	...
}
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Korwin
Posts: 118
Joined: Sat Oct 13, 2018 3:27 pm
Location: Russia, Yekaterinburg
Contact:

Re: Ckeditor 4.62 unter XH 1.6.10

Post by Korwin » Tue May 19, 2020 1:24 pm

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!

cmss
Posts: 244
Joined: Mon Jan 02, 2017 6:15 pm

Re: Ckeditor 4.62 unter XH 1.6.10

Post by cmss » Wed May 20, 2020 5:38 pm

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;}

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Ckeditor 4.62 unter XH 1.6.10

Post by Tata » Wed May 20, 2020 9:57 pm

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.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply