Use class instead of instanceof to check if the active view is an editor

This supports the ReactEditorView in addition to the legacy EditorView.
Prepare 0.107.0 release