Conversion: Allows specyfing the priority for view element #4339
Labels
package:engine
type:feature
This issue reports a feature request (an idea for a new functionality or a missing option).
Milestone
When I was working on https://github.com/ckeditor/ckeditor5-highlight/issues/17 I noticed that there is no option for specifying the priority for the view element that will be created.
It means we cannot use two-way conversion methods like
elementToElement()
,attributeToElement()
orattributeToAttribute()
. Instead of we have to care aboutupcast
anddowncast
conversion manually. It means we cannot use the helpers that are using in two-way conversion.Would be nice to have an option for that. It simplify changes the priority element. We will have a single property instead of the whole block of code (which does not care about
upcastAlso
option.The text was updated successfully, but these errors were encountered: