Item1667: Edits to protected text insert unwanted sticky tags

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Extension
Component: WysiwygPlugin
Branches:
Reported By: MichaelTempest
Waiting For:
Last Change By: KennethLavrsen
If I insert a new line in protected text in TMCE, the TML ends up with </sticky> <sticky> where the linebreak was inserted.

For example, suppose I start with this:
<sticky>
First Line
Last Line
</sticky>

If I insert a new line in between, using TMCE, I get this:
<sticky>
First Line</sticky> <sticky>New Line
Last Line
</sticky>

This is especially problematic in conjunction with plugins like the DirectedGraphPlugin, where the <sticky> text is actually code.

Foswiki should collapse adjacent "sticky" regions, just like it does for verbatim regions.

-- MichaelTempest - 27 May 2009

ItemTemplate edit

Summary Edits to protected text insert unwanted sticky tags
ReportedBy MichaelTempest
Codebase trunk
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component WysiwygPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:1e356b5bd5ff distro:d33b9beb0fd5
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r5 - 04 Oct 2010, KennethLavrsen
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