Вопрос

I am trying out NicEdit witch is super light weight and easy to install. The problem is when I use NicEdit its working fine changing content in the textarea - but when I save my content there is no HTML tags in the post? Its all in clear text... Any ideas?

Это было полезно?

Решение

How are you saving with NicEdit?

You can not get the value using "var variable = $("#id").val();" because that will just get the text in the textarea.

NicEdit has a built in ajax save function that you can use. Check out http://wiki.nicedit.com/w/page/519/FrontPage and click on Saving via Ajax.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top