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

@ -2576,7 +2576,7 @@ void Navigable::select_all()
}
}
void Navigable::paste(String const& text)
void Navigable::paste(Utf16String const& text)
{
auto document = active_document();
if (!document)

View file

@ -196,7 +196,7 @@ public:
String selected_text() const;
void select_all();
void paste(String const&);
void paste(Utf16String const&);
Web::EventHandler& event_handler() { return m_event_handler; }
Web::EventHandler const& event_handler() const { return m_event_handler; }