]>
BookStack Code Mirror - bookstack/blobdiff - resources/js/wysiwyg/lexical/selection/lexical-node.ts
projects
/
bookstack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Dependancies: Updated php & JS deps, updated license lists
[bookstack]
/
resources
/
js
/
wysiwyg
/
lexical
/
selection
/
lexical-node.ts
diff --git
a/resources/js/wysiwyg/lexical/selection/lexical-node.ts
b/resources/js/wysiwyg/lexical/selection/lexical-node.ts
index 82f7d330ed1f48729a407f3bde64be0ecc3000d9..1f7e4c6dad69ca9e74fcda793ea73504a88fbbca 100644
(file)
--- a/
resources/js/wysiwyg/lexical/selection/lexical-node.ts
+++ b/
resources/js/wysiwyg/lexical/selection/lexical-node.ts
@@
-262,7
+262,7
@@
function $patchStyle(
}
return styles;
},
- {...prevStyles}
|| {}
,
+ {...prevStyles},
);
const newCSSText = getCSSFromStyleObject(newStyles);
target.setStyle(newCSSText);