mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 21:03:47 -10:00
A Windows PC's page said MacIntel and a Mac's user agent (0.1.7), so a library that picks ⌘ or Ctrl by navigator.platform (CodeMirror's and ProseMirror's Mod-) took Ctrl+Z, Ctrl+C and Ctrl+V as a Mac's. userAgent, platform and userAgentData now read globalThis.__raea_window.os (set by the window before the page's bundle) when asked: Win32 and a Windows NT user agent on Windows, Linux x86_64 on Linux, the Mac's as before with no window (a render). test/navigator.test.ts.