Added a new configuration option "profiles" to define different configuration profiles for Froala (see @ #42 ).
I decided not to add this option as a "normal" neither "custom" option as it generates froala configuration subtrees that must also be validated., this added some complexity.
There is now also a new FroalaEditorType option defined which is "profile" through which one can specify the profile to use for the type. If the profile is not found amongst existing ones an exception is thrown.
The new configuration option does not break current configuration as requested, profiles just override "default" configurations.
Added a new configuration option "profiles" to define different configuration profiles for Froala (see @ #42 ).
I decided not to add this option as a "normal" neither "custom" option as it generates froala configuration subtrees that must also be validated., this added some complexity.
There is now also a new
FroalaEditorType
option defined which is "profile" through which one can specify the profile to use for the type. If the profile is not found amongst existing ones an exception is thrown.The new configuration option does not break current configuration as requested, profiles just override "default" configurations.