Fix editor toggle issue

https://bugzilla.redhat.com/show_bug.cgi?id=1154451