When looking for parent elements, do not traverse past the nearest containing medium editor.
Merge pull request #303 from yacomink/master

Scope findMatchingSelectionParent to current editor