我该如何在TinyMCE中设置默认字体大小和背景颜色?
谢谢, Eden
oninit : "postInitWork",
并且
function postInitWork() {
tinyMCE.getInstanceById('textedit').getWin().document.body.style.backgroundColor='#FFFF66';
var dom = tinymce.activeEditor.dom;
var pElements = dom.select('p'); // Default scope is the editor document.
dom.setStyle(pElements, 'color', 'red');
}