@zm-editor/react 0.1.5 → 0.1.6
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.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11537,9 +11537,9 @@ var ZmEditor = forwardRef(
|
|
|
11537
11537
|
const handleEmojiSelect = useCallback(
|
|
11538
11538
|
(emoji) => {
|
|
11539
11539
|
if (!editor) return;
|
|
11540
|
-
|
|
11540
|
+
editor.chain().focus().insertContent(emoji).run();
|
|
11541
11541
|
requestAnimationFrame(() => {
|
|
11542
|
-
|
|
11542
|
+
setShowEmojiPicker(false);
|
|
11543
11543
|
});
|
|
11544
11544
|
},
|
|
11545
11545
|
[editor]
|