TinyMCE with AJAX (Update Panel) never has a value

后端 未结 5 590
-上瘾入骨i
-上瘾入骨i 2021-01-11 14:37

I wanted to use a Rich Text Editor for a text area inside an update panel.

I found this post: http://www.queness.com/post/212/10-jquery-and-non-jquery-javascript-ric

5条回答
  •  温柔的废话
    2021-01-11 14:59

    You have to trigger the save function when posting back, use Page.RegisterOnSubmitStatement to register the script tinyMCE.triggerSave();

    I noticed that tinyMCE's init function can only be called selecting all textareas or textareas with a certain class. The exact doesn't work.

提交回复
热议问题