Interaction of Wysiwyg and Input Filters

Created on 7 August 2011, over 13 years ago
Updated 3 December 2023, about 1 year ago

Can you please explain how this works, since I am confused?

I understood that information entered into a text field was written directly to the database, and then passed through the Input Filter when the page was subsequently viewed.

However, I have finally worked out that when using Wysiwyg plus an editor, the Filter settings change what is written to the database when the page is saved. In fact it happens before the page is saved, since if I examine the HTML using the editor's "Source Code" button the style attributes concerned (in this case attributes on the table tag) have disappeared; even though they are being displayed on the screen at the time.

I believe that this occurs in the Wysiwyg module, since I get the same effect with two different editors.

Can you confirm that my understanding is now correct, or give a reference to a more detailed explanation?

With thanks,
Tony Maynard-Smith.

💬 Support request
Status

Fixed

Version

2.4

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024