Re: [w3c/editing] INPUT/TEXTAREA should support subset of execCommand (#160)

> Sounds like there should be a command to disable/enable undo of HTML editors?

Well, we want to get away from having to execute commands to be able to use editors the way we have had to do a while with Firefox. We have a resolution to create a `contenteditable-disable`-attribute [1]. I think this may be the time to start working on a first list. In your example, it would be something like this:

```
<div contenteditable contenteditable-disabled="history">
  <p><br></p>
  <div contenteditable="false">
    <p>Something: <span contenteditable contenteditable-disabled="history">value</span></p>
  </div>
</div>
```
And this should make sure that actions in either of these are not added to the global undo stack. I will try to present a first list over the course of the next week.

[1] https://www.w3.org/2017/11/07-editing-minutes.html#resolution01

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

Received on Sunday, 10 June 2018 18:21:39 UTC