回答編集履歴
2
調整
test
CHANGED
@@ -31,6 +31,8 @@
|
|
31
31
|
document.querySelectorAll('[contenteditable]').forEach(x=>{
|
32
32
|
|
33
33
|
observer.observe(x, config);
|
34
|
+
|
35
|
+
observer.observe(x.firstChild, config);
|
34
36
|
|
35
37
|
[...x.childNodes].forEach(y=>{
|
36
38
|
|
1
調整
test
CHANGED
@@ -30,7 +30,13 @@
|
|
30
30
|
|
31
31
|
document.querySelectorAll('[contenteditable]').forEach(x=>{
|
32
32
|
|
33
|
-
observer.observe(x
|
33
|
+
observer.observe(x, config);
|
34
|
+
|
35
|
+
[...x.childNodes].forEach(y=>{
|
36
|
+
|
37
|
+
observer.observe(y, config);
|
38
|
+
|
39
|
+
});
|
34
40
|
|
35
41
|
});
|
36
42
|
|