开发者

Get decoded / non html from Ajax HtmlEditor

I am struggling to retrieve content as plain text from the AJAX HtmlEditor.

I am using editor.get_content() to retrieve the content and I am needing it to be in plain text so that I can compare to the initial value of the content. This needs to be done client side in Javascript.

For example the plain text I require is along the l开发者_如何学Goines of -

<a href='blah' ....

What I'm getting out is:

<a shape="rect" href="blah".....

I cannot use the following answer as i am unable to specify a static iframe. Unless there is a way to dynamicly retieve it?

How to get value (non html) from ajax html editor


try this one.

http://htmleditor.codeplex.com/

Its works fine for me.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜