The XMLmind WYSIWYG renderer (in both browser emulation view and
semantic view) now (for some time - I am not sure for how long) supports
CSS generated content. This is very nice. I for instance use it to
enumerate footnotes and headings.
However, I have a problem using this feature together with h1-h6
elements in HTML:
For an h1-h6 element that is the first child of a section/article/aside
element, then XMLmind will insert a small triangle before the content of
those elements. By pressing that triangle, you can open/close that
particular element as if you worked with an outliner.
This is a very nice feature. However, it seems taht the feature somehow
interferes with CSS generated content. Because a style such as
h1::before{content:/*etc*/;}
does not work whenever the triangle is present. I worked around it by
using this:
h1::after{content:/*etc*/;}
However, this is not very elegant. Currently, it seems I would have to
insert an empty element, like <span class="enum"></span> as the first
child of h1-h6 elements, and let CSS enumerate that element instead.
Are there other options for users? Or must/can this be solved by some
enhancement of XMLmind?
--
Leif Halvard Silli
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support