Also fixed some resizer zindex issues.
static clone(node: TableNode): TableNode {
const newNode = new TableNode(node.__key);
copyCommonBlockProperties(node, newNode);
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;
}
newNode.__styles = new Map(node.__styles);
return newNode;
}
getColWidths(): string[] {
const self = this.getLatest();
getColWidths(): string[] {
const self = this.getLatest();
- return self.__colWidths;
+ return [...self.__colWidths];
}
getStyles(): StyleMap {
}
getStyles(): StyleMap {
.editor-table-marker {
position: fixed;
background-color: var(--editor-color-primary);
.editor-table-marker {
position: fixed;
background-color: var(--editor-color-primary);
user-select: none;
opacity: 0;
&:hover, &.active {
user-select: none;
opacity: 0;
&:hover, &.active {