mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user