🐛 Fix esm module incompatibilities on text-editor with node

This commit is contained in:
Andrey Antukh 2024-11-19 17:20:16 +01:00
parent 04a0d867b0
commit 7faa9e970e
19 changed files with 52 additions and 52 deletions

View file

@ -6,10 +6,10 @@
* Copyright (c) KALEIDOS INC
*/
import { createElement, isElement } from "./Element";
import { createEmptyParagraph, isParagraph } from "./Paragraph";
import { setStyles } from "./Style";
import { createRandomId } from "./Element";
import { createElement, isElement } from "./Element.js";
import { createEmptyParagraph, isParagraph } from "./Paragraph.js";
import { setStyles } from "./Style.js";
import { createRandomId } from "./Element.js";
export const TAG = "DIV";
export const TYPE = "root";