Class GrapesJsPlugin

java.lang.Object
io.jmix.messagetemplatesflowui.kit.component.GrapesJsPlugin
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GrapesJsBlocksBasicPlugin, GrapesJsBlocksFlexboxPlugin, GrapesJsCustomCodePlugin, GrapesJsFormsPlugin, GrapesJsNewsletterPresetPlugin, GrapesJsPostcssParserPlugin, GrapesJsStyleFilterPlugin, GrapesJsTabsPlugin, GrapesJsTooltipPlugin, GrapesJsTuiImageEditorPlugin

public abstract class GrapesJsPlugin extends Object implements Serializable
Embeddable plugin for the GrapesJs component. The plugin can provide additional functionality, such as new HTML blocks, actions in the control panel, etc.
See Also:
  • Field Details

    • name

      protected final String name
    • options

      protected String options
  • Constructor Details

    • GrapesJsPlugin

      public GrapesJsPlugin(String name)
  • Method Details

    • getName

      public String getName()
      Returns:
      the unique name of the plugin
    • getOptions

      public String getOptions()
      Returns:
      additional options for configuring the plugin as a JSON string
    • setOptions

      public void setOptions(String options)
      Sets additional options for configuring the plugin as a JSON string.
      Parameters:
      options - options as JSON string