sachatrauwaen / OpenContent

Structured Content editing for DNN (Dotnetnuke)
46 stars 25 forks source link

Custom ckeditoroptions gone #71

Closed b-creative closed 5 years ago

b-creative commented 5 years ago

Nice to see one is able to choose in Form Builder what ckeditor must be loaded: basic, standard or full. I created a custom one; I guess this cannot me chosen? And where do I put the custom toolbar items, format_tags, extraPlugins, etc? In the previous OCmodule I created this in options.json, but this is now broken...

sachatrauwaen commented 5 years ago

For custom ckeditor config, you need to put the config directely in the options.json https://opencontent.readme.io/docs/field-types#section-rich-text-with-ckeditor

Best is to deactivate the builder by deleting the buiulder.json file. Otherwise if you do modification in the form builder it will override your custom options.json

b-creative commented 5 years ago

Thanks, somehow the default settings after upgrading to 4.1 broke the correct view. First I needed to choose Config set: 'None' in the relevant field in Form builder. After saving the Form builder, and copying the relevant configuration back into options.json it worked.

I prefer to keep working with the builder and make backups of the options (in order to copy back the custom configuration) rather then work without the Form builder.

Thanks.