@brevitaz/brv-text-editor 1.1.0 → 1.1.2
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 +1 -1
- package/dist/brv-text-editor.css +5 -9
- package/dist/brv-text-editor.es.js +13140 -10266
- package/dist/brv-text-editor.es.js.map +1 -1
- package/dist/brv-text-editor.umd.js +13168 -10294
- package/dist/brv-text-editor.umd.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ Built on [Tiptap](https://tiptap.dev/) (ProseMirror) + [Lucide React](https://lu
|
|
|
29
29
|
npm install brv-text-editor
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
> **Peer dependencies** – React
|
|
32
|
+
> **Peer dependencies** – React 19 must already be installed in your project.
|
|
33
33
|
> `react` and `react-dom` are **not** bundled inside the package.
|
|
34
34
|
|
|
35
35
|
```bash
|
package/dist/brv-text-editor.css
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/* Scoped reset — only affects the editor component, not the host application */
|
|
2
|
+
.rte-root,
|
|
3
|
+
.rte-root *,
|
|
4
|
+
.rte-root *::before,
|
|
5
|
+
.rte-root *::after {
|
|
2
6
|
box-sizing: border-box;
|
|
3
7
|
}
|
|
4
8
|
|
|
5
|
-
body {
|
|
6
|
-
margin: 0;
|
|
7
|
-
font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
|
|
8
|
-
background: #f0f4f8;
|
|
9
|
-
color: #1a202c;
|
|
10
|
-
-webkit-font-smoothing: antialiased;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
9
|
/* ─── Design Tokens ─────────────────────────────────────────────────────────
|
|
14
10
|
*
|
|
15
11
|
* All visual values in RichTextEditor and RichTextPreview are driven by these
|