|
1 | 1 | import { Extensions, extensions } from "@tiptap/core";
|
2 | 2 |
|
3 |
| -import Bold from "@tiptap/extension-bold"; |
4 |
| -import Code from "@tiptap/extension-code"; |
5 |
| -import DropCursor from "@tiptap/extension-dropcursor"; |
6 |
| -import GapCursor from "@tiptap/extension-gapcursor"; |
7 |
| -import HardBreak from "@tiptap/extension-hard-break"; |
| 3 | +import { Bold } from "@tiptap/extension-bold"; |
| 4 | +import { Code } from "@tiptap/extension-code"; |
| 5 | +import { Dropcursor } from "@tiptap/extension-dropcursor"; |
| 6 | +import { Gapcursor } from "@tiptap/extension-gapcursor"; |
| 7 | +import { HardBreak } from "@tiptap/extension-hard-break"; |
8 | 8 | import { History } from "@tiptap/extension-history";
|
9 |
| -import Italic from "@tiptap/extension-italic"; |
| 9 | +import { Italic } from "@tiptap/extension-italic"; |
10 | 10 | import { Link } from "@tiptap/extension-link";
|
11 |
| -import Strike from "@tiptap/extension-strike"; |
12 |
| -import Text from "@tiptap/extension-text"; |
13 |
| -import Underline from "@tiptap/extension-underline"; |
| 11 | +import { Strike } from "@tiptap/extension-strike"; |
| 12 | +import { Text } from "@tiptap/extension-text"; |
| 13 | +import { Underline } from "@tiptap/extension-underline"; |
14 | 14 | import { BackgroundColorExtension } from "./extensions/BackgroundColor/BackgroundColorExtension";
|
15 | 15 | import { BackgroundColorMark } from "./extensions/BackgroundColor/BackgroundColorMark";
|
16 | 16 | import { blocks } from "./extensions/Blocks";
|
@@ -53,7 +53,7 @@ export const getBlockNoteExtensions = (opts: {
|
53 | 53 | extensions.Tabindex,
|
54 | 54 |
|
55 | 55 | // DevTools,
|
56 |
| - GapCursor, |
| 56 | + Gapcursor, |
57 | 57 |
|
58 | 58 | // DropCursor,
|
59 | 59 | Placeholder.configure({
|
@@ -87,7 +87,7 @@ export const getBlockNoteExtensions = (opts: {
|
87 | 87 | // custom blocks:
|
88 | 88 | ...blocks,
|
89 | 89 |
|
90 |
| - DropCursor.configure({ width: 5, color: "#ddeeff" }), |
| 90 | + Dropcursor.configure({ width: 5, color: "#ddeeff" }), |
91 | 91 | History,
|
92 | 92 | // This needs to be at the bottom of this list, because Key events (such as enter, when selecting a /command),
|
93 | 93 | // should be handled before Enter handlers in other components like splitListItem
|
|
0 commit comments