feat: add table and image context menus with localization support
- Implemented context menus for table operations including adding, deleting rows/columns, and alignment options. - Added context menu for image operations such as replacing, toggling caption, resetting size, and deleting images. - Updated English and Chinese localization files to include new menu options for table and image functionalities.
This commit is contained in:
@@ -410,6 +410,24 @@ const enUS = {
|
||||
empty: "Drag to choose a table size",
|
||||
hint: "Keep dragging near the edge to expand the grid",
|
||||
},
|
||||
tableMenu: {
|
||||
addRowBefore: "Insert row above",
|
||||
addRowAfter: "Insert row below",
|
||||
deleteRow: "Delete row",
|
||||
addColBefore: "Insert left column",
|
||||
addColAfter: "Insert right column",
|
||||
deleteCol: "Delete column",
|
||||
alignLeft: "Align left",
|
||||
alignCenter: "Align center",
|
||||
alignRight: "Align right",
|
||||
deleteTable: "Delete table",
|
||||
},
|
||||
imageMenu: {
|
||||
replace: "Replace image",
|
||||
caption: "Toggle caption",
|
||||
resetSize: "Reset size",
|
||||
delete: "Delete image",
|
||||
},
|
||||
messages: {
|
||||
saved: "Article saved.",
|
||||
generating: "This article is still generating. Try editing it later.",
|
||||
|
||||
Reference in New Issue
Block a user