I am using CKEditor inline editing on a project and it's working beautifully except for one thing: if there is a link in the content, the user can't click the link because it goes into edit mode instead.
So I was wondering about an edit button such as a pencil which appears top right on hover and ckeditor is only initiated when it is clicked.
Could anyone guide me on a good way to do that?
Do I use jquery to take off the contenteditable attribute, then add my hover button and use the hover button to put back the content editable attribute and 'click' the div? Or is there a better way?

If a user can bring up inline
If a user can bring up inline editing mode, he's not a user but an admin, but I see your point. You'd like to give admins the option to experience the article like a normal user would. Drupal 8, which includes CKEditor, will have that feature. CKEditor on its own doesn't come with such a feature and I don't believe there's a custom plugin in the repo. You can always create a new feature request.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!