Kamil Piechaczek пре 7 година
родитељ
комит
c02e1a735c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/ckeditor5-enter/src/shiftentercommand.js

+ 1 - 1
packages/ckeditor5-enter/src/shiftentercommand.js

@@ -111,7 +111,7 @@ function insertBreak( writer, position ) {
 // @returns {Boolean}
 function isInsideLimitElement( element, schema ) {
 	// `$root` is a limit element but in this case is an invalid element.
-	if ( element.is( 'rootElement') ) {
+	if ( element.is( 'rootElement' ) ) {
 		return false;
 	}