public interface GjsBlocksRepository
Modifier and Type | Method and Description |
---|---|
GjsBlock |
getBlock(java.lang.String name)
Retrieve registered GrapesJs block
|
void |
registerBlock(GjsBlock block)
Register custom GrapesJs block which can be used in xml configuration
|
GjsBlock getBlock(java.lang.String name)
name
- block namevoid registerBlock(GjsBlock block)
block
- GrapesJs block descriptor