ControlledEditor starts off with all text highlighted
See original GitHub issueDescribe the bug I am using the ControlledEditor as part of a larger page. When opening the page, I have to scroll down to see the monaco editor, and when I get to it, all the text starts off highlighted. This is not so much a functional issue as much as just being a little annoying, but I’d still like to figure out why it’s happening.
To Reproduce
My code looks like
<ControlledEditor
height={props.height}
width={props.width}
value={props.value}
onChange={props.onChange}
language="mylanguage"
theme="dark"
/>
It’s not a problem with any of my custom language settings I’ve created bc I can comment those out and the issue remains. In fact I can remove everything except for the height, width, and value and I still have the issue. Has anyone else run into this?
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
I cannot stop text from getting highlighted - Microsoft Community
i will select text that i want to highlight, highlight it, then i turn highlighting off, but it keeps highlighting even though the...
Read more >Why is Text Highlighted in Grey in my Word Document ...
Question: Why is text still highlighted in grey after merging? ... Use Alt+F9 again to toggle off the display of the field codes....
Read more >How to turn off Auto highlight text in Vim editor? [closed]
Looks like you have the "highlight search" flag on and the last search was for typedef . You can turn the flag off...
Read more >How to Apply, Remove, and Find Highlighted Text in Word
Repeat this step with any other sections of text you want to highlight. When you're done, press the arrow next to the Text...
Read more >Why is my InDesign text highlighted in blue?
toggle style highlighting to control text highlighted in blue in InDesign. When that is on, InDesign highlights any text that has local formatting...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@albingroen @suren-atoyan looks good, thanks for all your help!
Hello guys
I’ve already fixed the issue. Please check the new version v3.7.3 (@albingroen it is not the one with multi-file editor API).
You can check @albingroen’s codesandbox demo with the updated version of the package.
@joshuacheng could you please check the new version in your app?
Thank you for your support!