Item11423: Can't disable default tableplugin settings

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.5
Target Release: patch
Applies To: Extension
Component: TablePlugin
Branches: trunk
Reported By: MichaelDaum
Waiting For:
Last Change By: GeorgeClark
There are two (sigh) ways to configure the default table attributes:

  1. via configure
  2. via preference variables

What makes it worth is that both are stacked. So in order to disable any default table attributes you will need to null both: in configure and in TABLEPLUGIN_ATTRIBUTES. Alas, setting it to the empty string does not work as it flips to defaults everytime due to YAPRB (yet another perl rookie bug).

Disabling default table attributes is desirable when foswiki tables are styled by a skin theme primarily instead of inline css.

While this is fixed now, this plugin still generates bogus inline css for no apparent reason.

-- MichaelDaum - 10 Jan 2012

distro:af2387086542 and distro:36106754d61d aren't listed below even though they properly refer to this task item.

-- MichaelDaum - 28 Feb 2012
 
Topic revision: r10 - 11 Apr 2012, 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