diff options
author | Jonas <jonas@freesources.org> | 2022-09-19 15:52:01 +0300 |
---|---|---|
committer | Jonas <jonas@freesources.org> | 2022-09-19 15:55:12 +0300 |
commit | 53060be22bf1e97eff75ebb17cf61d47b1634963 (patch) | |
tree | eeaca06b8500d471cc5d81f6003318812bb43c01 /src/extensions | |
parent | aad38b51d6ac1e8c86989d91c95ac28929f715df (diff) |
Use import instead of require to fix compilation with vite
Signed-off-by: Jonas <jonas@freesources.org>
Diffstat (limited to 'src/extensions')
-rw-r--r-- | src/extensions/KeepSyntax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extensions/KeepSyntax.js b/src/extensions/KeepSyntax.js index 80e64e4fb..15455373a 100644 --- a/src/extensions/KeepSyntax.js +++ b/src/extensions/KeepSyntax.js @@ -1,4 +1,4 @@ -const { Mark } = require('@tiptap/core') +import { Mark } from '@tiptap/core' /** * Keep markdown untouched |