X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/81dcf42eb0bd11110ec30ce3840718b259ec5082..5738327522a74f1a5458d9b568fdf28092aaba23:/edit/page.js diff --git a/edit/page.js b/edit/page.js index c9a6f1e..522d63e 100644 --- a/edit/page.js +++ b/edit/page.js @@ -39,6 +39,7 @@ CKEDITOR.plugins.add('inlinesave', { ajaxpost.send(data); }, }); + editor.setKeystroke(CKEDITOR.CTRL + 83 /*S*/, 'inlinesave'); editor.ui.addButton( 'Inlinesave', { command: 'inlinesave', label: editor.lang.save.toolbar, @@ -58,6 +59,17 @@ CKEDITOR.on('dialogDefinition', function (event) { infotab.remove('txtCellSpace'); infotab.remove('txtCellPad'); infotab.remove('cmbAlign'); + + // horizontal repositioning of existing elements + var hbox = { + id: 'hboxDimensions', + type: 'hbox', + children: [ infotab.get('txtCols'), infotab.get('txtRows') ], + }; + infotab.add(hbox, 'selHeaders'); + infotab.remove('txtCols'); + infotab.remove('txtRows'); + break; case 'link': // hide unneeded widgets from the Link Info tab