Dan Brown

Fixed table cell p tag spacing and de-duped editor shortcuts

Also changed shortcuts to be better compatible with OSX by using the
command key.
......@@ -54,10 +54,10 @@ function registerEditorShortcuts(editor) {
}
// Other block shortcuts
editor.addShortcut('ctrl+q', '', ['FormatBlock', false, 'blockquote']);
editor.addShortcut('ctrl+d', '', ['FormatBlock', false, 'p']);
editor.addShortcut('ctrl+e', '', ['FormatBlock', false, 'pre']);
editor.addShortcut('ctrl+s', '', ['FormatBlock', false, 'code']);
editor.addShortcut('meta+q', '', ['FormatBlock', false, 'blockquote']);
editor.addShortcut('meta+d', '', ['FormatBlock', false, 'p']);
editor.addShortcut('meta+e', '', ['FormatBlock', false, 'pre']);
editor.addShortcut('meta+shift+E', '', ['FormatBlock', false, 'code']);
}
var mceOptions = module.exports = {
......
......@@ -28,4 +28,7 @@ table {
padding: 4px 6px;
border: 1px solid #DDD;
}
td p, th p {
margin: 0;
}
}
\ No newline at end of file
......