Item1397: Typewriter-Formatting does not work in tables

Priority: Normal
Current State: Closed
Released In: 1.0.6, 1.1.0
Target Release: patch
Applies To: Engine
Component: WysiwygPlugin
Reported By: MartinSeibert
Waiting For:
Last Change By: KennethLavrsen
See this video for a demonstration.

Sample code

---+ The DOS-Box

| command | result |
| dir     | show directory   |
| set     | show environment |

Information about the tested instances and browser

Testing environments:


This is symptomatic of formatting inside tables, which is a well known and largely intractable problem. Confirmed. The problem is in the WysiwygPlugin which is not mapping back to TML correctly.

-- CrawfordCurrie - 02 Apr 2009

There are a few aspects to the problems shown in the video and I would like to tease them apart.
  1. Selecting the content of a table cell in TMCE and applying "typewriter text" does not work.
    • It does not work because selecting all the text in the cell with the keyboard and applying "typewriter text" gives the following HTML <td class="WYSIWYG_TT">text</td> in both 1.0.0 and on trunk with new TMCE
    • Applying "typewriter text" to content in the middle of a cell (i.e. with other text before and after in the same cell) does work.
    • Applying "typewriter text" to content at the beginning or end of a cell does not work. 1.0.0's TMCE produces sensible HTML i.e. <td><span class="WYSIWYG_TT">text</span> other text</td> but WysiwygPlugin converts that to <span>text</span> other text. (Trunk's TMCE adds a non-breaking space, but WysiwygPlugin produces the same TML.)
  2. Applying wiki markup in WYSIWYG mode
    • This should probably not work, but I like the fact that it does work.
    • Expect surprises if you mix TML and WYSIWYG on the same text.

-- MichaelTempest - 03 May 2009

ItemTemplate edit

Summary Typewriter-Formatting does not work in tables
ReportedBy MartinSeibert
Codebase 1.0.0
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component WysiwygPlugin
Priority Normal
CurrentState Closed
Checkins distro:9582db3c28f7 distro:7994916e3184 distro:fd1dc54a2004
TargetRelease patch
ReleasedIn 1.0.6, 1.1.0
Topic revision: r12 - 22 Jun 2009, 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