Improve performance of getSelectedBlocks
#17629
Labels
type:improvement
This issue reports a possible enhancement of an existing feature.
Milestone
One of the features of the
getSelectedBlocks
method is that it doesn't return children of the block elements. However, we currently still iterate over them, which adds unnecessary overhead.We should update the implementation so that we jump over these child elements, straight to the end of the block element.
The text was updated successfully, but these errors were encountered: