cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Asked

Table Cell Coloring No Longer Works as Expected in Editable Tables

Reference: Support/Question1174 - I have CSS and JS code that I use to automatically color cells in tables based on words in the table.

The EditRow plugin breaks my JS code.

Here's an example of a table if you click the Edit button at the bottom of the table. It renders as expected.

ScreenShot Question1759 a.png

Here's the table without clicking the Edit button. The colors are missing because the table content isn't cell content, it's <div> content.

ScreenShot Question1759 b.png

ScreenShot Question1759 c.png

Is there a compelling reason why the table cell content is not findable as table cell content? This violates the Principle of Least Surprise and could easily break more JS code than just mine.

-- VickiBrown - 17 Feb 2016

 

QuestionForm edit

Subject Using an extension
Extension EditRowPlugin
Version Foswiki 2.0.3
Status Asked
Related Topics
Topic revision: r2 - 18 Feb 2016, VickiBrown - This page was cached on 17 Aug 2018 - 10:09.

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