summarylogtreecommitdiffstats
path: root/electron-3.patch
blob: f317c92a12a53d5c4a958f26e9e62cd2b4a6eb60 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/text-editor-component.js
+++ b/src/text-editor-component.js
@@ -4433,7 +4433,7 @@
 
     if (element) {
       element.className = className || ''
-      element.styleMap.forEach((value, key) => {
+      element.attributeStyleMap.forEach((value, key) => {
         if (!style || style[key] == null) element.style[key] = ''
       })
       if (style) Object.assign(element.style, style)