summarylogtreecommitdiffstats
path: root/electron-3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'electron-3.patch')
-rw-r--r--electron-3.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/electron-3.patch b/electron-3.patch
new file mode 100644
index 000000000000..4e88230f6966
--- /dev/null
+++ b/electron-3.patch
@@ -0,0 +1,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) \ No newline at end of file