ユーザーがメモを作成できるように、tinyMCE エディターを Web アプリに正常に追加しました。div 内に置き換えられる textarea があるので、div はページに合わせてサイズ変更でき、textarea は常に幅: 100% と高さ: 100% に設定できます。
私の tinyMCE.init は次のようになります。
tinyMCE.init({
mode: "specific_textareas",
editor_selector: "notes-editor",
theme: "advanced",
plugins: "",
theme_advanced_buttons1: "bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,forecolor,backcolor",
theme_advanced_toolbar_location: "top",
theme_advanced_toolbar_align: "left",
theme_advanced_statusbar_location: "none",
theme_advanced_resizing: false,
height: "100%",
width: "100%"
});
残念ながら、これは次のようなエディターを返します。
高さをどのように変更しても、それが CSS であろうと JS であろうと、編集できる場所の「ストリップ」は決して変わりません。奇妙なことに、これは高さにのみ適用されます。
note_contents_tbl
テーブル(つまり)をiframe(つまり)に変更しようとすることからすべてを行いましnote_contents_ifr
たが、何もしませんでした。
どんな助けでも大歓迎です。