March 29, 2014 at 12:00 pm #18153
Stefan
Participant
For others with same interest;
in the meantime I utilize JavaScript to paste HTML format from clipboard, seems to work fine for me.
EmEditor JavaScript macro:
// get HTML formated clipboard content:
strOUT = clipboardData.getData("html");
// if there is no HTML formated clipboard content, get plain TEXT content:
if( strOUT == "" ){
strOUT = clipboardData.getData("text");
status = "TextApe: No HTML format found. Will paste pure text.";
}else{
status = "TextApe: HTML format found and pasted.";
}
// write to document:
document.selection.text = strOUT ;
Until I got this idea, I utilized Peters ‘Windows clipboard raw viewer’ to get the HTML format.
http://www.peterbuettner.de/develop/tools/clipview/
Thanks, Peter.
.