📜  更改背景颜色 js tinymce - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:51.392000             🧑  作者: Mango

代码示例1
tinyMCE.init(
        mode : "textareas",
        theme : "simple",
        oninit : "postInitWork"
    });

function postInitWork()
{
  var editor = tinymce.get('myEditorid');
  editor.getBody().style.backgroundColor = "#FFFF66";
}