我是新手使用summernote文本编辑器。我试图从summernote文本区域中获取正确的内容,该内容实际上带有HTML标签。
我尝试过:
<textarea class="summernote" id="summernote" ng-model="blog.content" ></textarea>
在我的HTML页面中,可以通过以下方式获取文本区域的内容:
$("#summernote").code();
它正在获取HTML标签中的内容。我希望内容能够在没有HTML标签的情况下显示。
感谢您的建议。