@docen/extensions 0.0.8 → 0.0.10
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.cjs +8 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +8 -1
- package/dist/shared/{extensions.SlCx0Bmn.d.cts → extensions.BOBBi1Z_.d.cts} +12 -2
- package/dist/shared/{extensions.SlCx0Bmn.d.mts → extensions.BOBBi1Z_.d.mts} +12 -2
- package/dist/shared/{extensions.SlCx0Bmn.d.ts → extensions.BOBBi1Z_.d.ts} +12 -2
- package/dist/shared/extensions.CAUtiZQg.cjs +72 -0
- package/dist/shared/{extensions.BQfevE5S.d.cts → extensions.DmJvAao6.d.cts} +72 -2
- package/dist/shared/{extensions.DAZn2HEU.d.mts → extensions.IF9nv9tR.d.mts} +72 -2
- package/dist/shared/{extensions.BED3A2H3.d.ts → extensions.ITVKw7bK.d.ts} +72 -2
- package/dist/shared/extensions.ymUB12ul.mjs +72 -0
- package/dist/tiptap.cjs +1 -1
- package/dist/tiptap.d.cts +2 -2
- package/dist/tiptap.d.mts +2 -2
- package/dist/tiptap.d.ts +2 -2
- package/dist/tiptap.mjs +1 -1
- package/dist/types.d.cts +7 -7
- package/dist/types.d.mts +7 -7
- package/dist/types.d.ts +7 -7
- package/package.json +32 -34
- package/dist/shared/extensions.CcSIv21B.cjs +0 -72
- package/dist/shared/extensions.Chtjfo3m.mjs +0 -72
|
@@ -2025,6 +2025,16 @@ declare class Transform {
|
|
|
2025
2025
|
*/
|
|
2026
2026
|
get docChanged(): boolean;
|
|
2027
2027
|
/**
|
|
2028
|
+
Return a single range, in post-transform document positions,
|
|
2029
|
+
that covers all content changed by this transform. Returns null
|
|
2030
|
+
if no replacements are made. Note that this will ignore changes
|
|
2031
|
+
that add/remove marks without replacing the underlying content.
|
|
2032
|
+
*/
|
|
2033
|
+
changedRange(): {
|
|
2034
|
+
from: number;
|
|
2035
|
+
to: number;
|
|
2036
|
+
} | null;
|
|
2037
|
+
/**
|
|
2028
2038
|
Replace the part of the document between `from` and `to` with the
|
|
2029
2039
|
given `slice`.
|
|
2030
2040
|
*/
|
|
@@ -6592,5 +6602,5 @@ interface Commands<ReturnType = any> {
|
|
|
6592
6602
|
interface Storage {
|
|
6593
6603
|
}
|
|
6594
6604
|
|
|
6595
|
-
export { Mark as M, Node as N,
|
|
6596
|
-
export type { AnyExtension as A, DOMOutputSpec as D,
|
|
6605
|
+
export { EditorView as E, Mark as M, Node as N, Transaction as T, Node$1 as a, PluginKey as c, Editor as d, EditorState as f, ResolvedPos as g, Extension as h };
|
|
6606
|
+
export type { AnyExtension as A, DOMOutputSpec as D, JSONContent as J, ParentConfig as P, ResizableNodeViewDirection as R, NodeView as b, Range as e };
|
|
@@ -2025,6 +2025,16 @@ declare class Transform {
|
|
|
2025
2025
|
*/
|
|
2026
2026
|
get docChanged(): boolean;
|
|
2027
2027
|
/**
|
|
2028
|
+
Return a single range, in post-transform document positions,
|
|
2029
|
+
that covers all content changed by this transform. Returns null
|
|
2030
|
+
if no replacements are made. Note that this will ignore changes
|
|
2031
|
+
that add/remove marks without replacing the underlying content.
|
|
2032
|
+
*/
|
|
2033
|
+
changedRange(): {
|
|
2034
|
+
from: number;
|
|
2035
|
+
to: number;
|
|
2036
|
+
} | null;
|
|
2037
|
+
/**
|
|
2028
2038
|
Replace the part of the document between `from` and `to` with the
|
|
2029
2039
|
given `slice`.
|
|
2030
2040
|
*/
|
|
@@ -6592,5 +6602,5 @@ interface Commands<ReturnType = any> {
|
|
|
6592
6602
|
interface Storage {
|
|
6593
6603
|
}
|
|
6594
6604
|
|
|
6595
|
-
export { Mark as M, Node as N,
|
|
6596
|
-
export type { AnyExtension as A, DOMOutputSpec as D,
|
|
6605
|
+
export { EditorView as E, Mark as M, Node as N, Transaction as T, Node$1 as a, PluginKey as c, Editor as d, EditorState as f, ResolvedPos as g, Extension as h };
|
|
6606
|
+
export type { AnyExtension as A, DOMOutputSpec as D, JSONContent as J, ParentConfig as P, ResizableNodeViewDirection as R, NodeView as b, Range as e };
|
|
@@ -2025,6 +2025,16 @@ declare class Transform {
|
|
|
2025
2025
|
*/
|
|
2026
2026
|
get docChanged(): boolean;
|
|
2027
2027
|
/**
|
|
2028
|
+
Return a single range, in post-transform document positions,
|
|
2029
|
+
that covers all content changed by this transform. Returns null
|
|
2030
|
+
if no replacements are made. Note that this will ignore changes
|
|
2031
|
+
that add/remove marks without replacing the underlying content.
|
|
2032
|
+
*/
|
|
2033
|
+
changedRange(): {
|
|
2034
|
+
from: number;
|
|
2035
|
+
to: number;
|
|
2036
|
+
} | null;
|
|
2037
|
+
/**
|
|
2028
2038
|
Replace the part of the document between `from` and `to` with the
|
|
2029
2039
|
given `slice`.
|
|
2030
2040
|
*/
|
|
@@ -6592,5 +6602,5 @@ interface Commands<ReturnType = any> {
|
|
|
6592
6602
|
interface Storage {
|
|
6593
6603
|
}
|
|
6594
6604
|
|
|
6595
|
-
export { Mark as M, Node as N,
|
|
6596
|
-
export type { AnyExtension as A, DOMOutputSpec as D,
|
|
6605
|
+
export { EditorView as E, Mark as M, Node as N, Transaction as T, Node$1 as a, PluginKey as c, Editor as d, EditorState as f, ResolvedPos as g, Extension as h };
|
|
6606
|
+
export type { AnyExtension as A, DOMOutputSpec as D, JSONContent as J, ParentConfig as P, ResizableNodeViewDirection as R, NodeView as b, Range as e };
|