@1urso/generic-editor 0.1.6 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/generic-editor.css +1 -1
- package/dist/generic-editor.js +1181 -911
- package/dist/generic-editor.umd.cjs +4 -4
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -42,9 +42,10 @@ npm install @radix-ui/themes @radix-ui/react-icons react-resizable-panels re-res
|
|
|
42
42
|
|
|
43
43
|
### 3. Importe os Estilos
|
|
44
44
|
|
|
45
|
-
No arquivo de entrada da sua aplicação (ex: `main.tsx`, `App.tsx` ou `layout.tsx` no Next.js), importe o CSS do Radix UI:
|
|
45
|
+
No arquivo de entrada da sua aplicação (ex: `main.tsx`, `App.tsx` ou `layout.tsx` no Next.js), importe o CSS do editor (obrigatório para o menu de contexto) e do Radix UI:
|
|
46
46
|
|
|
47
47
|
```tsx
|
|
48
|
+
import "@1urso/generic-editor/dist/generic-editor.css"; // Essencial para o funcionamento do editor
|
|
48
49
|
import "@radix-ui/themes/styles.css";
|
|
49
50
|
```
|
|
50
51
|
|