Alex- These are separate issues.
The JIRA issue (558) is for the simpleNavigation tag, this current
email thread is for the Rich Text Editor.
The issue is not the inability to create lists, but the fact that the
created lists are not valid HTML. Perhaps my square brackets are
misleading you - I'm using square brackets only because my email
client likes to think I'm inserting HTML if I use the angle
brackets. Please re-read my earlier message - I think its clear.
The basic point is that you cannot just stick a UL tag in the middle
of a bunch of text. There are rules for how HTML tags can be nested
and the RichText editor breaks them.
I will post this to JIRA as a bug, but I thought I would open it up
for general discussion first. Should I post this type of thing to
the dev list instead?
--ee
On Oct 2, 2005, at 7:10 PM, Alexandru Popescu wrote:
#: Alexandru Popescu changed the world a bit at a time by saying
on 10/3/2005 2:06 AM :#
Hi Eric!
Are you saying that while using the edit control (which if I am
not completely wrong is the FCKEditor) you cannot create lists?
./alex
--
.w( the_mindstorm )p.
The JIRA issue you have created just clarified your previous
message :-).
./alex
--
.w( the_mindstorm )p.
#: Eric Everman changed the world a bit at a time by saying on
10/3/2005 12:47 AM :#
Hi - Sorry to keep posting about invalid html...
If a list is used in the RichText editor (Magnolia 2.1), markup
like this is generated (using square brackets instead of angle):
------------ html snippet ---------------
Some Text[br/]
[ul]
[li] one [li]
[li] two [li]
[/ul]
More Text
-------------------------------------------
The problem is that the UL tag is a block level element and can
*never* appear as a sibling to text content. There is no
'wrapper' tag that can be wrapped around the entire paragraph to
fix it, and its invalid HTML for any standard (strict/
transitional HTML and XHTML).
The only way I can see to fix this is to make the RichText
editor's javascript format the text similar to this, with P tags:
------------ html snippet ---------------
[p]Some Text[/p]
[ul]
[li] one [li]
[li] two [li]
[/ul]
[p]More Text[/p]
-------------------------------------------
This seems like it would be a fairly major re-write of the
RichText javascript. Thoughts? Suggestions?
Thanks,
Eric Everman
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------