mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibDevTools+LibWebView+WebContent: Implement editing DOM node HTML
These commands are used for the "Edit As HTML" feature in DevTools. This renames our existing HTML getter IPC to indicate that it is for outer HTML. DevTools will need a separate inner HTML getter.
This commit is contained in:
parent
aca4385daf
commit
d75eadc3c4
Notes:
github-actions[bot]
2025-03-11 13:52:05 +00:00
Author: https://github.com/trflynn89
Commit: d75eadc3c4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3898
11 changed files with 155 additions and 32 deletions
|
@ -371,7 +371,7 @@ void WebContentClient::did_get_dom_node_html(u64 page_id, String html)
|
|||
{
|
||||
if (auto view = view_for_page_id(page_id); view.has_value()) {
|
||||
if (view->on_received_dom_node_html)
|
||||
view->on_received_dom_node_html(html);
|
||||
view->on_received_dom_node_html(move(html));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue