How can I remove the ugly default blue outline that Safari (Webkit) applies to CKEditor when the editor is focused?
Normally you can do this with CSS, but I'm not sure which element to apply the CSS to, ex:
I will be adding other visual cues to inform the user the editor is selected, but I REALLY want to get rid of that unsightly blue box.
Thanks.
Normally you can do this with CSS, but I'm not sure which element to apply the CSS to, ex:
textarea:focus { outline: none; }
I will be adding other visual cues to inform the user the editor is selected, but I REALLY want to get rid of that unsightly blue box.
Thanks.
Re: Remove focus outline in Safari / WebKit
Try to locate the element "span.cke_browser_gecko18" in the css-file of the skin, and add your "outline:none;" there. This rule also applies to safari/webkit.
/Peter
Re: Remove focus outline in Safari / WebKit
Note the
... if you leave that out, it will not work.
I have tested this and it works fine for both Safari and Google Chrome.
- Peter Schmalfeldt