[英]bootstrap-wysiwyg Set Content
如何使用jQuery動態地將內容設置為bootstrap-wysiwyg編輯器。 我試過了
$('.editor').html() and $('.editor').val()
似乎沒有人接受
經過艱苦的努力,我找到了方法
var editorObj = $("#description").data('wysihtml5');
var editor = editorObj.editor;
editor.setValue(data.description);
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.