Item12848: Two tables in a row unexpectedly merge to one table

pencil
Priority: Low
Current State: Confirmed
Released In: n/a
Target Release:
Applies To: Extension
Component: WysiwygPlugin
Branches:
Reported By: LeilaPearson
Waiting For:
Last Change By: GeorgeClark
For WYSIWYG users, if they insert a table and then another table, it looks like two tables in WYSIWYG mode... until they save at which point the two tables collapse down to a single table. This is unexpected behavior and hard to fix after the fact without going into wiki text mode (which non-technical users avoid).

See EditTest20 for an example on Foswiki 1.1.9 or http://trunk.foswiki.org/Sandbox/EditTest20 on trunk.

-- LeilaPearson - 04 Apr 2014

Confirming this. We need to insert an extra blank line between tables when converting consecutive tables. Unfortunately the round trip between TML and HTML is quite difficult at times especially because HTML generally ignores white space, and TML requires and is delimited by it.

This is an area where we've had a lot of difficulties. Inserting an extra blank line on save, and removing them when editing is rather inexact, and we get into issues with growing or shrinking white space after consecutive saves.

-- GeorgeClark - 08 Apr 2014
 

ItemTemplate edit

Summary Two tables in a row unexpectedly merge to one table
ReportedBy LeilaPearson
Codebase 1.1.9, trunk
SVN Range
AppliesTo Extension
Component WysiwygPlugin
Priority Low
CurrentState Confirmed
WaitingFor
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r2 - 08 Apr 2014, 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