@ones-editor/editor 2.9.8-beta.2 → 2.9.8-beta.3
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.
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/dist/index.js +2 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -74544,20 +74544,6 @@ ${codeText}
|
|
|
74544
74544
|
const maxCellTextLength = maxCellTextLengths.get(cell.col) || 0;
|
|
74545
74545
|
return padText(text2, maxCellTextLength);
|
|
74546
74546
|
};
|
|
74547
|
-
if (type === "text") {
|
|
74548
|
-
const text2 = [];
|
|
74549
|
-
for (let col = 0; col < grid.colCount; col++) {
|
|
74550
|
-
const cellText = getCellText({ row: 0, col });
|
|
74551
|
-
text2.push(cellText);
|
|
74552
|
-
}
|
|
74553
|
-
for (let row = 1; row < grid.rowCount; row++) {
|
|
74554
|
-
for (let col = 0; col < grid.colCount; col++) {
|
|
74555
|
-
const cellText = getCellText({ row, col });
|
|
74556
|
-
text2.push(cellText);
|
|
74557
|
-
}
|
|
74558
|
-
}
|
|
74559
|
-
return text2.join("\n");
|
|
74560
|
-
}
|
|
74561
74547
|
const lines = [];
|
|
74562
74548
|
let headerText = "|";
|
|
74563
74549
|
let headerSeparator = "|";
|
|
@@ -95021,7 +95007,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95021
95007
|
}
|
|
95022
95008
|
}
|
|
95023
95009
|
});
|
|
95024
|
-
editor.version = "2.9.8-beta.
|
|
95010
|
+
editor.version = "2.9.8-beta.3";
|
|
95025
95011
|
return editor;
|
|
95026
95012
|
}
|
|
95027
95013
|
function isDoc(doc2) {
|
|
@@ -95153,7 +95139,7 @@ ${JSON.stringify(error2, null, 2)}`);
|
|
|
95153
95139
|
OnesEditorDropTarget.register(editor);
|
|
95154
95140
|
OnesEditorTocProvider.register(editor);
|
|
95155
95141
|
OnesEditorExclusiveBlock.register(editor);
|
|
95156
|
-
editor.version = "2.9.8-beta.
|
|
95142
|
+
editor.version = "2.9.8-beta.3";
|
|
95157
95143
|
return editor;
|
|
95158
95144
|
}
|
|
95159
95145
|
async function showDocVersions(editor, options, serverUrl) {
|