implement copy link text, selected text, add link to the bookmarks (context menu) items; group menu items

This commit is contained in:
yggverse 2026-03-11 01:41:48 +02:00
parent c95cb6e756
commit bb08b7cb9a
7 changed files with 295 additions and 77 deletions

View file

@ -357,8 +357,8 @@ fn handle(
page.content.to_text_source(data)
} else {
match m.as_str() {
"text/gemini" => page.content.to_text_gemini(&uri, data),
"text/markdown" => page.content.to_text_markdown(&uri, data),
"text/gemini" => page.content.to_text_gemini(&page.profile, &uri, data),
"text/markdown" => page.content.to_text_markdown(&page.profile, &uri, data),
"text/plain" => page.content.to_text_plain(data),
_ => panic!() // unexpected
}