added support for CKEditor inline mode