@windoc/react 0.3.3 → 0.3.4
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1133 -410
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1133 -410
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/styles/editor.css +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -279,7 +279,7 @@ interface EditorProps {
|
|
|
279
279
|
/** Called when cursor/selection style changes — use this instead of overwriting editor.listener.rangeStyleChange via onReady */
|
|
280
280
|
onRangeStyleChange?: (payload: RangeStylePayload) => void;
|
|
281
281
|
}
|
|
282
|
-
declare function Editor({ defaultValue, options: userOptions, onChange, onReady, onRangeStyleChange, toolbar, footer, renderToolbar, renderFooter, children, className, style, onDrop: userOnDrop
|
|
282
|
+
declare function Editor({ defaultValue, options: userOptions, onChange, onReady, onRangeStyleChange, toolbar, footer, renderToolbar, renderFooter, children, className, style, onDrop: userOnDrop }: EditorProps): react_jsx_runtime.JSX.Element;
|
|
283
283
|
|
|
284
284
|
interface EditorContextValue {
|
|
285
285
|
editorRef: MutableRefObject<EditorInstance | null>;
|
package/dist/index.d.ts
CHANGED
|
@@ -279,7 +279,7 @@ interface EditorProps {
|
|
|
279
279
|
/** Called when cursor/selection style changes — use this instead of overwriting editor.listener.rangeStyleChange via onReady */
|
|
280
280
|
onRangeStyleChange?: (payload: RangeStylePayload) => void;
|
|
281
281
|
}
|
|
282
|
-
declare function Editor({ defaultValue, options: userOptions, onChange, onReady, onRangeStyleChange, toolbar, footer, renderToolbar, renderFooter, children, className, style, onDrop: userOnDrop
|
|
282
|
+
declare function Editor({ defaultValue, options: userOptions, onChange, onReady, onRangeStyleChange, toolbar, footer, renderToolbar, renderFooter, children, className, style, onDrop: userOnDrop }: EditorProps): react_jsx_runtime.JSX.Element;
|
|
283
283
|
|
|
284
284
|
interface EditorContextValue {
|
|
285
285
|
editorRef: MutableRefObject<EditorInstance | null>;
|