Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the "title" attribute that the CKEditor 4 add automatically on inline editing?

When using CKEditor 4 Inline Editing on a object the CKEditor add a "Title" attribute that include a text and the object id.

e.g. In the CKEditor inline example we can see the next code:

<h2 id="inline-sampleTitle" title="Rich Text Editor, inline-sampleTitle"....>CKEditor<br>Goes Inline!</h2>

I like to remove the "title" attribute because i do not like the user to see it (my id is more complicated :) ).

Note: I was trying to remove it manually after the CKEditor create it using jQuery "removeAttr" function but this solution is not really good for me because in IE browsers the user still see it in the first time and it will remove only after the user mouse out from the object.

like image 203
Roy Shoa Avatar asked Feb 06 '13 14:02

Roy Shoa


2 Answers

CKEDITOR.config.title = false;

For More Details Visit this

like image 119
Rajeev Sharma Avatar answered Sep 24 '22 11:09

Rajeev Sharma


You can find here some details: How can I change the title ckeditor sets for inline instances?

Unfortunately, you cannot change it without modifying the code. I reported ticket for this http://dev.ckeditor.com/ticket/10042

like image 39
Reinmar Avatar answered Sep 24 '22 11:09

Reinmar