I use Monaco Editor with Kibana. Weirdly, the CTRL+F keys to enable the find option doesn't open the find box.
I tried to create Hotkeys using the addCommand method and calling editor.current.getAction(...) but I cannot use the find action, I get TypeError: editor.current.getAction(...) is null
Indeed, when I use editor.getSupportedActions(), I only have those options:
"deleteInsideWord",
"editor.unfold",
"editor.unfoldRecursively",
"editor.fold",
"editor.foldRecursively",
"editor.foldAll",
"editor.unfoldAll",
"editor.foldAllBlockComments",
"editor.foldAllMarkerRegions",
"editor.unfoldAllMarkerRegions",
"editor.toggleFold",
"editor.foldLevel1",
"editor.foldLevel2",
"editor.foldLevel3",
"editor.foldLevel4",
"editor.foldLevel5",
"editor.foldLevel6",
"editor.foldLevel7",
"editor.action.triggerSuggest",
"editor.action.resetSuggestSize",
"editor.action.marker.next",
"editor.action.marker.prev",
"editor.action.marker.nextInFiles",
"editor.action.marker.prevInFiles",
"editor.action.showHover",
"editor.action.showDefinitionPreviewHover",
"editor.action.selectToBracket",
"editor.action.jumpToBracket"
It seems that the action used to open the find box is "actions.find"
Do you have some ideas to implement find in this case ?