표 편집 핸들 설정

2.3.0 버전부터 지원합니다.

editor.table.handle 설정을 사용하여 표 편집 핸들을 활성화하거나 비활성화할 수 있습니다. (기본값: true)

false로 설정하면 행/열 선택 및 추가 핸들이 숨겨집니다.

// synapeditor.config.js
{
  'editor.table.handle': true
}
editor.table.handle: true (기본값)editor.table.handle: false
Table handle onTable handle off

editor.table.handle이 false로 설정된 경우에도 "표 편집 풍선팝업"에 행/열 추가 버튼과 같은 기능을 추가하여 원활하게 편집할 수 있습니다. 풍선팝업 설정을 참고합니다.

예시: 표 편집 풍선팝업 구성

// 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'
    ]
  }
}

1.00

관련 정보