开发者

Javascript, Firefox: how to disable the browser specific cell controls?

开发者 https://www.devze.com 2023-02-05 06:40 出处:网络
In Firefox: when placing the cursor into a table cell the browser will display 4 controls (one in the mid of each cell border). (The content is in editable mode.) How can those be disabled?

In Firefox: when placing the cursor into a table cell the browser will display 4 controls (one in the mid of each cell border). (The content is in editable mode.) How can those be disabled?

Thanks in开发者_运维问答 advance.


If you mean the controls you get on editable tables, you can disable these with the following command. It works in recent Firefox, at least:

document.execCommand("enableInlineTableEditing", null, false);
0

精彩评论

暂无评论...
验证码 换一张
取 消