ECMS-5356: Fix the problem displaying CKEditor Inline when switching mode