@fileverse-dev/fortune-core 1.2.66 → 1.2.67

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.
@@ -284,6 +284,14 @@ export function handlePastedTable(ctx, html, pasteHandler) {
284
284
  pastedMatrix[localRowIndex][localColIndex] = cell;
285
285
  if (hyperlink) {
286
286
  saveHyperlink(ctx, absoluteRow, absoluteCol, hyperlink.href, "webpage", hyperlink.display);
287
+ cell.hl = {
288
+ r: absoluteRow,
289
+ c: absoluteCol,
290
+ id: ctx.currentSheetId
291
+ };
292
+ cell.fc = "rgb(0, 0, 255)";
293
+ cell.un = 1;
294
+ pastedMatrix[localRowIndex][localColIndex] = cell;
287
295
  }
288
296
  applyBordersAndMerges(tdElement, localRowIndex, localColIndex, absoluteRow, absoluteCol, rowspan, colspan, pasteBorderInfo, pastedMatrix);
289
297
  if (rowspan > 1 || colspan > 1) {
@@ -292,6 +292,14 @@ function handlePastedTable(ctx, html, pasteHandler) {
292
292
  pastedMatrix[localRowIndex][localColIndex] = cell;
293
293
  if (hyperlink) {
294
294
  (0, _modules.saveHyperlink)(ctx, absoluteRow, absoluteCol, hyperlink.href, "webpage", hyperlink.display);
295
+ cell.hl = {
296
+ r: absoluteRow,
297
+ c: absoluteCol,
298
+ id: ctx.currentSheetId
299
+ };
300
+ cell.fc = "rgb(0, 0, 255)";
301
+ cell.un = 1;
302
+ pastedMatrix[localRowIndex][localColIndex] = cell;
295
303
  }
296
304
  applyBordersAndMerges(tdElement, localRowIndex, localColIndex, absoluteRow, absoluteCol, rowspan, colspan, pasteBorderInfo, pastedMatrix);
297
305
  if (rowspan > 1 || colspan > 1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.2.66",
3
+ "version": "1.2.67",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "typings": "lib/index.d.ts",