开发者

How to make niceditor readonly?

I have some textareas in my page. I converted all into niceeditor with the option provided. I will save the content of the niceditor into my database. While i am retrieving, i will get the html tagged data. I am showing the text in my page.

So to show the rich text of what i enter. I should make niceditor. So that i could show the rich text. And also it should be readonly.

Please guide me to make niceditor readonly or guide me to show the rich text without editing option through some way.

my textarea name is 'area开发者_Go百科3'. thanks


Why not use div instead of textarea? Nicedit supports convert divs too , You can toggle nicedit on or off.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜