Index: _source/plugins/enterkey/plugin.js
===================================================================
--- _source/plugins/enterkey/plugin.js (revision 6950)
+++ _source/plugins/enterkey/plugin.js (revision )
@@ -58,8 +58,14 @@
}
}
// Don't split
if we're in the middle of it, act as shift enter key.
- else if ( !atBlockEnd && block && block.is( 'pre' ) )
- enterBr( editor, mode, range, forceMode );
+ else if ( block && block.is( 'pre' ) )
+ {
+ if ( !atBlockEnd )
+ return enterBr( editor, mode, range, forceMode );
+ }
+ // Don't split caption block, like and