input tags idetified as BlockBox instead of InlineBox
Posted: Thu Mar 20, 2014 9:25 pm
Hallo,
Currently the tags button, input, label, select, textarea are identified as BlockBox.CONTENT_BLOCK elements.
Accoring to HTML default they should be BlockBox.CONTENT_INLINE elements.
Use Case: I've tried to extend the importer for <INPUT> field elements and ended up that the importer sets a w:p around this elements.
The identification of the
is correct as
BlockBox.CONTENT_INLINE element, but the
idetifies the <INPUT> tag as BlockBox instead of InlineBox.
Thx, Willi
Currently the tags button, input, label, select, textarea are identified as BlockBox.CONTENT_BLOCK elements.
Accoring to HTML default they should be BlockBox.CONTENT_INLINE elements.
Use Case: I've tried to extend the importer for <INPUT> field elements and ended up that the importer sets a w:p around this elements.
The identification of the
- Code: Select all
blockBox.getChildrenContentType()
is correct as
BlockBox.CONTENT_INLINE element, but the
- Code: Select all
o instanceof BlockBox
idetifies the <INPUT> tag as BlockBox instead of InlineBox.
Thx, Willi