• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 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.

Item5083: Cannot save colors in tables

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TinyMCEPlugin Urgent No Action Required   n/a  

Edit Form Data

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

Detail

Well i hope I am right in here with this bug.

I am not sure if anyone could reproduce the same error.

I am using TinyMCE and it works fine at first but now when i insert a table and wanna change the Color with "Table Row Properties" the color is not saved.

Whatever i do its a simple TML Table and no color in it onlythe normal Wiki Colors from the Preferences...

I am not sure if its the WysiwygPlugin fault ?

Well i just tried to make a new Topic cause i thought maybe after updating with the Version from 4.December theres a problem with older Tables from earlier Versions of the plugin. i cannot change color of existing tables even if they r really plain TML i mean with |text| but i did a new table and could change color and also save it. Then edit again and very strange from a table with 3 columns it became a table with 5 columns...

-- TWiki:Main.GeorgSauseng - 05 Dec 2007

But can you see where the paper clip is in mine editor and where it is here?

-- TWiki:Main.GeorgSauseng - 05 Dec 2007

I am seeing that table properties are not saved with the new table. Perhaps a translation is needed between the table style and TABLE attributes? Otherwise the second tab "Advanced" should be omitted. After all it is not accessible anymore once the table has been created.

-- TWiki:Main.ArthurClemens - 07 Dec 2007

My last point: this is what is proposed in Item5094 as well.

-- TWiki:Main.ArthurClemens - 07 Dec 2007

The translation back to TML works by converting HTML tags back to TML. Certain attributes on those HTML tags can block this translation. The tradeoff is between being able to do anything you want to the formatting in the editor, and having large amounts of HTML in your topics (because the required feature, such as cell background colour) cannot be represented in TML). Using TABLE tags is not an option - in general, most people find these tags as bad as using HTML to represent the table.

The approach to solve this sort of problem is as described in Item5094 - to disable those features in the editor that cannot be translated back to TML. This is a difficult and delicate process requiring modification of the TinyMCE source code. However it is - as far as I know - the only option.

I am closing this so we can focus on Item5094 as the solution.

CC

Thank you for your comments.

What do you mean AthurClemens, i cannot see anything posted by you on Item5094?

I understand the main problem that color in tables for instance can only be handled with HTML. So if i understand that right it's possible to solve the problem only by changin TinyMCE Source Code to hide options that don't work?

Why not let HTML be HTML - no Translation back to TML . If someone needs special features only possible with HTML well the source code is ugly but its possible. I have lot of Pages with mixed code i think..:-) This is what i have on many pages and it works but not with that color problem, why? Its HTML and it should be HTML. Isn't that a problem concerning the WYSIWYG Plugin?

I dont understand that completely...

Regards Georg

-- TWiki:Main.GeorgSauseng - 08 Dec 2007

I was referring to Frederik's comment A lot features in the "insert new table".

-- TWiki:Main.ArthurClemens - 08 Dec 2007

ItemTemplate
Summary Cannot save colors in tables
ReportedBy TWiki:Main.GeorgSauseng
Codebase 4.1.2
SVN Range TWiki-4.3.0, Sun, 25 Nov 2007, build 15790
AppliesTo Extension
Component TinyMCEPlugin
Priority Urgent
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg column.jpg r1 manage 44.5 K 2007-12-05 - 13:02 GeorgSauseng more columns
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2007-12-08 - ArthurClemens
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback