💡 Feature Description
Please add support for mobile pinch-to-zoom gestures (touch scaling) in prism-code-editor.
Currently, the editor lacks support for native two-finger pinching/zooming on mobile screens, making it impossible to scale or zoom in on code snippets when needed.
🎯 Use Case / Motivation
When accessing the editor on mobile devices (or within a desktop-simulated viewport like <meta name="viewport" content="width=1280">):
- Code text can be too small to read on smaller screens.
- Users cannot use the standard mobile two-finger pinch gesture to zoom in on code or zoom out for a broader view.
Adding this feature will significantly improve readability and accessibility for mobile users and WebView environments.
🛠️ Requested Behavior
- Allow users to scale/zoom the editor content using native mobile pinch-to-zoom gestures.
- Ensure touch events don't block mobile browser gesture scaling.
📷 Environment
- Platform: Mobile Browsers (iOS Safari / Android Chrome / Android WebView)
💡 Feature Description
Please add support for mobile pinch-to-zoom gestures (touch scaling) in
prism-code-editor.Currently, the editor lacks support for native two-finger pinching/zooming on mobile screens, making it impossible to scale or zoom in on code snippets when needed.
🎯 Use Case / Motivation
When accessing the editor on mobile devices (or within a desktop-simulated viewport like
<meta name="viewport" content="width=1280">):Adding this feature will significantly improve readability and accessibility for mobile users and WebView environments.
🛠️ Requested Behavior
📷 Environment