- From: Masayuki Nakano <notifications@github.com>
- Date: Thu, 12 Oct 2023 22:47:59 -0700
- To: w3c/editing <editing@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 13 October 2023 05:48:05 UTC
``` <script> addEventListener("load", () => { document.designMode = "on"; document.documentElement.editContext = new EditContext(); }, {once: true}); </script> ``` and/or ``` <script> addEventListener("load", () => { document.designMode = "on"; document.body.editContext = new EditContext(); }, {once: true}); </script> ``` Then, the document should work as currently? Or should it work as `EditContext` application? (I think that the latter is terrible if the document has multiple `<body>` elements.) -- Reply to this email directly or view it on GitHub: https://github.com/w3c/editing/issues/450 You are receiving this because you are subscribed to this thread. Message ID: <w3c/editing/issues/450@github.com>
Received on Friday, 13 October 2023 05:48:05 UTC