Actions
Bug #83639
openCKEditor: Using "data-cke-pa-onclick" to generate onclick attribute
Status:
New
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2018-01-22
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Following looks like a bug to me:
I wanted to add an onclick attribute to an <a> tag.
As CKEditor uses onclick-Events it's recommend (or even necessary?) to use data attributes like
data-cke-pa-onclick
which should be parsed on output.
In the backend this gets parsed on save, so after saving the record I have <a onclick="something">.
Once I save this record then again (e.g. editors change some text in this record), the onclick gets removed as it's not allowed here.
Actions