我遇到麻烦CK4和获取样式头下拉自动设置的风格体现在款式,下拉。CK-编辑器,在custom.css
名为.css都应该后台和前台的共享和使用#page为CSS-ID
有没有办法告诉下拉解析与#页面前缀头。
我使用
CKEDITOR.config.bodyId = 'page';
和CSS
.cke_editable {
}
#page {
/* works - editor area goes black..
font-family:Arial;
margin:10px;
font-family:Arial;
background-color:#000;
font-size: 10px;
color:#fff;
}
#page h1 {
/* works in editor-area, but not dropdown */
font-family: Verdana;
color:#999;
}
.cke_editable h2 {
/* same as h1.. */
font-family:Arial;
color:#f00;
font-size:16px;
background-color:#999;
}
h3 {
/* work BOTH in editor and style shows in dropdown. */
color:#0f0;
}