🐛 Fixed missing cursor and selection issues using editor on iOS

closes https://github.com/TryGhost/Ghost/issues/9378
- only disable element selection on the codemirror content on desktop
This commit is contained in:
Kevin Ansfield 2018-01-08 16:54:29 +00:00
parent 57c20d5aae
commit 99576c2da3

View File

@ -450,7 +450,10 @@
overflow: visible; overflow: visible;
padding: 0; padding: 0;
background: transparent; background: transparent;
}
/* Prevent confusing select behaviour, see https://github.com/TryGhost/Ghost/issues/9356 */ /* Prevent confusing select behaviour, see https://github.com/TryGhost/Ghost/issues/9356 */
.gh-editor .CodeMirror-code:not([contenteditable="true"]) {
user-select: none; user-select: none;
} }