Skip to content

Commit 85c7874

Browse files
committed
Change icon class prefix to editor-icon
1 parent df27f52 commit 85c7874

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

src/intro.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function createIcon(name, options) {
4242
}
4343
}
4444

45-
el.className = options.className || 'icon-' + name;
45+
el.className = options.className || 'editor-icon-' + name;
4646
return el;
4747
}
4848

vendor/icomoon/style.css

+19-19
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
/*
2626
Instead of a list of all class selectors,
2727
you can use the generic selector below, but it's slower:
28-
[class*="icon-"] {
28+
[class*="editor-icon-"] {
2929
*/
30-
.icon-bold, .icon-italic, .icon-quote, .icon-unordered-list, .icon-ordered-list, .icon-link, .icon-image, .icon-play, .icon-music, .icon-contract, .icon-fullscreen, .icon-question, .icon-info, .icon-undo, .icon-redo, .icon-code, .icon-preview {
30+
.editor-icon-bold, .editor-icon-italic, .editor-icon-quote, .editor-icon-unordered-list, .editor-icon-ordered-list, .editor-icon-link, .editor-icon-image, .editor-icon-play, .editor-icon-music, .editor-icon-contract, .editor-icon-fullscreen, .editor-icon-question, .editor-icon-info, .editor-icon-undo, .editor-icon-redo, .editor-icon-code, .editor-icon-preview {
3131
font-family: 'icomoon';
3232
speak: none;
3333
font-style: normal;
@@ -37,54 +37,54 @@ you can use the generic selector below, but it's slower:
3737
line-height: 1;
3838
-webkit-font-smoothing: antialiased;
3939
}
40-
.icon-bold:before {
40+
.editor-icon-bold:before {
4141
content: "\e000";
4242
}
43-
.icon-italic:before {
43+
.editor-icon-italic:before {
4444
content: "\e001";
4545
}
46-
.icon-quote:before {
46+
.editor-icon-quote:before {
4747
content: "\e003";
4848
}
49-
.icon-unordered-list:before {
49+
.editor-icon-unordered-list:before {
5050
content: "\e004";
5151
}
52-
.icon-ordered-list:before {
52+
.editor-icon-ordered-list:before {
5353
content: "\e005";
5454
}
55-
.icon-link:before {
55+
.editor-icon-link:before {
5656
content: "\e006";
5757
}
58-
.icon-image:before {
58+
.editor-icon-image:before {
5959
content: "\e007";
6060
}
61-
.icon-play:before {
61+
.editor-icon-play:before {
6262
content: "\e008";
6363
}
64-
.icon-music:before {
64+
.editor-icon-music:before {
6565
content: "\e009";
6666
}
67-
.icon-contract:before {
67+
.editor-icon-contract:before {
6868
content: "\e00a";
6969
}
70-
.icon-fullscreen:before {
70+
.editor-icon-fullscreen:before {
7171
content: "\e00b";
7272
}
73-
.icon-question:before {
73+
.editor-icon-question:before {
7474
content: "\e00c";
7575
}
76-
.icon-info:before {
76+
.editor-icon-info:before {
7777
content: "\e00d";
7878
}
79-
.icon-undo:before {
79+
.editor-icon-undo:before {
8080
content: "\e00e";
8181
}
82-
.icon-redo:before {
82+
.editor-icon-redo:before {
8383
content: "\e00f";
8484
}
85-
.icon-code:before {
85+
.editor-icon-code:before {
8686
content: "\e011";
8787
}
88-
.icon-preview:before {
88+
.editor-icon-preview:before {
8989
content: "\e002";
9090
}

0 commit comments

Comments
 (0)