Appearance
判断当前选区是否为表格单元格选区(CellSelection)。
CellSelection
import { isCellSelected } from '@qingpai/utils' if (isCellSelected(editor)) { // 当前选中了单元格(含单个单元格光标) }
editor
Editor
boolean — 选区为 CellSelection 且包含至少一个单元格时返回 true。
boolean
true