el-text-editor 0.0.24 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -776,7 +776,7 @@ class ElTextEditorComponent {
|
|
776
776
|
const tableWidth = 825; // Table width in pixels
|
777
777
|
const cols = 3; // Number of columns
|
778
778
|
const cellMinWidth = tableWidth / cols; // Calculate minimum width for each cell
|
779
|
-
let table = `<br /><table style="border
|
779
|
+
let table = `<br /><table style="table-border width: ${tableWidth}px;>`;
|
780
780
|
for (let i = 0; i < 3; i++) { // Number of rows
|
781
781
|
table += '<tr class="table-border-bottom table-border-top vertical-align-middle">';
|
782
782
|
for (let j = 0; j < cols; j++) {
|