开发者

Contenteditable table row,column modifier [duplicate]

开发者 https://www.devze.com 2023-01-20 06:19 出处:网络
This question already has an answer here: Javascript, Firefox: how to disable the browser specific cell controls?
This question already has an answer here: Javascript, Firefox: how to disable the browser specific cell controls? (1 answer) Closed 3 years ago.

Is there anyway to not display the row and column modific开发者_运维问答ation (the 2 arrows and cross) when making a table editable. I went through the W3C draft for contenteditable and it doesn't talk anything about the specific cases of different elements.


If I understand you correctly, the following will do it in Firefox (note: apparently the document must be loaded before this command can be executed. See comments below):

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

See also this question: Javascript, Firefox: how to disable the browser specific cell controls?

0

精彩评论

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