Moved editor() function for editor option type to core from pro.