2010-08-16 20 views

回答

1

前TinyMCE的返回編輯內容這就是所謂的editor.js內:

h = h.replace(/^\s*|\s*$/g, ''); // h is the content 

這在你的內容的開頭和結尾刪除空格,爲此您的getContent()是空的,當你只有插入空格。

相關問題