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
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.
See for example:
https://github.com/ckeditor/ckeditor-dev/blob/fc149eeb4b92ba9ea64c6becee9e0ddff906097f/plugins/wysiwygarea/plugin.js#L554-L558