Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
924 views
in Plugins by
CKEditor 4 plugin - How to have inline editing only for creator of post (the user) but not for admin?

Sometimes I run into problems.

 

PS: e.g. the embed plugin of NoahY does not work with inline editing. Having a youtube link in the text gets normally parsed, but with inline editing it does not - as the editor takes over.

Still searching for a good solution on that...

1 Answer

+2 votes
by

Ah, just changed in qa-ckeditor4-layer.php:

if(qa_opt('ckeditor4_inline_editing')&&!qa_is_mobile_probably()) {

to:

if(qa_opt('ckeditor4_inline_editing')&&!qa_is_mobile_probably() && qa_get_logged_in_level()<= QA_USER_LEVEL_ADMIN) {

...