TinyMCE fixes from azaozz. fixes #6272

git-svn-id: https://develop.svn.wordpress.org/trunk@7378 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-03-18 06:59:53 +00:00
parent 88d5595024
commit 271613bd3e
20 changed files with 147 additions and 65 deletions
@@ -102,6 +102,10 @@
// Add listeners to handle more break
t._handleMoreBreak(ed, url);
ed.onPostProcess.add(function(se, o) {
o.content = o.content.replace(/\r?\n/g, ' ');
});
// Add custom shortcuts
ed.addShortcut('alt+shift+c', ed.getLang('justifycenter_desc'), 'JustifyCenter');
ed.addShortcut('alt+shift+r', ed.getLang('justifyright_desc'), 'JustifyRight');