Re: Splitting Lists
Christian Stocker <[email protected]> Wed, 24 Nov 2004 11:05:01 +0100
| Newsgroups | gmane.editors.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
On 24.11.2004 10:43 Uhr, Patrick Kollitsch wrote:
> hi,
>
> it seems to be not possible to split a list into two pieces (tested in
> example inlineXHTML in trunk). in an "normal" editor a click on enter in
> an empty listitem would result in a split off between the item before
> and after an empty item. in bxe on enter a new item is created.
you think
<ul>
<li>foobar</li>
<li>|</li>
</ul>
and then hitting enter (| denotes the cursor)
should end up in
<ul>
<li>foobar</li>
</ul>
<ul>
<li>|</li>
</ul>
AFAIK Word would do the following
<ul>
<li>foobar</li>
</ul>
<p>|</p>
now it has to be decided, what exactly should happen ;) currently
<ul>
<li>foobar</li>
<li></li>
<li>|</li>
</ul>
>
> there should be at last the possibility to tell bxe to split a list in
> two list.
>
> the next problem will be, how to tell the editor, that "my" element
> "liste" is equivalent to the XHTML ol/ul-construct and can have the same
> functionality (eg. new item on enter) like the XHTML-list. there should
> be a kind of mapping of elements to functionality like table, table-row,
> table-cell, ordered list, listitem and so one like it is done in the css.
The proper way is to assign "liste" to the corresponding css
display-types (see
http://www.zvon.org/xxl/CSS2Reference/Output/prop_display.html). And the
underlying eDOM library does honor the somehow (also for table elements)
Hannes or someone else at his company did that for docbook style tables,
IIRC.
chregu
>
> greetings
> patrick
--
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] | gnupg-keyid 0x5CE1DECB
--
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users