src/js/extensions/table/mergedTableUI.js
function _changeContent(popupTableUtils) {
  const POPUP_CONTENT = [
    `<button type="button" class="te-table-add-row">${i18n.get('Add row')}</button>`,
    `<button type="button" class="te-table-add-col">${i18n.get('Add col')}</button>`,
    `<button type="button" class="te-table-remove-row">${i18n.get('Remove row')}</button>`,
    `<button type="button" class="te-table-remove-col">${i18n.get('Remove col')}</button>`,
    '<hr/>',
    `<button type="button" class="te-table-merge">${i18n.get('Merge cells')}</button>`,
    `<button type="button" class="te-table-unmerge">${i18n.get('Unmerge cells')}</button>`,
    '<hr/>',
    `<button type="button" class="te-table-col-align-left">${i18n.get('Align left')}</button>`,
    `<button type="button" class="te-table-col-align-center">${i18n.get('Align center')}</button>`,
    `<button type="button" class="te-table-col-align-right">${i18n.get('Align right')}</button>`,
    '<hr/>',
    `<button type="button" class="te-table-remove">${i18n.get('Remove table')}</button>`
  ].join('');
  const $popupContent = $(POPUP_CONTENT);

  popupTableUtils.setContent($popupContent);
}
function _changeContent(popupTableUtils) {
  const POPUP_CONTENT = [
    `<button type="button" class="te-table-add-row">${i18n.get('Add row')}</button>`,
    `<button type="button" class="te-table-add-col">${i18n.get('Add col')}</button>`,
    `<button type="button" class="te-table-remove-row">${i18n.get('Remove row')}</button>`,
    `<button type="button" class="te-table-remove-col">${i18n.get('Remove col')}</button>`,
    '<hr/>',
    `<button type="button" class="te-table-merge">${i18n.get('Merge cells')}</button>`,
    `<button type="button" class="te-table-unmerge">${i18n.get('Unmerge cells')}</button>`,
    '<hr/>',
    `<button type="button" class="te-table-col-align-left">${i18n.get('Align left')}</button>`,
    `<button type="button" class="te-table-col-align-center">${i18n.get('Align center')}</button>`,
    `<button type="button" class="te-table-col-align-right">${i18n.get('Align right')}</button>`,
    '<hr/>',
    `<button type="button" class="te-table-remove">${i18n.get('Remove table')}</button>`
  ].join('');
  const $popupContent = $(POPUP_CONTENT);

  popupTableUtils.setContent($popupContent);
}
function _changeContent ( popupTableUtils ) { const POPUP_CONTENT = [ ` ${ i18n . get ( 'Add row' ) } ` , ` ${ i18n . get ( 'Add col' ) } ` , ` ${ i18n . get ( 'Remove row' ) } ` , ` ${ i18n . get ( 'Remove col' ) } ` , '<hr/>' , ` ${ i18n . get ( 'Merge cells' ) } ` , ` ${ i18n . get ( 'Unmerge cells' ) } ` , '<hr/>' , ` ${ i18n . get ( 'Align left' ) } ` , ` ${ i18n . get ( 'Align center' ) } ` , ` ${ i18n . get ( 'Align right' ) } ` , '<hr/>' , ` ${ i18n . get ( 'Remove table' ) } ` ] . join ( '' ) ; const $popupContent = $ ( POPUP_CONTENT ) ; popupTableUtils . setContent ( $popupContent ) ; }
Change contextmenu content.
@param {object} popupTableUtils - PopupTableUtils instance for managing contextmenu of table
@private
Change contextmenu content .