File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -450,7 +450,7 @@ function addInsertBarItems(config, submenu) {
450450
451451 let linkItem = ( visibility . insertBar && insertBar . link ) || link
452452 let imageItem = ( visibility . insertBar && insertBar . image ) || image
453- let tableItem = ( visibility . insertBar && insertBar . table ) || table
453+ let tableItem = ( visibility . insertBar && insertBar . tableMenu ) || table
454454
455455 if ( linkItem || imageItem || tableItem ) {
456456 if ( linkItem ) {
@@ -475,8 +475,7 @@ function addInsertBarItems(config, submenu) {
475475}
476476
477477function addTableSubmenu ( config , submenu ) {
478- let { tableMenu} = config . toolbar
479- let { header, border} = tableMenu
478+ let { header, border} = config . toolbar . tableMenu
480479
481480 let dropdown = { label : 'Table' }
482481 let dropdownmenu = [ ]
You can’t perform that action at this time.
0 commit comments