Explorar el Código

Make $text an inline element in the schema.

Maciej Gołaszewski hace 7 años
padre
commit
2090d8ec91
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      packages/ckeditor5-engine/src/model/model.js

+ 2 - 1
packages/ckeditor5-engine/src/model/model.js

@@ -94,7 +94,8 @@ export default class Model {
 			isBlock: true
 		} );
 		this.schema.register( '$text', {
-			allowIn: '$block'
+			allowIn: '$block',
+			isInline: true
 		} );
 		this.schema.register( '$clipboardHolder', {
 			allowContentOf: '$root',