mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb+WebContent+UI: Port text pasting to UTF-16
This commit is contained in:
parent
ca082d6d73
commit
efa9311527
Notes:
github-actions[bot]
2025-09-19 10:39:52 +00:00
Author: https://github.com/trflynn89
Commit: efa9311527
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6228
15 changed files with 19 additions and 20 deletions
|
|
@ -1076,7 +1076,7 @@ void ConnectionFromClient::find_in_page_previous_match(u64 page_id)
|
|||
async_did_find_in_page(page_id, result.current_match_index, result.total_match_count);
|
||||
}
|
||||
|
||||
void ConnectionFromClient::paste(u64 page_id, String text)
|
||||
void ConnectionFromClient::paste(u64 page_id, Utf16String text)
|
||||
{
|
||||
if (auto page = this->page(page_id); page.has_value())
|
||||
page->page().focused_navigable().paste(text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue