WYSIWYG editors clear certain HTML/CSS tags

Found a bug? Tell us!!
Post Reply
Huhu
Regular
Posts: 123
Joined: Tue Oct 04, 2011 3:22 pm

WYSIWYG editors clear certain HTML/CSS tags

Post by Huhu » Thu May 16, 2019 10:09 am

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).
Fan of post-apocalyptic Jugger: Free ebook on the sport

Afaque
Posts: 1
Joined: Sun May 19, 2019 9:35 am

Re: WYSIWYG editors clear certain HTML/CSS tags

Post by Afaque » Sun May 19, 2019 9:39 am

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!

Huhu
Regular
Posts: 123
Joined: Tue Oct 04, 2011 3:22 pm

Re: WYSIWYG editors clear certain HTML/CSS tags

Post by Huhu » Mon May 20, 2019 9:03 am

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.
Fan of post-apocalyptic Jugger: Free ebook on the sport

Post Reply