mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-24 10:08:00 -06:00
M7: list Edit text & images first under Modify page (#2028)
Edit text & images changes what is already on the page rather than adding content, so it belongs under Modify page, the first section.
This commit is contained in:
@@ -129,6 +129,7 @@ pub static TOOL_GROUPS: &[ToolGroup] = &[
|
||||
ToolSection {
|
||||
title: "Modify page",
|
||||
items: &[
|
||||
item("Edit text & images", "text-cursor-input", "edit.edit_text", Ready),
|
||||
item("Rotate pages", "rotate-cw", "page.rotate", Ready),
|
||||
item("Insert pages", "file-plus-2", "page.insert", Ready),
|
||||
item("Delete pages", "trash-2", "page.delete", Ready),
|
||||
@@ -139,7 +140,6 @@ pub static TOOL_GROUPS: &[ToolGroup] = &[
|
||||
ToolSection {
|
||||
title: "Add content",
|
||||
items: &[
|
||||
item("Edit text & images", "text-cursor-input", "edit.edit_text", Ready),
|
||||
item("Text", "type", "edit.text", Ready),
|
||||
item("Image", "image-plus", "edit.image", Ready),
|
||||
menu_item("Header and footer", "heading", &["edit.header_footer", "edit.header_footer.update", "edit.header_footer.remove"]),
|
||||
|
||||
Reference in New Issue
Block a user