@amplifyup/sdk 0.1.72 → 0.1.73
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/AmplifyRenderer.js.map +1 -1
- package/dist/AmplifyRenderer.mjs.map +1 -1
- package/dist/react.js +3 -0
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +3 -0
- package/dist/react.mjs.map +1 -1
- package/package.json +1 -1
package/dist/react.js
CHANGED
|
@@ -4892,6 +4892,9 @@ var lastRichTextRequestAt = 0;
|
|
|
4892
4892
|
function requestCanvasRichTextEdit(opts) {
|
|
4893
4893
|
if (typeof window === "undefined" || window.parent === window) return;
|
|
4894
4894
|
if (!opts.name) return;
|
|
4895
|
+
if (opts.el.classList.contains("au-rte-active") || opts.el.querySelector(".ProseMirror")) {
|
|
4896
|
+
return;
|
|
4897
|
+
}
|
|
4895
4898
|
const now = Date.now();
|
|
4896
4899
|
if (now - lastRichTextRequestAt < 400) return;
|
|
4897
4900
|
lastRichTextRequestAt = now;
|