I’ve recently updated to Safari 16.4 and stumbled upon an issue (not present in previous versions) where the editor is not mounting properly when trying to attach it to an element in the Shadow DOM.
It seems like this line in the StyleSet class is what’s failing.
I am also facing the exact same issue in safari 16.4 and 16.5. How do I update the style-mod version? I am using the following codemirror packages which have been updated to the latest.