import { ModifyContentAction } from '../../../dto/actions/modify-content-action.abstract';
export const INSERT_TABLE_BLOCK = 'INSERT_TABLE_BLOCK';
/**
 * Action to insert a table block into the rich text editor.
 */
export class InsertTableBlockAction extends ModifyContentAction {
  constructor(rowCount, columnCount) {
    super();
    this.type = INSERT_TABLE_BLOCK;
    this.rowCount = rowCount;
    this.columnCount = columnCount;
  }
}
