Javier
2007-03-07
Hi.
First of all, congratulations for your work.
If I copy text (i.e. a single word "hello") from a Web page
and the i try to paste it, if the web page is in frames,
the code html generated isn't
<p>hello</p>
It includes the word into various tables. I suppose it tries
to simulate the original web page.
Any ideas to changes this behaviour?
Is there any way to change that when pressing only "Enter" instead of
"Shitft+Enter" generates the tag <br> ??
Thanks
Janfry
Christoph W.
2007-11-10
> It includes the word into various tables. I suppose it tries to simulate the original web page.
This is done via clipboard copying in Sun's EditorKit classes. A clipboard provides some flavors. The best fitting flavor is taken.
The wysiwyg pane has "text/html" content. So if the clipboard provides a some html content this is taken.
My suggestion: copy it to a notepad (any simple text editor) and copy it from there again.
> Is there any way to change that when pressing only "Enter" instead of "Shitft+Enter" generates the tag <br> ?
It was a bug in the applet version of ekit before release 1.4.
In release 1.4 I have correct this behavior.