Posted By:
Torben_Vesterager
Posted On:
Friday, January 18, 2002 06:19 AM
Hi,
I encountered the same problem. One solution is to insert a
element:
public static final String INSERT_UL_HTML =
"
";
new HTMLEditorKit.InsertHTMLTextAction( "InsertUnorderedListItem",
INSERT_UL_HTML, HTML.Tag.UL, HTML.Tag.LI, HTML.Tag.BODY,
HTML.Tag.UL).actionPerformed( evt);
This however will cause a new 'feature': When [Enter] is hit, a new
paragraph is inserted instead of a new
!