when I type this in the editor:
<a href="">test</a>
I got the transformed string on the server:
<a href="">test</a>
Very well!
But, when I output this transformed string in a textarea, and call the replaceTextArea() js function.
It became a real link in the fckeditor, not the original words I hoped.
And if I use the oEditor.create('instanceName', width, height, 'transformed string here'),it works ok.
How do I fix this?
<a href="">test</a>
I got the transformed string on the server:
<a href="">test</a>
Very well!
But, when I output this transformed string in a textarea, and call the replaceTextArea() js function.
It became a real link in the fckeditor, not the original words I hoped.
And if I use the oEditor.create('instanceName', width, height, 'transformed string here'),it works ok.
How do I fix this?
RE: Problem with reload HTML from a textaea
OK, I known the reason.
just HTML encode it again.
I thought it's a bug, but not so.