eliminate CodeMirror cursors on save

main
Mike Fix 5 years ago
parent 0c9490a077
commit 365d900445

@ -162,10 +162,14 @@ class Editor extends React.Component {
}, },
filter: n => { filter: n => {
if (n.className) { if (n.className) {
if (String(n.className).indexOf('eliminateOnRender') > -1) { const className = String(n.className)
if (className.includes('eliminateOnRender')) {
return false return false
} }
if (String(n.className).indexOf('twitter-png-fix') > -1) { if (className.includes('CodeMirror-cursors')) {
return false
}
if (className.includes('twitter-png-fix')) {
return includeTransparentRow return includeTransparentRow
} }
} }

Loading…
Cancel
Save