Local Spell Check in MacOS Webview

Yes it works in Safari. So it’s some issue with Webview in MacOS and not a prosemirror issue. I’m just wondering what the best course of action is if I want to provide spellcheck (red underlines) under mispelled words in prose mirror. Is there any existing solution that would help with this?