Get rid of ViewListElement #2999
Labels
package:list
type:task
This issue reports a chore (non-production change) and other types of "todos".
Milestone
During view refactoring we want to prevent ability to extend element classes. This will allow us to have limited set of base classes to handle.
ViewListItemElement
is a class that only adds differentgetFillerOffset
function. This can be done by creating instance ofContainerElement
class and change itsgetFillerOffset
function to the custom one. This will work properly when element is cloned because it is cloned manually: https://github.com/ckeditor/ckeditor5-engine/blob/master/src/view/element.js#L187.The text was updated successfully, but these errors were encountered: