2 x TinyMCE

CMSimple 4.0 und höher
Post Reply
Gert
Posts: 2075
Joined: Sun 18. Nov 2012, 14:18

2 x TinyMCE

Post by Gert »

Image Hallo,

2 neue Editoren für CMSimple stehen zum Download bereit:

TinyMCE 4.5.7 2022
TinyMCE 4.9.11 2022

Folgendes ist bei beiden Editoren neu:
  •   ­ ‌ und ‍ werden in der Quelltextansicht als html Entities angezeigt. Bisher wurden die in der Quelltextansicht angezeigt wie im normalen Editiermodus oder im Frontend.
  • Die teilweise sinnlose Auswahl der Schriftarten habe ich mit font_formats: überschrieben.
  • Ein neues TinyMCE Plugin erstellt einen Toolbar-Button, der ein ‍ einfügt, das ist ein geschütztes Leerzeichen, das keinen Platz einnimmt. Diesen Button habe ich in die full- und medium-inits eingefügt, rechts neben dem Button für  
  • Das Tabellenplugin erzeugt jetzt unformatierte Tabellen. Tabellen sehen jetzt im Editor genauso aus wie im Frontend. Einzige Ausnahme: Hat die Tabelle keine Rahmen, werden im Editor zur besseren Orientierung gestrichelte Rahmen angezeigt.

Bekannter Unterschied:

Der TinyMCE 4.9.11 2022 erzeugt beim Einfügen von Texten aus Leerzeilen Absätze, das ist vorteilhaft, wenn man seine Texte in einem Text- oder Codeeditor vorschreibt und Pseudo-Absätze mit 2 x [enter] erzeugt.

Der TinyMCE 4.5.7 2022 erzeugt in diesem Fall Leerzeilen (<br><br>), das ist vorteilhaft wenn man viel Code postet.

Download: https://www.cmsimple.org/?Downloads___Editoren_TinyMCE

Viel Spass - Gert

==========================================================

Image Hello,

2 new editors for CMSimple are available for download:

TinyMCE 4.5.7 2022
TinyMCE 4.9.11 2022

The following is new for both editors:
  • &thinsp; &shy; &zwnj; and &zwj; are displayed as html entities in the source view. Previously, they were displayed in source view as in normal edit mode or frontend.
  • I have overwritten the partly senseless selection of fonts with font_formats:
  • A new TinyMCE plugin creates a toolbar button that inserts a &zwj; which is a protected space with no width. I inserted this button in the full and medium inits, to the right of the button for &nbsp;
  • The table plugin now creates unformatted tables. Tables now look the same in the editor as they do in the frontend. The only exception is that if the table has no borders, dashed borders are displayed in the editor for better orientation.

Known difference:

The TinyMCE 4.9.11 2022 creates paragraphs from blank lines when inserting text , which is advantageous if you prewrite your text in a text or code editor and create pseudo-paragraphs with 2 x [enter].

The TinyMCE 4.5.7 2022 generates blank lines in this case (<br><br>), which is advantageous if you post a lot of code.

Download: https://www.cmsimple.org/en/?Downloads_ ... rs_TinyMCE

Have fun - Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Gert
Posts: 2075
Joined: Sun 18. Nov 2012, 14:18

Re: 2 x TinyMCE

Post by Gert »

Hallo,

es gab ja inzwischen doch einige Downloads der neuen TinyMCE Editoren, also scheinen sich ein paar Leute damit zu beschäftigen.

Folgende Gründe sprechen dafür, nächste Woche mit CMSimple 5.7 den TinyMCE 4.9.11 zum Standard zu machen:

1. Version 4.9.11 hat mehr als doppelt so viele Downloads gegenüber Version 4.5.7, scheint also interessanter zu sein.

2. Wer viel Code im copy&paste Verfahren veröffentlicht, ist oft ein versierter Webworker und hat eher kein Problem damit, den Editor auszutauschen und auf Version 4.5.7 umzusteigen.

Wenn hier nichts mehr kommt, kommt also CMSimple 5.7 mit TinyMCE 4.9.11,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Archiv-Köln-Nippes
Posts: 3
Joined: Mon 7. Feb 2022, 19:46

Re: 2 x TinyMCE

Post by Archiv-Köln-Nippes »

Hallo Gert,

ich hätte da noch einen Verbesserungsvorschlag kosmetischer Natur.
Nach dem Update habe ich im PlugIn-Manager aus Neugier auf "tinymce" geklickt. Dort wurden mir folgende Daten angezeigt:
Plugin-Version: 2.3
TinyMCE-Version: 4.5.7
Released: 2017-04-29

Wie gesagt: reine Kosmetik, der Editor ist aktuell, erkennbar schon an "zwj" und "shy".
Vielleicht kann man das ja in einer der nächsten Versionen aktualisieren... ;)

Viele Grüße
Harald Niemann
Archiv für Stadtteilgeschichte Köln-Nippes e.V.
http://www.archiv-koeln-nippes.de/
Last edited by Archiv-Köln-Nippes on Thu 26. May 2022, 18:23, edited 1 time in total.
Archiv für Stadtteilgeschichte Köln-Nippes e.V.
http://www.archiv-koeln-nippes.de
Gert
Posts: 2075
Joined: Sun 18. Nov 2012, 14:18

Re: 2 x TinyMCE

Post by Gert »

Hallo Harald,

vielen Dank für den Hinweis.
Archiv-Köln-Nippes wrote: Fri 29. Apr 2022, 14:01 Vielleicht kann man das ja in einer der nächsten Versionen aktualisieren ...
In solchen Fällen verstosse ich gerne mal gegen alle Konventionen und aktualisiere die Downloads still und leise, ohne eine neue Version :oops:

Und das habe ich gerade mit allen CMSimple- und TinyMCE-Downloads gemacht ;)

Ein schönes Wochenende an alle - Gert

PS: Deine Links funktionieren nicht - ist das Absicht? Wenn nicht, dann muss das http:// davor.
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Archiv-Köln-Nippes
Posts: 3
Joined: Mon 7. Feb 2022, 19:46

Re: 2 x TinyMCE

Post by Archiv-Köln-Nippes »

Hallo Gert,

Sorry für die verspätete Reaktion und Danke für den Hinweis. Natürlich war das keine Absicht :oops:, ich habe den Link jetzt korrigiert :roll:.

Viele Grüße
Harald
Archiv für Stadtteilgeschichte Köln-Nippes e.V.
http://www.archiv-koeln-nippes.de
Archiv für Stadtteilgeschichte Köln-Nippes e.V.
http://www.archiv-koeln-nippes.de
Post Reply