Skip to content

Commit 189f6fe

Browse files
committed
docs: add prosemirror-safari-ime-span
1 parent e2f0a97 commit 189f6fe

File tree

3 files changed

+284
-20
lines changed

3 files changed

+284
-20
lines changed

demo/demo.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { schema as baseSchema } from 'prosemirror-schema-basic';
1111
import { keymap } from 'prosemirror-keymap';
1212
import { exampleSetup, buildMenuItems } from 'prosemirror-example-setup';
1313
import { MenuItem, Dropdown } from 'prosemirror-menu';
14-
14+
import { imeSpan } from 'prosemirror-safari-ime-span';
1515
import {
1616
addColumnAfter,
1717
addColumnBefore,
@@ -89,6 +89,7 @@ let state = EditorState.create({
8989
Tab: goToNextCell(1),
9090
'Shift-Tab': goToNextCell(-1),
9191
}),
92+
imeSpan,
9293
].concat(
9394
exampleSetup({
9495
schema,

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@
5252
"prosemirror-commands": "^1.5.2",
5353
"prosemirror-example-setup": "^1.2.2",
5454
"prosemirror-menu": "^1.2.2",
55+
"prosemirror-safari-ime-span": "^1.0.1",
5556
"prosemirror-schema-basic": "^1.2.2",
5657
"prosemirror-test-builder": "^1.1.1",
57-
"tsup": "^7.2.0",
58+
"tsup": "^8.1.0",
5859
"typescript": "^4.9.5",
5960
"vite": "^4.4.9",
6061
"vitest": "^0.34.4"

0 commit comments

Comments
 (0)