export const cellProperties: EditorButtonDefinition = {
label: 'Cell properties',
+ format: 'long',
action(context: EditorUiContext) {
context.editor.getEditorState().read(() => {
const cell = $getNodeFromSelection($getSelection(), $isCustomTableCellNode);
export const mergeCells: EditorButtonDefinition = {
label: 'Merge cells',
+ format: 'long',
action(context: EditorUiContext) {
context.editor.update(() => {
const selection = $getSelection();
export const splitCell: EditorButtonDefinition = {
label: 'Split cell',
+ format: 'long',
action(context: EditorUiContext) {
context.editor.update(() => {
$unmergeCell();