Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 770
Thomas Avatar asked Jan 19 '11 15:01

Thomas


1 Answers

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

document.execCommand("enableInlineTableEditing", null, false);
like image 140
Tim Down Avatar answered Oct 26 '22 23:10

Tim Down