Update editor other cursor classes and adding option for other cursors features in CodeMirror

This commit is contained in:
Wu Cheng-Han
2016-11-28 01:20:23 +08:00
parent bd3d4958e4
commit 3a305b8258
5 changed files with 56 additions and 46 deletions

View File

@@ -241,16 +241,7 @@ body {
.dropdown-menu > li > a {
cursor: pointer;
}
.other-cursors {
position:relative;
z-index:3;
}
.other-cursor {
width: 0px;
position: absolute;
border-right: none;
}
.dropdown-menu.other-cursor {
.dropdown-menu.CodeMirror-other-cursor {
transition: none;
}
.cursortag {
@@ -288,7 +279,7 @@ div[contenteditable]:empty:not(:focus):before{
.dropdown-menu .emoji {
margin-bottom: 0 !important;
}
.dropdown-menu.other-cursor {
.dropdown-menu.CodeMirror-other-cursor {
max-height: 50vh;
width: auto !important;
overflow: auto;