Schriften hinzufügen im tinymce
Schriften hinzufügen im tinymce
Hallo, ist es irgendwie möglich statt der Standartschriften noch weitere wie Stencil einzufügen?
Re: Schriften hinzufügen im tinymce
Hallo,
man kann (ohne in den Core zu gehen) nichts hinzufügen, aber seine Schriftarten komplett definieren, also die default Werte komplett überschreiben.
TinyMCE 3: http://www.tinymce.com/wiki.php/Configu ... nced_fonts
TinyMCE 4: http://www.tinymce.com/wiki.php/Configu ... nt_formats
Das ganze ist eine Zeile in der entsprechenden init Datei, die Du in der CMS Konfiguration aktiviert hast, z. B.:
./plugins/tinymce/inits/init_narrow.js
Am Ende muss ein Komma sein, wenn es nicht die letzte Zeile ist, Beispielzeile:
Es werden ganze font-families definiert, durch Semikolon getrennt. Das ist wichtig, denn Du kannst hier jede Schriftart der Welt definieren, nur ob der Besucher die zu sehen bekommt, ist ungewiss. Deshalb sind Fallbacks zu "websicheren" Schriften wie Arial oder Times New Roman wichtig, der letzte Fallback ist dann immer serif, sans serif oder monospace.
Bei der Gelegenheit solltest Du gleich auf den TinyMCE 4 updaten:
http://www.cmsimple.org/?Downloads___Up ... en_TinyMCE
Gert
man kann (ohne in den Core zu gehen) nichts hinzufügen, aber seine Schriftarten komplett definieren, also die default Werte komplett überschreiben.
TinyMCE 3: http://www.tinymce.com/wiki.php/Configu ... nced_fonts
TinyMCE 4: http://www.tinymce.com/wiki.php/Configu ... nt_formats
Das ganze ist eine Zeile in der entsprechenden init Datei, die Du in der CMS Konfiguration aktiviert hast, z. B.:
./plugins/tinymce/inits/init_narrow.js
Am Ende muss ein Komma sein, wenn es nicht die letzte Zeile ist, Beispielzeile:
Code: Select all
font_formats: "Arial=arial,helvetica,sans-serif;Georgia=georgia,serif;Times New Roman=times new roman,serif;Courier New=courier new,courier,monospace;Stencil=stencil,arial,sans-serif",
Bei der Gelegenheit solltest Du gleich auf den TinyMCE 4 updaten:
http://www.cmsimple.org/?Downloads___Up ... en_TinyMCE
Gert
Re: Schriften hinzufügen im tinymce
Hello,
on CMSimple 4.7 Released: 2017-03-16 version, when i set on normal text (paragraph) bigger text size or something else
after SAVE all disappear and font size is as normal text.
This is normal behavior ?
on CMSimple 4.7 Released: 2017-03-16 version, when i set on normal text (paragraph) bigger text size or something else
after SAVE all disappear and font size is as normal text.
This is normal behavior ?
---------------------------------------------------------------
Life is Cimple
Life is Cimple
Re: Schriften hinzufügen im tinymce
I found the problem is not in font size etc. but in brackets.
all attempt to enter additional code will result in this
all attempt to enter additional code will result in this
Code: Select all
<h1>Contact</h1>
<div>For more details <span style=\"font-size: 36px;\">Click here</span> </div>
---------------------------------------------------------------
Life is Cimple
Life is Cimple
Re: Schriften hinzufügen im tinymce
No, and I can not reproduce that, look here (leftside of the image):zeman wrote:This is normal behavior ?
https://ge-webdesign.de/demosplit/?Welcome_to_CMSimple
You mean slashes?zeman wrote:I found the problem is not in font size etc. but in brackets.
Which php version is running on your server? What is the "magic_quotes_gpc" setting? This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0:
http://php.net/manual/en/security.magicquotes.php
If it is a magic_quotes_gpc problem, please contact your provider. If you are allowed, upgrade your php version to 5.6 or higher (best is php 7++), and the problem should be gone,
Gert
Re: Schriften hinzufügen im tinymce
Yes you are right, sir.
I meant slashes and PHP is 5.3.something so I will fix that.
I will try continue in investrigation as another instance of cmsimple is working well.
Thank you.
I meant slashes and PHP is 5.3.something so I will fix that.
I will try continue in investrigation as another instance of cmsimple is working well.
Thank you.
---------------------------------------------------------------
Life is Cimple
Life is Cimple
Re: Schriften hinzufügen im tinymce
Is this an older CMSimple, with an older Editor? Maybe TinyMCE 3.x.y ?zeman wrote:I will try continue in investrigation as another instance of cmsimple is working well.
Re: Schriften hinzufügen im tinymce
Update to the latest branch solved the issue.
---------------------------------------------------------------
Life is Cimple
Life is Cimple