我正在尝试在此处的样式字段中删除默认设置。我成功地获得了选项卡和字段的引用,但是没有发现在任何地方都设置了默认样式。我在哪里可以更改它?谢谢
CKEDITOR.on('dialogDefinition', function (ev) {
// Take the dialog name and its definition from the event data.
var dialogName = ev.data.name;
var dialogDefinition = ev.data.definition;
// Check if the definition is from the dialog window you are interested in
if (dialogName == 'table') {
// Advanced Tab
var more = dialogDefinition.getContents('advanced');
more.get('advStyles')['default'] = "";
}
});