Skip to content

Commit

Permalink
Uno: Enable DeleteContentControl command in context menu
Browse files Browse the repository at this point in the history
Adds 'Delete Content Control' option to context menu, allowing deletion of content controls without removing their content.

Signed-off-by: codewithvk <[email protected]>
Change-Id: I662409f84dc17547cd82c75484c4b06e2eb8c66d
  • Loading branch information
codewithvk committed Nov 6, 2024
1 parent d7fae37 commit 63b1063
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion browser/src/control/Control.ContextMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ L.Control.ContextMenu = L.Control.extend({
'UpdateCurIndex','RemoveTableOf',
'ReplyComment', 'DeleteComment', 'DeleteAuthor', 'DeleteAllNotes',
'SpellingAndGrammarDialog', 'FontDialog', 'FontDialogForParagraph', 'TableDialog',
'SpellCheckIgnore', 'FrameDialog', 'UnfloatFrame', 'ContentControlProperties'],
'SpellCheckIgnore', 'FrameDialog', 'UnfloatFrame', 'ContentControlProperties', 'DeleteContentControl'],

spreadsheet: ['MergeCells', 'SplitCell', 'InsertCell', 'DeleteCell',
'RecalcPivotTable', 'DataDataPilotRun', 'DeletePivotTable',
Expand Down
1 change: 1 addition & 0 deletions browser/src/unocommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ var unoCommandsArray = {
'DeleteCell':{spreadsheet:{context:_('De~lete...'),menu:_('Delete C~ells...'),},},
'DeleteColumns':{global:{context:_('Delete selected columns'),menu:_('Delete ~Columns'),},text:{context:_('Delete selected columns'),menu:_('~Columns'),},},
'DeleteComment':{global:{menu:_('Delete Comment'),},},
'DeleteContentControl':{text:{context:_('Delete Content Control'),menu:_('Delete Content Control'),},},
'DeleteDataLabel':{global:{menu:_('Delete Single Data Label'),},},
'DeleteDataLabels':{global:{menu:_('Delete Data Labels'),},},
'DeleteLegend':{global:{menu:_('Delete Legend'),},},
Expand Down

0 comments on commit 63b1063

Please sign in to comment.