@@ -90,7 +90,8 @@ export default class DataController {
* @member {module:engine/conversion/downcastdispatcher~DowncastDispatcher}
*/
this.downcastDispatcher = new DowncastDispatcher( {
- mapper: this.mapper
+ mapper: this.mapper,
+ schema: model.schema
} );
this.downcastDispatcher.on( 'insert:$text', insertText(), { priority: 'lowest' } );
@@ -65,7 +65,8 @@ export default class EditingController {
* @member {module:engine/conversion/downcastdispatcher~DowncastDispatcher} #downcastDispatcher
const doc = this.model.document;