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

In Firefox: when placing the cursor into a table cell the browser will display 4 controls (one in the m

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.

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.

Share Improve this question edited Jan 19, 2011 at 15:54 T.J. Crowder 1.1m200 gold badges2k silver badges1.9k bronze badges asked Jan 19, 2011 at 15:22 ThomasThomas 812 bronze badges 3
  • 3 Huh? Which controls? I've never seen those. Can you show a screenshot? – Marcel Korpel Commented Jan 19, 2011 at 15:26
  • I assume he's talking about editable content, using contenteditable or designMode. – Tim Down Commented Jan 19, 2011 at 15:34
  • You can edit your question once you've realized you forgot to mention something important. I added a note for you about editable mode. – T.J. Crowder Commented Jan 19, 2011 at 15:55
Add a ment  | 

1 Answer 1

Reset to default 11

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

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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742047092a4386337.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信