When you do cmd+f in the Monaco Editor, you get the find/search box appear.

Is there a way to have this open when the editor loads, with pre-populated text?

  • Are you just using the editor or are you hosting an instance of the editor in your own applicaton?– heavydAug 2 '17 at 20:04
  • I'm hosting the editor within a React application. I appear to have access to a lot or public methods on the react instance, it's just unclear whether it's possible or not!– owennicolAug 2 '17 at 21:44
  • Anyone got any insight into this please?– owennicolAug 8 '17 at 7:55

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.