だから、私は TinyMCE 3.5.9 を使用しています。IEで画像のサイズを変更する場合を除いて、うまく機能します。TinyMCE は、幅と高さのタグにスタイル タグを追加しません。これにより、Internet Explorer 10、9、8 などで問題が発生します。IE では、幅と高さのスタイル タグが必要です。それ以外の場合は無視されます。
これをどのように修正しますか?他の誰かがこれに遭遇しましたか?以下はプラグインの私の実装です。
どんな助けでも大歓迎です。
tinyMCE.init({
mode: "textareas",
theme: "advanced",
editor_selector: "richText",
plugins: "paste,table,advimage,advlink,media,directionality,fullscreen,preview",
//valid_children: "+head[style],+body[style]",
verify_html: false,
paste_auto_cleanup_on_paste: true,
theme_advanced_buttons1: "outdent,indent,bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,cut,copy,paste,pastetext,|,fontsizeselect",
theme_advanced_buttons2: "tablecontrols,link,unlink,image,|,forecolor,backcolor,media,code",
theme_advanced_buttons3: "formatselect,fontselect,|,ltr,rtl,|,visualaid,fullscreen,preview",
theme_advanced_disable: ",help,hr,removeformat,sub,sup,backcolorpicker,charmap,anchor,newdocument",
theme_advanced_toolbar_location: "top",
theme_advanced_toolbar_align: "left",
theme_advanced_statusbar_location: "bottom",
remove_trailing_nbsp: true,
entity_encoding: "numeric",
theme_advanced_resizing: true,
language: "en",
document_base_url: "",
extended_valid_elements: "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]"
});