Index: openacs-4/packages/xowiki/tcl/form-field-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/form-field-procs.tcl,v diff -u -N -r1.248.2.14 -r1.248.2.15 --- openacs-4/packages/xowiki/tcl/form-field-procs.tcl 11 Mar 2016 10:02:37 -0000 1.248.2.14 +++ openacs-4/packages/xowiki/tcl/form-field-procs.tcl 11 Mar 2016 13:02:14 -0000 1.248.2.15 @@ -1869,7 +1869,7 @@ {toolbar Full} {CSSclass xowiki-ckeditor} {uiColor ""} - {allowedContent "true"} + {allowedContent ""} {CSSclass xowiki-ckeditor} {customConfig "config.js"} {callback "/* callback code */"} @@ -1992,6 +1992,7 @@ set ready_callback "/*none*/;" set submit_callback "/*none*/;" } + set options [subst { [my set additionalConfigOptions] toolbar : '[my toolbar]', @@ -2006,9 +2007,11 @@ imageSelectorDialog: '[my imageSelectorDialog]?parent_id=[[my object] item_id]', ready_callback: '$ready_callback2', customConfig: '[my customConfig]', - allowedContent: '[my allowedContent]', textarea_id: '[my set id]' }] + if {[my allowedContent] ne ""} { + append options " , allowedContent: '[my allowedContent]'\n" + } if {[my templatesFiles] ne ""} { append options " , templates_files: \['[join [my pathNames [my templatesFiles]] ',' ]' \]\n" }