Interface GjsPluginsRepository

All Known Implementing Classes:
GjsPluginsRepositoryImpl

public interface GjsPluginsRepository
  • Method Summary

    Modifier and Type
    Method
    Description
    getPlugin(String pluginXsdCode)
    Retrieve registered GrapesJs plugin
    void
    registerPlugin(String pluginXsdCode, GjsPlugin plugin)
    Register custom GrapesJs plugin which can be used in xml configuration
  • Method Details

    • getPlugin

      GjsPlugin getPlugin(String pluginXsdCode)
      Retrieve registered GrapesJs plugin
      Parameters:
      pluginXsdCode - plugin code from xml screen descriptor
      Returns:
      GrapesJs plugin descriptor
    • registerPlugin

      void registerPlugin(String pluginXsdCode, GjsPlugin plugin)
      Register custom GrapesJs plugin which can be used in xml configuration
      Parameters:
      pluginXsdCode - plugin coe from xml screen descriptor
      plugin - GrapesJs plugin descriptor with name and options