Interface GjsBlocksRepository

All Known Implementing Classes:
GjsBlocksRepositoryImpl

public interface GjsBlocksRepository
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieve registered GrapesJs block
    void
    Register custom GrapesJs block which can be used in xml configuration
  • Method Details

    • getBlock

      GjsBlock getBlock(String name)
      Retrieve registered GrapesJs block
      Parameters:
      name - block name
      Returns:
      GrapesJs block descriptor
    • registerBlock

      void registerBlock(GjsBlock block)
      Register custom GrapesJs block which can be used in xml configuration
      Parameters:
      block - GrapesJs block descriptor