fixing bug of activate/deactivate editor without initing the plugin
Merge pull request #107 from swolfod/master

fixing bug of activate/deactivate editor without initing the plugin