最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin0浏览0评论

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);
发布评论

评论列表(0)

  1. 暂无评论