Table Edit Handle Settings

Release 2.3.0 and above.

Use the editor.table.handle setting to enable or disable the table handle. (default: true)

When set to false, the row/column selection and insertion handles are hidden.

// synapeditor.config.js
{
  'editor.table.handle': true
}
<table> <thead> <tr><th><code>editor.table.handle: true</code> (default)</th><th><code>editor.table.handle: false</code></th></tr> </thead> <tbody> <tr> <td>

Table handle on

</td> <td>

Table handle off

</td> </tr> </tbody> </table>

When editor.table.handle is set to false, you can still edit smoothly by adding features such as row/column insertion buttons to the "Table Edit Balloon Popup". See Balloon Popup Settings.

Example: Table edit balloon popup configuration

// synapeditor.config.js
{
  'editor.table.handle': false,
  'editor.balloon': {
    'tableCell': [
      'formulaInput', '-', 'fill', 'selectBorder', 'borderColor',
      'lineThickness', 'lineStyle', 'fitTableWidth', '-',
      'insertRowBefore', 'insertRowAfter', 'insertColBefore', 'insertColAfter',
      'deleteRow', 'deleteCol', 'deleteTable', '-',
      'contentsAlign', 'verticalAlign', 'cellSize', 'mergeCell', 'splitCell',
      'cellProperties', 'tableProperties'
    ]
  }
}

Balloon popup example

Related