There is a closed topic regarding this feature - Link.
Currently, search using the global search bar works to identify which note contains the content which exists in code block/inline code.
But the search per note which is triggered by Ctrl+F within a note does not show the search result in the WYSIWYG editor.
However, the search per note works in the Markdown editor.