Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.5.3
[ckeditor.git]
/
_source
/
plugins
/
link
/
plugin.js
diff --git
a/_source/plugins/link/plugin.js
b/_source/plugins/link/plugin.js
index
ac62901
..
e5b7044
100644
(file)
--- a/
_source/plugins/link/plugin.js
+++ b/
_source/plugins/link/plugin.js
@@
-1,5
+1,5
@@
/*
\r
/*
\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
\r
@@
-30,6
+30,7
@@
CKEDITOR.plugins.add( 'link',
CKEDITOR.dialog.add( 'anchor', this.path + 'dialogs/anchor.js' );
\r
\r
// Add the CSS styles for anchor placeholders.
\r
CKEDITOR.dialog.add( 'anchor', this.path + 'dialogs/anchor.js' );
\r
\r
// Add the CSS styles for anchor placeholders.
\r
+ var side = editor.lang.dir == 'rtl' ? 'right' : 'left';
\r
editor.addCss(
\r
'img.cke_anchor' +
\r
'{' +
\r
editor.addCss(
\r
'img.cke_anchor' +
\r
'{' +
\r
@@
-43,10
+44,10
@@
CKEDITOR.plugins.add( 'link',
'a.cke_anchor' +
\r
'{' +
\r
'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/anchor.gif' ) + ');' +
\r
'a.cke_anchor' +
\r
'{' +
\r
'background-image: url(' + CKEDITOR.getUrl( this.path + 'images/anchor.gif' ) + ');' +
\r
- 'background-position: 0 center;' +
\r
+ 'background-position: ' + side + ' center;' +
\r
'background-repeat: no-repeat;' +
\r
'border: 1px solid #a9a9a9;' +
\r
'background-repeat: no-repeat;' +
\r
'border: 1px solid #a9a9a9;' +
\r
- 'padding-left: 18px;' +
\r
+ 'padding-' + side + ': 18px;' +
\r
'}'
\r
);
\r
\r
'}'
\r
);
\r
\r