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

Upcast element to attribute defaults to 'low' priority instead of 'normal' #1611

Merged
merged 1 commit into from
Dec 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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