@portabletext/editor 1.57.5 → 1.58.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/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +2 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js.map +1 -1
- package/lib/selectors/index.cjs +29 -1
- package/lib/selectors/index.cjs.map +1 -1
- package/lib/selectors/index.d.cts +22 -0
- package/lib/selectors/index.d.ts +22 -0
- package/lib/selectors/index.js +32 -4
- package/lib/selectors/index.js.map +1 -1
- package/package.json +3 -3
- package/src/editor/editor-dom.ts +0 -56
- package/src/index.ts +1 -0
- package/src/selectors/index.ts +3 -1
- package/src/selectors/selector.get-selection-end-child.ts +33 -0
- package/src/selectors/selector.get-selection-start-child.ts +33 -0
package/lib/index.d.cts
CHANGED
|
@@ -7195,6 +7195,8 @@ declare interface PortableTextSlateEditor extends ReactEditor {
|
|
|
7195
7195
|
|
|
7196
7196
|
export {PortableTextSpan}
|
|
7197
7197
|
|
|
7198
|
+
export {PortableTextTextBlock}
|
|
7199
|
+
|
|
7198
7200
|
/**
|
|
7199
7201
|
* A range decoration is a UI affordance that wraps a given selection range in the editor
|
|
7200
7202
|
* with a custom component. This can be used to highlight search results,
|
package/lib/index.d.ts
CHANGED
|
@@ -7195,6 +7195,8 @@ declare interface PortableTextSlateEditor extends ReactEditor {
|
|
|
7195
7195
|
|
|
7196
7196
|
export {PortableTextSpan}
|
|
7197
7197
|
|
|
7198
|
+
export {PortableTextTextBlock}
|
|
7199
|
+
|
|
7198
7200
|
/**
|
|
7199
7201
|
* A range decoration is a UI affordance that wraps a given selection range in the editor
|
|
7200
7202
|
* with a custom component. This can be used to highlight search results,
|