toggle editor should use try and catch

because some of them use the default plain editor