LibWeb+WebContent+UI: Port text pasting to UTF-16

This commit is contained in:
Timothy Flynn 2025-09-18 09:18:54 -04:00 committed by Tim Flynn
parent ca082d6d73
commit efa9311527
Notes: github-actions[bot] 2025-09-19 10:39:52 +00:00
15 changed files with 19 additions and 20 deletions

View file

@ -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);