We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd431b6 commit 0217484Copy full SHA for 0217484
src/resources/editor/devserver/devserver-core.html
@@ -620,6 +620,12 @@ <h2 class="modal__title" id="quarto-log-error-modal-title">
620
window.parent.postMessage(event, '*');
621
});
622
}
623
+ // listen for execCommand messages
624
+ window.addEventListener("message", function (event) {
625
+ if (event.data.type === "devhost-exec-command") {
626
+ window.document.execCommand(event.data.data);
627
+ }
628
+ }, true);
629
630
const logEntries = new Array(1000);
631
logEntries.offset = 0;
0 commit comments