Unambiguous delete row/column toolbar icons (#336) #341
@ -270,7 +270,10 @@ export function Toolbar({
|
|||||||
disabled={!state.canDeleteColumn}
|
disabled={!state.canDeleteColumn}
|
||||||
onClick={() => editor.chain().focus().deleteColumn().run()}
|
onClick={() => editor.chain().focus().deleteColumn().run()}
|
||||||
>
|
>
|
||||||
⊟↕
|
{/* Axis stripes + the × delete marker (already established by
|
||||||
|
deleteTable's ⊠): the earlier ⊟↕/⊟↔ double arrows read as
|
||||||
|
"resize/expand", not "delete" (issue #336). */}
|
||||||
|
▥×
|
||||||
</ToolbarButton>
|
</ToolbarButton>
|
||||||
<ToolbarButton
|
<ToolbarButton
|
||||||
label={t('toolbar.table.addRowBefore')}
|
label={t('toolbar.table.addRowBefore')}
|
||||||
@ -291,7 +294,7 @@ export function Toolbar({
|
|||||||
disabled={!state.canDeleteRow}
|
disabled={!state.canDeleteRow}
|
||||||
onClick={() => editor.chain().focus().deleteRow().run()}
|
onClick={() => editor.chain().focus().deleteRow().run()}
|
||||||
>
|
>
|
||||||
⊟↔
|
▤×
|
||||||
</ToolbarButton>
|
</ToolbarButton>
|
||||||
<ToolbarButton
|
<ToolbarButton
|
||||||
label={t('toolbar.table.toggleHeaderRow')}
|
label={t('toolbar.table.toggleHeaderRow')}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user