JEditorPane, HTMLEditorKit - custom action inserting custom tag
问题 I'm faithing with JEditorPane . I need simple editor. I've solved the problem with loading and modified HTML containing custom (two) tags (see my older post). It displays the document properly and I can even edit it now. I can write text, delete either characters or my custom elements. I won a battle, but haven't won the war. The next step is regrettably very problematical too. I'm unable to insert my custom tags. I have a custom action: import my.own.HTMLEditorKit; //extends standard