pan*_*hro 2 html css fckeditor ckeditor
如何更改CKEditor的背景颜色,用户在哪里键入文本?我需要动态地执行此操作,但我无法找到需要更改的元素.关于如何定位它的任何想法?
Rei*_*mar 5
您可以尝试:
CKEDITOR.instances.editor1.document.getBody().setStyle('background-color', 'red');
CKEDITOR.instances.editor1编辑器的实例在哪里- 您可以在此处测试:http://ckeditor.com/demo
CKEDITOR.instances.editor1
归档时间:
14 年,2 月 前
查看次数:
4501 次
最近记录:
7 年,7 月 前