Skip to content

Commit

Permalink
docs: add prosemirror-safari-ime-span
Browse files Browse the repository at this point in the history
  • Loading branch information
ocavue committed Jul 2, 2024
1 parent e2f0a97 commit 189f6fe
Show file tree
Hide file tree
Showing 3 changed files with 284 additions and 20 deletions.
3 changes: 2 additions & 1 deletion demo/demo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { schema as baseSchema } from 'prosemirror-schema-basic';
import { keymap } from 'prosemirror-keymap';
import { exampleSetup, buildMenuItems } from 'prosemirror-example-setup';
import { MenuItem, Dropdown } from 'prosemirror-menu';

import { imeSpan } from 'prosemirror-safari-ime-span';
import {
addColumnAfter,
addColumnBefore,
Expand Down Expand Up @@ -89,6 +89,7 @@ let state = EditorState.create({
Tab: goToNextCell(1),
'Shift-Tab': goToNextCell(-1),
}),
imeSpan,
].concat(
exampleSetup({
schema,
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@
"prosemirror-commands": "^1.5.2",
"prosemirror-example-setup": "^1.2.2",
"prosemirror-menu": "^1.2.2",
"prosemirror-safari-ime-span": "^1.0.1",
"prosemirror-schema-basic": "^1.2.2",
"prosemirror-test-builder": "^1.1.1",
"tsup": "^7.2.0",
"tsup": "^8.1.0",
"typescript": "^4.9.5",
"vite": "^4.4.9",
"vitest": "^0.34.4"
Expand Down
Loading

0 comments on commit 189f6fe

Please sign in to comment.