FIX: Misalignment of table after edit (#30)
See Meta bug report: https://meta.discourse.org/t/table-builder/236016/54
This commit is contained in:
parent
879140b8ce
commit
7e65777187
|
@ -200,7 +200,7 @@ export default class SpreadsheetEditor extends Component {
|
|||
if (tableToEdit.length > 1) {
|
||||
editedTable = raw.replace(tableToEdit[tableId], newRaw);
|
||||
} else {
|
||||
editedTable = raw.replace(findTableRegex(), newRaw);
|
||||
editedTable = raw.replace(tableToEdit[0], newRaw);
|
||||
}
|
||||
|
||||
// replace null characters
|
||||
|
|
Loading…
Reference in New Issue