0
有沒有一種方法可以在tinymce的WYSIWYG模式下顯示html代碼(僅用於圖片)?如何在TinyMCE中顯示圖像的html代碼?
有沒有一種方法可以在tinymce的WYSIWYG模式下顯示html代碼(僅用於圖片)?如何在TinyMCE中顯示圖像的html代碼?
是的,這是可能的,但不是開箱即用的。 你將不得不爲write an onw plugin這個包含這樣的代碼
$(tinymce.activeEditor.getBody()).find('img').each(function(){
var html = this.outerHTML;
});