Hi
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.
I also wanted to get rid of
I also wanted to get rid of this unnecessary addition. It does not look very good to end users, it looks more like some debug code that was accidentally left in. So I fiddled around and found the following code to be quite effective for getting rid of them in all instances before they're visible to the browser:
Hope that helps.
For your information, this
For your information, this issue is tracked as ticket #10042.
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Thanks!!!
Thanks waveform your solutions is working grate for now.
Fix exists in v4.2
Hi,
This could be a little late but wanted to post to help others.
Got it off the api documentation
config.title = false; - add this line in the config,js file to remove the title from showing up.
Alternatively, I think we can set the title dynamically in the code behind as follows
editorID.config.extraOptions["title"] = "Dynamic Title";
Hope this helps
Works great!
Works great!
CKEDITOR.inline("editorID",{
on: {
instanceReady: function(event){
$(event.editor.element.$).removeAttr("title");
}
});
You don't need to hack it.
You don't need to hack it. There's a config option for that - config.title.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+