Last active
December 4, 2022 12:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Google Apps Script editor | |
// Based on https://stackoverflow.com/a/62184934/1637178 | |
var sts = document.querySelectorAll('head > style'); | |
var st = sts[sts.length - 1]; | |
var tc = st.textContent; | |
tc = tc + "\n.monaco-editor .cursors-layer .cursor { visibility: visible !important; }"; | |
st.textContent = tc; | |
// ACE editor | |
const addCss = text => { | |
const style = document.createElement("style"); | |
style.innerHTML = text; | |
document.querySelector('head').appendChild(style); | |
} | |
/* dbdiagram disable cursor blink */ | |
addCss('.ace_cursor { opacity: 1 !important; }'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment