Introduce Position#getCommonAncestor( otherPosition ) and Range#getCommonAncestor() #4105
Labels
package:engine
type:feature
This issue reports a feature request (an idea for a new functionality or a missing option).
Milestone
In order to properly resolve this ticket – https://github.com/ckeditor/ckeditor5-typing/issues/61#issuecomment-313341258 – we need to introduce two methods:
Position#getCommonAncestor( otherPosition )
- should return the common ancestor for two positions,Range#getCommonAncestor()
- should return the common ancestor for the range's positions.The text was updated successfully, but these errors were encountered: