Skip to content

Conversation

@lotrien
Copy link
Member

@lotrien lotrien commented Jan 4, 2018

In case of CodeMirror has readOnly 'nocursor' option the text cannot
be copied because CodeMirror loose its focus. That basically menas we
can't use this option and we need to use some sort of workaround. One
way to solve this is by using readOnly true option and hidding
the blinking cursor with css rule.

In case of CodeMirror has readOnly 'nocursor' option the text cannot
be copied because CodeMirror loose its focus. That basically menas we
can't use this option and we need to use some sort of workaround. One
way to solve this is by using readOnly true option and hidding
the blinking cursor with css rule.
@lotrien lotrien requested a review from ikalnytskyi January 4, 2018 22:09
@ikalnytskyi ikalnytskyi merged commit 91068c2 into master Jan 4, 2018
@ikalnytskyi ikalnytskyi deleted the copy-paste-fix branch January 4, 2018 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants