summarylogtreecommitdiffstats
path: root/electron-3.patch
blob: 4e88230f69666de3e9da9decfb2ea5e6ed3687d5 (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)