Two ways to copy a shape, both writing a real manual label: - Ctrl/Cmd + drag on a shape: a dashed ghost follows the pointer and the copy is written where the button is released, keeping the source class. The original is never moved or resized; Ctrl wins over the resize, vertex and midpoint handles. - Ctrl/Cmd+C / Ctrl/Cmd+V: the editor-local clipboard holds shapes only, never the system clipboard. Paste lands 0.015 down-right, clamped inside the frame. Ctrl+C and Ctrl+V are the only browser combos the editor claims; every other combo still reaches the browser, and typing in a field triggers nothing.
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the Oxlint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and Oxlint's TypeScript related rules in your project.