@bbl-digital/snorre 4.1.11 → 4.1.12
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/bundle.js
CHANGED
|
@@ -35611,8 +35611,10 @@ to {top: 100vh;}
|
|
|
35611
35611
|
React.useEffect(() => {
|
|
35612
35612
|
if (!quill) return;
|
|
35613
35613
|
const handleBlur = () => {
|
|
35614
|
-
|
|
35615
|
-
|
|
35614
|
+
setTimeout(() => {
|
|
35615
|
+
const html = quill.root.innerHTML;
|
|
35616
|
+
onBlur && onBlur(html);
|
|
35617
|
+
}, 50);
|
|
35616
35618
|
};
|
|
35617
35619
|
quill.root.addEventListener('blur', handleBlur);
|
|
35618
35620
|
return () => {
|
|
@@ -208,8 +208,10 @@ const QuillEditor = ({
|
|
|
208
208
|
useEffect(() => {
|
|
209
209
|
if (!quill) return;
|
|
210
210
|
const handleBlur = () => {
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
setTimeout(() => {
|
|
212
|
+
const html = quill.root.innerHTML;
|
|
213
|
+
onBlur && onBlur(html);
|
|
214
|
+
}, 50);
|
|
213
215
|
};
|
|
214
216
|
quill.root.addEventListener('blur', handleBlur);
|
|
215
217
|
return () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/QuillEditor/index.tsx"],"names":[],"mappings":"AAGA,OAAO,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AA+D3C,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/packages/core/QuillEditor/index.tsx"],"names":[],"mappings":"AAGA,OAAO,2BAA2B,CAAA;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AA+D3C,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAsR3C,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -208,8 +208,10 @@ const QuillEditor = ({
|
|
|
208
208
|
useEffect(() => {
|
|
209
209
|
if (!quill) return;
|
|
210
210
|
const handleBlur = () => {
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
setTimeout(() => {
|
|
212
|
+
const html = quill.root.innerHTML;
|
|
213
|
+
onBlur && onBlur(html);
|
|
214
|
+
}, 50);
|
|
213
215
|
};
|
|
214
216
|
quill.root.addEventListener('blur', handleBlur);
|
|
215
217
|
return () => {
|