You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can help get more info regarding system versions and SDK versions if you want to fix this (e.g., whether this is fixed in Ventura), totally understand the priority since using Mac Catalyst is already a niche choice.
Exactly the same phenomenon happens in ProseMirror too.
Browser and platform
WKWebView on Mac Catalyst
Reproduction link
No response
The text was updated successfully, but these errors were encountered:
FYI - the recently released .NET MAUI Blazor Hybrid stuff from Microsoft uses Mac Catalyst for compiling to macOS, so you may see more of this issue. (I just came across this myself, trying exactly this.)
Describe the issue
Mac Catalyst is a technique introduced by Apple to bring iOS apps to Mac, it uses
UIKit
instead ofAppKit
even when running on macOS.That being said, a WKWebView on macCatalyst inherits from UIView, which behaves differently in some ways compared to the native WKWebView on Mac apps.
I tested CodeMirror on Monterey running on Mac Catalyst, and it seems copying content from the editor doesn't work (cannot paste into other places).
The root cause seems that we need to enable
brokenClipboardAPI
even whenbrowser.ios && browser.webkit_version < 604
gives us false: https://github.com/codemirror/view/blob/main/src/input.ts#L352I can help get more info regarding system versions and SDK versions if you want to fix this (e.g., whether this is fixed in Ventura), totally understand the priority since using Mac Catalyst is already a niche choice.
Browser and platform
WKWebView on Mac Catalyst
Reproduction link
No response
The text was updated successfully, but these errors were encountered: