lynkow 3.1.0 → 3.2.0
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.mts +10 -10
- package/dist/index.d.ts +10 -10
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -800,21 +800,21 @@ interface TipTapNode {
|
|
|
800
800
|
content?: TipTapNode[];
|
|
801
801
|
}
|
|
802
802
|
/**
|
|
803
|
-
* Content body -
|
|
804
|
-
* The
|
|
803
|
+
* Content body - HTML string
|
|
804
|
+
* The API converts TipTap editor content to HTML server-side.
|
|
805
805
|
*
|
|
806
806
|
* @example
|
|
807
807
|
* ```typescript
|
|
808
|
-
* const body: ContentBody =
|
|
809
|
-
*
|
|
810
|
-
*
|
|
811
|
-
*
|
|
812
|
-
*
|
|
813
|
-
*
|
|
814
|
-
*
|
|
808
|
+
* const body: ContentBody = '<p>Hello world</p><h2>Title</h2>'
|
|
809
|
+
*
|
|
810
|
+
* // Usage in React:
|
|
811
|
+
* <div dangerouslySetInnerHTML={{ __html: content.body }} />
|
|
812
|
+
*
|
|
813
|
+
* // Usage in Vue:
|
|
814
|
+
* <div v-html="content.body" />
|
|
815
815
|
* ```
|
|
816
816
|
*/
|
|
817
|
-
type ContentBody =
|
|
817
|
+
type ContentBody = string;
|
|
818
818
|
/**
|
|
819
819
|
* Content summary (for lists)
|
|
820
820
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -800,21 +800,21 @@ interface TipTapNode {
|
|
|
800
800
|
content?: TipTapNode[];
|
|
801
801
|
}
|
|
802
802
|
/**
|
|
803
|
-
* Content body -
|
|
804
|
-
* The
|
|
803
|
+
* Content body - HTML string
|
|
804
|
+
* The API converts TipTap editor content to HTML server-side.
|
|
805
805
|
*
|
|
806
806
|
* @example
|
|
807
807
|
* ```typescript
|
|
808
|
-
* const body: ContentBody =
|
|
809
|
-
*
|
|
810
|
-
*
|
|
811
|
-
*
|
|
812
|
-
*
|
|
813
|
-
*
|
|
814
|
-
*
|
|
808
|
+
* const body: ContentBody = '<p>Hello world</p><h2>Title</h2>'
|
|
809
|
+
*
|
|
810
|
+
* // Usage in React:
|
|
811
|
+
* <div dangerouslySetInnerHTML={{ __html: content.body }} />
|
|
812
|
+
*
|
|
813
|
+
* // Usage in Vue:
|
|
814
|
+
* <div v-html="content.body" />
|
|
815
815
|
* ```
|
|
816
816
|
*/
|
|
817
|
-
type ContentBody =
|
|
817
|
+
type ContentBody = string;
|
|
818
818
|
/**
|
|
819
819
|
* Content summary (for lists)
|
|
820
820
|
*/
|