isActive()) { $ck = elgg_get_plugin_from_id('ckeditor'); if ($ck instanceof \ElggPlugin) { $ck->activate(); } $tiny->deactivate(); }