File tree Expand file tree Collapse file tree 5 files changed +10
-4
lines changed Expand file tree Collapse file tree 5 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 7
7
< link rel ="stylesheet " href ="bower_components/codemirror/lib/codemirror.css ">
8
8
< script src ="bower_components/codemirror/mode/xml/xml.js "> </ script >
9
9
10
- < script src ="philsweb.jquery-codemirror.min. js "> </ script >
10
+ < script src ="philsweb.jquery-codemirror.js "> </ script >
11
11
< link rel ="stylesheet " href ="philsweb.codemirror.css ">
12
12
13
13
< style >
Original file line number Diff line number Diff line change 20
20
float : right;
21
21
}
22
22
23
- .codemirror-button : hover {
24
- font-weight : bold;
23
+ .copy-to-clipboard {
24
+ width : 15px ;
25
+ height : 15px ;
26
+ background-image : url ("img/icon.copy.png" );
27
+ }
28
+
29
+ .copy-to-clipboard : hover {
30
+ background-image : url ("img/icon.copy.hover.png" );
25
31
}
Original file line number Diff line number Diff line change 90
90
// Buttons
91
91
var buttonsWrapper = $ ( '<div>' ) ;
92
92
var buttons = $ ( '<div>' ) ;
93
- var copyToClipboardButton = $ ( '<div> Copy to clipboard</div >' ) ;
93
+ var copyToClipboardButton = $ ( '<div title=" Copy to clipboard" >' ) ;
94
94
$ ( this ) . prepend ( buttonsWrapper . addClass ( "codemirror-buttons-wrapper" ) . append (
95
95
buttons . addClass ( "codemirror-buttons" ) . append (
96
96
copyToClipboardButton . addClass ( "codemirror-button" ) . addClass ( "copy-to-clipboard" )
You can’t perform that action at this time.
0 commit comments