ElyMark: right-click menu by target; Copy as HTML Code and Plain Text

R4.10. Clipboard row, Copy / Paste As, format and block rows, Table or
Paragraph, Insert, link, image, code and raw-block items; source and
preview menus. Component pin 1b5fb07. Records the user's rule that
ElyMark must work, not match Typora one to one.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-14 18:41:24 -04:00
1 parent f012eaa624
commit d5ceaf9aac
18 files changed
+840 -67

No files matched your search

+51
View File
@@ -76,6 +76,33 @@ pub(super) const EN: &[(&str, &str)] = &[
"mark.refused.misread",
"This would change how the text reads, so nothing changed",
),
("mark.edit.cut", "Cut"),
("mark.edit.copy", "Copy"),
("mark.edit.paste", "Paste"),
("mark.edit.delete", "Delete Selected"),
("mark.menu.copy_as", "Copy / Paste As"),
("mark.menu.insert", "Insert"),
("mark.copy.plain", "Copy as Plain Text"),
("mark.copy.html", "Copy as HTML Code"),
("mark.link.open", "Open Link"),
("mark.link.copy", "Copy Link Address"),
("mark.code.copy", "Copy Code Content"),
("mark.image.location", "Open Image Location"),
("mark.image.browser", "Open Image in Browser"),
("mark.image.delete", "Delete Image"),
(
"mark.image.no_file",
"This picture has no file here to show",
),
("mark.block.edit", "Edit"),
("mark.block.delete", "Delete {block}"),
("mark.insert.image", "Image"),
("mark.insert.before", "Paragraph (before)"),
("mark.insert.after", "Paragraph (after)"),
("mark.kind.list", "List"),
("mark.kind.alert", "Alert"),
("mark.kind.html", "HTML Block"),
("mark.refused.no_image", "Put the caret on a picture first"),
];
pub(super) const ZH_CN: &[(&str, &str)] = &[
@@ -136,4 +163,28 @@ pub(super) const ZH_CN: &[(&str, &str)] = &[
("mark.refused.busy", "上一次编辑还在处理"),
("mark.refused.changed", "编辑完成前文字已改变,请重试"),
("mark.refused.misread", "这样会改变文字的读法,未作改动"),
("mark.edit.cut", "剪切"),
("mark.edit.copy", "复制"),
("mark.edit.paste", "粘贴"),
("mark.edit.delete", "删除所选范围"),
("mark.menu.copy_as", "复制/粘贴为"),
("mark.menu.insert", "插入"),
("mark.copy.plain", "复制为纯文本"),
("mark.copy.html", "复制为 HTML 代码"),
("mark.link.open", "打开链接"),
("mark.link.copy", "复制链接地址"),
("mark.code.copy", "复制代码块内容"),
("mark.image.location", "打开图片位置"),
("mark.image.browser", "在浏览器中打开图片"),
("mark.image.delete", "删除图片"),
("mark.image.no_file", "这张图片在本机没有可显示的文件"),
("mark.block.edit", "编辑"),
("mark.block.delete", "删除 {block}"),
("mark.insert.image", "图像"),
("mark.insert.before", "段落(上方)"),
("mark.insert.after", "段落(下方)"),
("mark.kind.list", "列表"),
("mark.kind.alert", "警告框"),
("mark.kind.html", "HTML 内容"),
("mark.refused.no_image", "请先把插入点放在图片上"),
];