import { ModifyContentAction } from '../../../dto/actions/modify-content-action.abstract';
export const TOGGLE_TABLE_CAPTION = 'TOGGLE_TABLE_CAPTION';
/**
 * Action payload for toggling the optional table caption block.
 */
export class TableCaptionAction extends ModifyContentAction {
  constructor(shouldEnable) {
    super();
    this.type = TOGGLE_TABLE_CAPTION;
    this.isFlushable = true;
    this.shouldEnable = shouldEnable;
  }
}
