Browse Source

Support mixed block content TS. Closes #5768

pull/5778/head
Artur Arseniev 2 years ago
parent
commit
45d6d9e8e3
  1. 2
      src/block_manager/model/Block.ts

2
src/block_manager/model/Block.ts

@ -14,7 +14,7 @@ export interface BlockProperties {
/**
* The content of the block. Might be an HTML string or a [Component Defintion](/modules/Components.html#component-definition)
*/
content: string | ComponentDefinition;
content: string | ComponentDefinition | (string | ComponentDefinition)[];
/**
* HTML string for the media/icon of the block, eg. `<svg ...`, `<img ...`, etc.
* @default ''

Loading…
Cancel
Save