|
|
@@ -167,35 +167,32 @@ body.on-edit {
|
|
|
}
|
|
|
|
|
|
// add icon on cursor
|
|
|
+ .markdown-table-activated, .markdown-link-activated {
|
|
|
+ .CodeMirror-cursor {
|
|
|
+ &:after {
|
|
|
+ position: relative;
|
|
|
+ top: -1.1em;
|
|
|
+ left: 0.3em;
|
|
|
+ display: block;
|
|
|
+ width: 1em;
|
|
|
+ height: 1em;
|
|
|
+ content: ' ';
|
|
|
+
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-size: 1em;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
.markdown-table-activated .CodeMirror-cursor {
|
|
|
&:after {
|
|
|
- position: relative;
|
|
|
- top: -1.1em;
|
|
|
- left: 0.3em;
|
|
|
- display: block;
|
|
|
- width: 1em;
|
|
|
- height: 1em;
|
|
|
- content: ' ';
|
|
|
-
|
|
|
background-image: url(/images/icons/editor/table.svg);
|
|
|
- background-repeat: no-repeat;
|
|
|
- background-size: 1em;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.markdown-link-activated .CodeMirror-cursor {
|
|
|
&:after {
|
|
|
- position: relative;
|
|
|
- top: -1.1em;
|
|
|
- left: 0.3em;
|
|
|
- display: block;
|
|
|
- width: 1em;
|
|
|
- height: 1em;
|
|
|
- content: ' ';
|
|
|
-
|
|
|
background-image: url(/images/icons/editor/link.svg);
|
|
|
- background-repeat: no-repeat;
|
|
|
- background-size: 1em;
|
|
|
}
|
|
|
}
|
|
|
|