projects
/
ckeditor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a1afd8b
)
jslint
ckeditor4
author
Benoît Pin
<benoit.pin@gmail.com>
Fri, 1 Aug 2014 08:47:12 +0000
(10:47 +0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Fri, 1 Aug 2014 08:47:12 +0000
(10:47 +0200)
skins/ckeditor/plugins/plinn_styles/plugin.js
patch
|
blob
|
history
diff --git
a/skins/ckeditor/plugins/plinn_styles/plugin.js
b/skins/ckeditor/plugins/plinn_styles/plugin.js
index
742a40a
..
835b08b
100644
(file)
--- a/
skins/ckeditor/plugins/plinn_styles/plugin.js
+++ b/
skins/ckeditor/plugins/plinn_styles/plugin.js
@@
-38,18
+38,18
@@
PlinnStylesCombo.prototype.init = function() {
for (i=0 ; i < this.styles.length ; i++) {
style = this.styles[i];
this.add(style.name,
for (i=0 ; i < this.styles.length ; i++) {
style = this.styles[i];
this.add(style.name,
-
'<div class="' + style.className + '">' +
- style.name +
-
'</div>',
-
style.name
- );
+ '<div class="' + style.className + '">' +
+ style.name +
+ '</div>',
+ style.name
+ );
}
};
PlinnStylesCombo.prototype.onClick = function(value) {
this.editor.focus();
this.editor.fire('saveSnapshot');
}
};
PlinnStylesCombo.prototype.onClick = function(value) {
this.editor.focus();
this.editor.fire('saveSnapshot');
- var style = this.styles[value]
+ var style = this.styles[value]
;
var className = style.className;
var ranges = this.editor.getSelection().getRanges();
var element = this.editor.elementPath().lastElement;
var className = style.className;
var ranges = this.editor.getSelection().getRanges();
var element = this.editor.elementPath().lastElement;