@windoc/core 0.1.0 → 0.2.1

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/dist/index.mjs CHANGED
@@ -393,9 +393,6 @@ function scrollIntoView(container, selected) {
393
393
  }
394
394
  }
395
395
 
396
- // src/core/cursor/Cursor.ts
397
- import { nextTick as nextTick2 } from "process";
398
-
399
396
  // src/dataset/constant/Editor.ts
400
397
  var EDITOR_COMPONENT = "editor-component";
401
398
  var EDITOR_PREFIX = "ce";
@@ -6341,6 +6338,7 @@ var CursorAgent = class {
6341
6338
  };
6342
6339
 
6343
6340
  // src/core/cursor/Cursor.ts
6341
+ var nextTick2 = (fn) => Promise.resolve().then(fn);
6344
6342
  var Cursor = class {
6345
6343
  constructor(draw, canvasEvent) {
6346
6344
  this.ANIMATION_CLASS = `${EDITOR_PREFIX}-cursor--animation`;
@@ -12313,6 +12311,7 @@ var HyperlinkParticle = class {
12313
12311
  _createHyperlinkPopupDom() {
12314
12312
  const hyperlinkPopupContainer = document.createElement("div");
12315
12313
  hyperlinkPopupContainer.classList.add(`${EDITOR_PREFIX}-hyperlink-popup`);
12314
+ hyperlinkPopupContainer.style.display = "none";
12316
12315
  const hyperlinkDom = document.createElement("a");
12317
12316
  hyperlinkDom.target = "_blank";
12318
12317
  hyperlinkDom.rel = "noopener";
@@ -16474,6 +16473,7 @@ var Previewer = class {
16474
16473
  resizerImageContainer.classList.add(`${EDITOR_PREFIX}-resizer-image`);
16475
16474
  resizerImageContainer.style.display = "none";
16476
16475
  const resizerImage = document.createElement("img");
16476
+ resizerImage.alt = "";
16477
16477
  resizerImageContainer.append(resizerImage);
16478
16478
  this.container.append(resizerImageContainer);
16479
16479
  return {