TinyMCE 4 and XH 1.7.1

Questions about how to use the online - editors and suggestions how to improve them
Post Reply
Bob
Posts: 120
Joined: Sat Jun 14, 2008 8:30 am
Location: France
Contact:

TinyMCE 4 and XH 1.7.1

Post by Bob » Wed Dec 20, 2017 2:45 pm

Hello,
I'm giving you a little feedback on my use of the TinyMCE 4 editor with CMsimple_XH 1.7.1 (hopefully these problems haven't already been described and I'm not driving open doors). ;)

1/ For each record with the editor, 1 empty line is added in front of the concerned page and 2 empty lines on all other pages! The "content" file therefore grows very quickly.

2/ JS scripts calls are deleted by the editor. Ex:

Code: Select all

<script src="./addons/myscript.js"></script>
Problem that can be solved in "inits" files with the property:

Code: Select all

extended_valid_elements : 'script[language|type|src]'
3/ An error on the call of the "inserttime" button in toolbarX which should be called "insertiontdatetime".
Cheers.
Bob

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

Re: TinyMCE 4 and XH 1.7.1

Post by olape » Wed Dec 20, 2017 3:29 pm


Bob
Posts: 120
Joined: Sat Jun 14, 2008 8:30 am
Location: France
Contact:

Re: TinyMCE 4 and XH 1.7.1

Post by Bob » Wed Dec 20, 2017 9:09 pm

Thx Olape!

For 3/ exact term is "insertdatetime".

cmb
Posts: 12205
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: TinyMCE 4 and XH 1.7.1

Post by cmb » Wed Dec 20, 2017 10:04 pm

Bob wrote:2/ JS scripts calls are deleted by the editor
That's TinyMCE's default – I'm not sure if we should change it. There have been some support questions regarding this issue – on the other hand, I presume nonetheless that only few users want to insert JavaScript on a page.
3/ An error on the call of the "inserttime" button in toolbarX which should be called "insertiontdatetime".
Thanks. That's certainly a bug.
Christoph M. Becker –Plugins for CMSimple_XH, but not for CMSimple 4+

Post Reply