Re,
On Wed, May 27, 2009 at 5:35 PM, Guillaume Lerouge <guillaume(a)xwiki.com
wrote:
Hi Dan,
On Wed, May 27, 2009 at 5:28 PM, Dan Miron <dan.miron(a)xwiki.com>
wrote:
Hi,
Regarding the
http://jira.xwiki.org/jira/browse/XWIKI-2963 issue,
this
is how I propose the macro to look like:
{{columnedtext}}
{{column with="40%"}}
My first text
{{/column}}
{{column with="60%"}}
My second text
{{/column}}
{{/columnedtext}}
This way, depending on how many {{column}} blocks it finds, the
macro
transformer has a complete overview over the text to be arranged in
columns.
What do you say?
Looks ok to me.
What happens when the total is higher than 100% ? You could also
add the
choice to use a pixel size instead of the percent-based one. Make
sure the
generated layout works in IE6 too ;-)
As for the name, I personally think "column" describes what the
macro does
better than "section" but it's only my pow, let's see what the
majority
agrees upon.
Guillaume
Tnx.
Dan
I've got another question too: what will the interface look like in
the
WYSIWYG? How will an user select how many columns to use and how
will the
user input content in the various columns using the WYSIWYG macro
editor?
Right now same as for any macro. There's no notion of wysiwyg editor
for embedded macros yet. There's a jira issue for this open btw.
-Vincent