sceyt-chat-react-uikit 1.7.8-beta.12 → 1.7.8-beta.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/index.js +2 -3
- package/index.modern.js +2 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -40999,9 +40999,8 @@ function useFormatMessage(editor, editorState, setMessageBodyAttributes, setMess
|
|
|
40999
40999
|
}
|
|
41000
41000
|
}
|
|
41001
41001
|
if (matches.length === 0) {
|
|
41002
|
-
|
|
41003
|
-
}
|
|
41004
|
-
if (nodes.length > 0) {
|
|
41002
|
+
selection.insertText(pastedText);
|
|
41003
|
+
} else if (nodes.length > 0) {
|
|
41005
41004
|
selection.insertNodes(nodes);
|
|
41006
41005
|
}
|
|
41007
41006
|
}
|
package/index.modern.js
CHANGED
|
@@ -40998,9 +40998,8 @@ function useFormatMessage(editor, editorState, setMessageBodyAttributes, setMess
|
|
|
40998
40998
|
}
|
|
40999
40999
|
}
|
|
41000
41000
|
if (matches.length === 0) {
|
|
41001
|
-
|
|
41002
|
-
}
|
|
41003
|
-
if (nodes.length > 0) {
|
|
41001
|
+
selection.insertText(pastedText);
|
|
41002
|
+
} else if (nodes.length > 0) {
|
|
41004
41003
|
selection.insertNodes(nodes);
|
|
41005
41004
|
}
|
|
41006
41005
|
}
|