MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / insertHtml

Method insertHtml

gui/nbrowserwindow.cpp:1346–1350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1344
1345
1346void NBrowserWindow::insertHtml(QString html) {
1347 QString script = QString("document.execCommand('insertHtml', false, '%1');").arg(html);
1348 editor->page()->mainFrame()->evaluateJavaScript(script);
1349 microFocusChanged();
1350}
1351
1352
1353// The font name list was selected

Callers 1

htmlEntitiesClickedMethod · 0.80

Calls 1

QStringClass · 0.50

Tested by

no test coverage detected