Render correct classes on leading/trailing whitespace spans
Assign invisibles via config in editor-view-spec