NOW MANAGED ON CODEBERG
Lexical: Fixed table column resizing changes not appearing
Dan Brownc4f7368c1c18
diff --git a/resources/js/wysiwyg/lexical/table/LexicalTableNode.ts b/resources/js/wysiwyg/lexical/table/LexicalTableNode.tsindex a10361475..105764be2 100644--- a/resources/js/wysiwyg/lexical/table/LexicalTableNode.ts+++ b/resources/js/wysiwyg/lexical/table/LexicalTableNode.ts@@ -54,7 +54,7 @@ export class TableNode extends CommonBlockNode {static clone(node: TableNode): TableNode {const newNode = new TableNode(node.__key);copyCommonBlockProperties(node, newNode);- newNode.__colWidths = node.__colWidths;+ newNode.__colWidths = [...node.__colWidths];newNode.__styles = new Map(node.__styles);return newNode;}@@ -169,7 +169,7 @@ export class TableNode extends CommonBlockNode {getColWidths(): string[] {const self = this.getLatest();- return self.__colWidths;+ return [...self.__colWidths];}getStyles(): StyleMap {diff --git a/resources/sass/_editor.scss b/resources/sass/_editor.scssindex 35f11c5a2..4112f6288 100644--- a/resources/sass/_editor.scss+++ b/resources/sass/_editor.scss@@ -422,7 +422,7 @@ body.editor-is-fullscreen {.editor-table-marker {position: fixed;background-color: var(--editor-color-primary);- z-index: 99;+ z-index: 3;user-select: none;opacity: 0;&:hover, &.active {