ppc 发表于 2021-8-17 17:51:50

html编辑器控件 如何调整基础配置

你好管理员:
      如何在表单设计中调整html编辑器控件的配置属性; 是否可以提供一下范例,“返回CKEditor的Config对象,用于编辑器初始化”描述也不知道具体的返回格式;
https://www.o2oa.net:443/x_file_assemble_control/jaxrs/file/e975e0d8-93e1-45ef-bcd8-9cde8988c082/download/stream

ppc 发表于 2021-8-17 17:52:50

直接返回
return CKEDITOR.editorConfig = function( config ) { config.language = 'es'; config.uiColor = '#F7B42C'; config.height = 300; config.toolbarCanCollapse = true; };这样不行

论坛管理员 发表于 2021-8-19 13:11:27

return {}
具体参数看
https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html
页: [1]
查看完整版本: html编辑器控件 如何调整基础配置