@scalably/ui 0.5.1 → 0.5.3

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/dist/index.d.cts CHANGED
@@ -2424,6 +2424,22 @@ interface RichTextEditorProps {
2424
2424
  * - Renders a toolbar with common formatting controls.
2425
2425
  * - Mimics the design system's input styling (label, error, helper text).
2426
2426
  *
2427
+ * **Supported HTML Tags:**
2428
+ * The editor supports the following HTML tags through TipTap extensions:
2429
+ * - **Text formatting**: `<p>`, `<h1>`, `<h2>`, `<h3>`, `<strong>`, `<em>`, `<u>`, `<code>`, `<blockquote>`, `<s>` (strikethrough)
2430
+ * - **Advanced formatting**: `<sub>` (subscript), `<sup>` (superscript), `<mark>` (highlight)
2431
+ * - **Lists**: `<ul>`, `<ol>`, `<li>`
2432
+ * - **Links**: `<a>`
2433
+ * - **Media**: `<img>`, `<iframe>` (YouTube embeds)
2434
+ * - **Tables**: `<table>`, `<thead>`, `<tbody>`, `<tr>`, `<th>`, `<td>`
2435
+ * - **Semantic**: `<figure>`, `<figcaption>`, `<span>` (with classes/styles preserved)
2436
+ * - **Alignment**: Text alignment via `style="text-align: ..."` on paragraphs and headings
2437
+ * - **Other**: `<hr>`, `<br>`
2438
+ *
2439
+ * **Important:** TipTap uses a schema-based system. HTML tags not explicitly
2440
+ * supported by extensions will be stripped or converted during parsing. If you
2441
+ * need additional tag support, custom extensions must be added.
2442
+ *
2427
2443
  * **Viewing Content:**
2428
2444
  * To display the HTML content created with this editor in read-only mode,
2429
2445
  * use the `RichTextViewer` component. It ensures content rendered in "view"
package/dist/index.d.ts CHANGED
@@ -2424,6 +2424,22 @@ interface RichTextEditorProps {
2424
2424
  * - Renders a toolbar with common formatting controls.
2425
2425
  * - Mimics the design system's input styling (label, error, helper text).
2426
2426
  *
2427
+ * **Supported HTML Tags:**
2428
+ * The editor supports the following HTML tags through TipTap extensions:
2429
+ * - **Text formatting**: `<p>`, `<h1>`, `<h2>`, `<h3>`, `<strong>`, `<em>`, `<u>`, `<code>`, `<blockquote>`, `<s>` (strikethrough)
2430
+ * - **Advanced formatting**: `<sub>` (subscript), `<sup>` (superscript), `<mark>` (highlight)
2431
+ * - **Lists**: `<ul>`, `<ol>`, `<li>`
2432
+ * - **Links**: `<a>`
2433
+ * - **Media**: `<img>`, `<iframe>` (YouTube embeds)
2434
+ * - **Tables**: `<table>`, `<thead>`, `<tbody>`, `<tr>`, `<th>`, `<td>`
2435
+ * - **Semantic**: `<figure>`, `<figcaption>`, `<span>` (with classes/styles preserved)
2436
+ * - **Alignment**: Text alignment via `style="text-align: ..."` on paragraphs and headings
2437
+ * - **Other**: `<hr>`, `<br>`
2438
+ *
2439
+ * **Important:** TipTap uses a schema-based system. HTML tags not explicitly
2440
+ * supported by extensions will be stripped or converted during parsing. If you
2441
+ * need additional tag support, custom extensions must be added.
2442
+ *
2427
2443
  * **Viewing Content:**
2428
2444
  * To display the HTML content created with this editor in read-only mode,
2429
2445
  * use the `RichTextViewer` component. It ensures content rendered in "view"