|
|
|
@ -9,7 +9,7 @@ import { Model } from 'common'; |
|
|
|
* @property {Boolean} [select=false] If true, the dropped component will be selected |
|
|
|
* @property {Boolean} [resetId=false] If true, all IDs of dropped components and their styles will be changed |
|
|
|
* @property {Boolean} [disable=false] Disable the block from being interacted |
|
|
|
* @property {Function} [onClick] Custom behavior on click, eg. `(editor, block) => editor.getWrapper().append(block.get('content'))` |
|
|
|
* @property {Function} [onClick] Custom behavior on click, eg. `(block, editor) => editor.getWrapper().append(block.get('content'))` |
|
|
|
* @property {Object} [attributes={}] Block attributes to apply in the view element |
|
|
|
*/ |
|
|
|
export default class Block extends Model { |
|
|
|
|