admin管理员组

文章数量:1318580

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);

本文标签: javascriptFirefox how to disable the browser specific cell controlsStack Overflow