G
Gerrit Hulleman
Is it possible to get the selected text as HTML from the pane? the
getSelectedText seems unable to do this.
This is required for a customized copy & paste action. The implemented copy
function interprets the </P></P> as a new line (/n), while <BR> tags are
replaced by a space.
Also, pasting text copied from the JEditorpane is inserted as
"</P>"+clipboardcontent+"<P>".
According to current html standards, <BR> tags are considered wrong. It
should be <BR/>. Anyway to make this clear to the JEditorpane?
getSelectedText seems unable to do this.
This is required for a customized copy & paste action. The implemented copy
function interprets the </P></P> as a new line (/n), while <BR> tags are
replaced by a space.
Also, pasting text copied from the JEditorpane is inserted as
"</P>"+clipboardcontent+"<P>".
According to current html standards, <BR> tags are considered wrong. It
should be <BR/>. Anyway to make this clear to the JEditorpane?