You are here: Foswiki>Tasks Web>Item11603 (11 Apr 2012, GeorgeClark)Edit Attach

Item11603: Protect inline script and style tags from wysiwyg

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.5
Target Release: patch
Applies To: Extension
Component: WysiwygPlugin
Branches: Release01x01 trunk
Reported By: SvenDowideit
Waiting For:
Last Change By: GeorgeClark
when users have script and styles in a topic, wysiwyg plugin makes a mess of them.

ideally they should just be treated the same way as verbatim.

but at least WYSIWYG_EXCLUDE should disable it.

I note that the docco for this setting is bizarre.

-- SvenDowideit - 05 Mar 2012

I've changed this to make certain tag blocks automatically sticky, using the following setting
   * Set WYSIWYGPLUGIN_PROTECT_TAG_BLOCKS = script,style

I think disabling wysiwyg automatically is a bit risky.

-- GeorgeClark - 03 Apr 2012
 
Topic revision: r12 - 11 Apr 2012, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy