added support for the ckeditor readonly mode