Requirements
- Dynamic action must listen to the plug-in event UC Froala Before Initialization
- Dynamic action attribute When \ Selection Type must be set to JavaScript Expression or jQuery Selector.
* jQuery Selector must be one singular class name. Otherwise, the customization won't work.
Dynamic action on JavaScript Script Expression
When dynamic action attributes are set as
- When \ Selection Type = JavaScript Expression and
- When \ JavaScript Expression = document,
the customized instances are defined by an action attribute Affected Elements. If affected elements are not defined, all page plug-in instances are customized.
Dynamic action on jQuery Selector
When dynamic action attributes are set as
- When \ Selection Type = jQuery Selector and
- When \ jQuery Selector = .className
then the plug-in instances triggering event UC Froala Before Initialization are customized.
Ideas
- Utilize dynamic action Security \ Authorization Scheme to restrict customization per end-user privileges.
- Group customizations as dynamic actions defined on the application's global page
- Customize plug-ins based on application logic defined in the database.