Revert "Change conditional check for ckeditor."

This reverts commit 12a9840743a30f41bd7627b7f5e1466ec1465686.