• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4700: Problem editing tables with col spans in TinyMCE

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension WysiwygPlugin Urgent Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

I've just installed TWiki 4.2.0 beta 1 and tried to edit some of my existing pages from older TWiki. I've set priority to Urgent as told in Blog for beta 1 tests.

First of all: The new editor looks very good! And it's also a good idea to have this editor as default editor.


But here my problem raises. Editing an old page with a table that has some column spans (double pipe sign without blanks) will leave this table rows be corrupted after saving with TMCE.

I also tried to edit the table again in TMCE and merge the cells again. After saving the page, the table looks good again. But editing it again in TMCE and saving the column span is lost again.

After that corruption I've looked into the raw text and have seen that the double pipe sign without blanks than has a blank inside after second save.

Here is a example table, created inside TMCE 2 rows, 2 cells. Then I've merged the first two cells.

| *the head line* ||
| a cell | another cell |

the head line
a cell another cell

For a test, just edit this page and save it in TMCE. The spanned head line will be then again only in the left cell. The result then looks like this:

| *the head line* | |
| a cell | another cell |

the head line  
a cell another cell

-- TWiki:Main/StefanScherer - 22 Sep 2007

You have no idea how much I hate TWiki's way of handiling tables!

ex per iment
exper iment
expe riment
  exper iment

Oh, joy. I faithfully reproduced TWiki's way of generating tables (after all this is supposed to be WYSIWYG) but it emerges that what TWiki generates in HTML is not what you ask for. See the example above.

-- TWiki:Main.CrawfordCurrie - 23 Sep 2007

That should be more intuitive now.

CC

Just tested with TWiki 4.2.0 beta2. The colspan now works in TMCE.

Thanks for fixing this!

-- TWiki:Main.StefanScherer - 03 Oct 2007

ItemTemplate
Summary Problem editing tables with col spans in TinyMCE
ReportedBy TWiki:Main.StefanScherer
Codebase 4.2.0
SVN Range TWiki-4.3.0, Sat, 22 Sep 2007, build 14996
AppliesTo Extension
Component WysiwygPlugin
Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:15077 TWikirev:15078
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2007-10-03 - StefanScherer
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback