ckeditor installed and posts logic