Page 1 of 1

WYSIWYG editors clear certain HTML/CSS tags

Posted: Thu May 16, 2019 10:09 am
by Huhu
Logged in as Administrator, with filters switched off and only the Serendipity and NL2BR Formatting active (meaning that nothing should be filtered or stripped off the code), the WYSIWYG editors clear certain tags.

1. CKG editor clears the complete

Code: Select all

<iframe>...</iframe>
of Google map embeds.

2 a. S9y's built-in editor clears certain "style=" tags, like

Code: Select all

<p style="clear: both">
which will result in a simple

Code: Select all

<p>
for example (also in Source Code view).
Note that it does not clear all "style"-tags, image resizing through "style" works fine, for example.

2 b. Strangely, when I switched from S9y WYSIWYG to Source Code only in the User Options, the missing style tags suddenly reappeared (this might be a strange cache issue, though).

Re: WYSIWYG editors clear certain HTML/CSS tags

Posted: Sun May 19, 2019 9:39 am
by Afaque
Hi New to s9y here...figuring out still...as far as I understand the bug for now i think you have to change plugins author from ALL Authors to Site owner to not get html/css tags to be cleared.Still newbie sorry if i was wrong!

Re: WYSIWYG editors clear certain HTML/CSS tags

Posted: Mon May 20, 2019 9:03 am
by Huhu
The core WYSIWYG editor is not a plug-in afaik, therefore the owner can't be changed, sorry.
it could be Serendipity's Text Formatting plug-in which messes around, though. That could be changed.
But thanks for the reply.