Detect ckeditor location using libraries API