[w3c/editing] make need of execCommand to hide table controls go away on FF (#171)

On Firefox, one needs to execute these two execCommands globally to make table controls go away. Table controls are generally implemented in JavaScript anyway, and this makes the Firefox implementation work differently than any other browser.

Can we make it clear that there should be no table controls to begin with, as is the case on all browsers except Firefox? All known editors execute these two commands after loading a page to make the table commands go away. Apparently these are global settings that work for all tables on a page.

```
 document.execCommand("enableObjectResizing", false, false) 
 document.execCommand("enableInlineTableEditing", false, false) 
```

See for example:

https://github.com/ckeditor/ckeditor-dev/blob/fc149eeb4b92ba9ea64c6becee9e0ddff906097f/plugins/wysiwygarea/plugin.js#L554-L558

-- 
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/171

Received on Sunday, 8 October 2017 18:12:19 UTC