raydit-editor 0.0.12 → 0.0.13
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
interface
|
|
3
|
+
interface RayditEditorProps {
|
|
4
4
|
content?: string;
|
|
5
5
|
onChange?: (html: string) => void;
|
|
6
6
|
onBlur?: (html: string) => void;
|
|
@@ -12,6 +12,6 @@ interface NotionEditorProps {
|
|
|
12
12
|
showToolbar?: boolean;
|
|
13
13
|
showTableControls?: boolean;
|
|
14
14
|
}
|
|
15
|
-
declare const
|
|
15
|
+
declare const RayditEditor: React.FC<RayditEditorProps>;
|
|
16
16
|
|
|
17
|
-
export {
|
|
17
|
+
export { RayditEditor, type RayditEditorProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
interface
|
|
3
|
+
interface RayditEditorProps {
|
|
4
4
|
content?: string;
|
|
5
5
|
onChange?: (html: string) => void;
|
|
6
6
|
onBlur?: (html: string) => void;
|
|
@@ -12,6 +12,6 @@ interface NotionEditorProps {
|
|
|
12
12
|
showToolbar?: boolean;
|
|
13
13
|
showTableControls?: boolean;
|
|
14
14
|
}
|
|
15
|
-
declare const
|
|
15
|
+
declare const RayditEditor: React.FC<RayditEditorProps>;
|
|
16
16
|
|
|
17
|
-
export {
|
|
17
|
+
export { RayditEditor, type RayditEditorProps };
|
package/dist/index.js
CHANGED
|
@@ -38,7 +38,7 @@ var TaskItem__default = /*#__PURE__*/_interopDefault(TaskItem);
|
|
|
38
38
|
var clsx__default = /*#__PURE__*/_interopDefault(clsx);
|
|
39
39
|
var Suggestion__default = /*#__PURE__*/_interopDefault(Suggestion);
|
|
40
40
|
|
|
41
|
-
// src/
|
|
41
|
+
// src/RayditEditor.tsx
|
|
42
42
|
|
|
43
43
|
// node_modules/prosemirror-model/dist/index.js
|
|
44
44
|
function findDiffStart(a, b, pos) {
|
|
@@ -5478,7 +5478,7 @@ var DynamicPlaceholder = Placeholder__default.default.configure({
|
|
|
5478
5478
|
showOnlyCurrent: true,
|
|
5479
5479
|
includeChildren: false
|
|
5480
5480
|
});
|
|
5481
|
-
var
|
|
5481
|
+
var RayditEditor = ({
|
|
5482
5482
|
content = "",
|
|
5483
5483
|
onChange,
|
|
5484
5484
|
onBlur,
|
|
@@ -5605,8 +5605,8 @@ var NotionEditor = ({
|
|
|
5605
5605
|
)
|
|
5606
5606
|
] });
|
|
5607
5607
|
};
|
|
5608
|
-
var
|
|
5608
|
+
var RayditEditor_default = RayditEditor;
|
|
5609
5609
|
|
|
5610
|
-
exports.
|
|
5610
|
+
exports.RayditEditor = RayditEditor_default;
|
|
5611
5611
|
//# sourceMappingURL=index.js.map
|
|
5612
5612
|
//# sourceMappingURL=index.js.map
|