Re: [w3c/editing] Edit text outside of <body> (Issue #405)

@johanneswilm Web apps needs to create the odd situation, which cannot be created by users.

There are some possible scenarios:

### Make the root editable and insert visible elements around `<body>`
1. Web apps make editable outside `<body>` with setting `designMode` to `on` or setting `<html>.contentEditable` to `true`
2. Insert a visible element before or after `<body>`.

### Make the elements can be in `<head>` and can have text visible and editable
1. Web apps make `<style>`, `<script>` or `<title>` in `<head>` visible and editable

### Append visible elements around `<body>`
1. Insert visible and editable element (e.g., `<div contenteditable>`) outside `<body>`

The last one is what the CKEditor did.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/405#issuecomment-1210301531
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/editing/issues/405/1210301531@github.com>

Received on Wednesday, 10 August 2022 07:56:57 UTC