最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

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

matteradmin10PV0评论

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);
Post a comment

comment list (0)

  1. No comments so far