0
將Edit Area Javascript插件用作HTML編輯器,並且在保存textarea內容時遇到問題。該插件工作正常,直到我提交表單,並且信息不再保存,因爲它包含插件之前。使用Edit Area javascript插件保存textarea
想知道如果有人有這個插件的經驗,並可以指出我在正確的方向。
代碼:
editAreaLoader.init({
id: "inputLayout" // id of the textarea to transform
,start_highlight: true // if start with highlight
,allow_resize: "both"
,allow_toggle: true
,word_wrap: true
,language: "en"
,syntax: "html"
,EA_load_callback: "editAreaLoaded"
});