Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1611 from ckeditor/t/ckeditor5/1399
Browse files Browse the repository at this point in the history
Other: Upcast element to attribute defaults to `low` priority instead of `normal`. Closes ckeditor/ckeditor5#1399.
  • Loading branch information
scofalik authored Dec 13, 2018
2 parents 69dcab5 + 876e349 commit c33c49c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/conversion/conversion.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ export default class Conversion {
upcastElementToAttribute( {
view,
model,
priority: definition.priority
converterPriority: definition.priority
} )
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/conversion/upcast-converters.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export function upcastElementToAttribute( config ) {
const eventName = elementName ? 'element:' + elementName : 'element';

return dispatcher => {
dispatcher.on( eventName, converter, { priority: config.converterPriority || 'normal' } );
dispatcher.on( eventName, converter, { priority: config.converterPriority || 'low' } );
};
}

Expand Down

0 comments on commit c33c49c

Please sign in to comment.