mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
Ladybird: Add "Copy" and "Select All" actions to the Edit menu
This commit is contained in:
parent
b79bc25a1f
commit
9c7e26b8d4
4 changed files with 45 additions and 1 deletions
|
@ -1120,3 +1120,13 @@ void WebContentView::notify_server_did_get_accessibility_tree(DeprecatedString c
|
|||
{
|
||||
dbgln("TODO: support accessibility tree in Ladybird");
|
||||
}
|
||||
|
||||
DeprecatedString WebContentView::selected_text()
|
||||
{
|
||||
return client().get_selected_text();
|
||||
}
|
||||
|
||||
void WebContentView::select_all()
|
||||
{
|
||||
client().async_select_all();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue