Thanks
-Vincent
PS: Note that passing syntax parameters is not guaranteed to work with
all renderers.
On Sep 15, 2009, at 2:20 PM, Ludovic Dubost wrote:
Hi,
In multiple cases, we have heard the requirements to manage simple 2
or 3 column layouts in the Wysiwyg. This has come up with some users
and is a need in the Socracy project (
http://www.socracy.org).
I've thought a bit more about this need and realized we could handle
it quite simply using our already available Table feature in the
Wysiwyg. For this the only thing we actually need would be to be
able to edit the "class" being assigned to a table.
I've made some CSS to show the results that we could have using such
a class:
http://incubator.myxwiki.org/xwiki/bin/view/Test/TestColumns
The only special thing that these tables have in the wiki syntax is
a class assigned:
(% class="columns2" %)
or
(% class="columns3" %)
The rest is CSS magic put in the skin.
The way I see it would be to have the possibility to choose between
different classes when creating or editing table properties. The
list of available classes could be a preference set in the Wiki,
this way we could extend the styles available for tables.
Not only we could handle columns this way but we could also have
additional styles for table (home page tables or table to show
numbers, etc..).
This is not too much work in the Wysiwyg and can provide quite some
benefits to make nice presentations in XWiki.
WDYT ?
Ludovic
_______________________________________________
devs mailing list
devs(a)xwiki.org