Philipp Kühn
b131330ca1
don’t check for canReplaceWith within replaceRange
2021-05-04 20:51:32 +02:00
Philipp Kühn
b3fb0228e0
fix: ignore editable in dispatchTransaction, fix #1239
2021-05-04 10:46:32 +02:00
Philipp Kühn
80cf8bb71b
throw error for missing mark/node type
2021-05-03 09:50:57 +02:00
Mark Zepeda
7426be019e
Fix returning true/false in can().chain().run()
...
I think this was previously meant to return a function in the proxy object getter, but now it's a standalone function and should return the result of the callbacks.
2021-05-02 20:04:10 -05:00
Philipp Kühn
0b67f18e3a
fix: fix onBeforeCreate event handler, fix #1236
2021-04-27 21:52:22 +02:00
Philipp Kühn
234d23887b
fix: prevent a bug for node views when pressing enter on iOS, fix #1214
2021-04-27 21:07:12 +02:00
Philipp Kühn
fb3990d333
use minMax fo selection commands
2021-04-27 11:52:50 +02:00
Philipp Kühn
811bf693eb
feat: add setNodeSelection and setTextSelection commands
2021-04-27 11:41:24 +02:00
Philipp Kühn
592892edd1
fix: add correct type for parseOptions
2021-04-26 23:43:32 +02:00
Philipp Kühn
26785dbec0
fix: fix type error for commands
2021-04-26 23:33:45 +02:00
Philipp Kühn
9a40c17b34
fix: set correct type for emitUpdate
2021-04-25 21:04:26 +02:00
Philipp Kühn
cfd29fac86
fix: better merge mark attributes for existing marks, fix #1039
2021-04-23 08:58:03 +02:00
Philipp Kühn
1c8ca95de2
refactor: remove AnyObject type
2021-04-21 09:43:31 +02:00
Philipp Kühn
12f60abb73
feat: add name to extension context
2021-04-20 23:11:35 +02:00
Philipp Kühn
e0c2460a96
feat: add editor prop to KeyboardShortcutCommand
2021-04-20 22:58:09 +02:00
Philipp Kühn
4e6d43bbfb
fix: fix a bug when dragging node views
2021-04-20 17:18:59 +02:00
Philipp Kühn
aa002a012b
fix: fix extension option merging
2021-04-17 21:25:29 +02:00
Philipp Kühn
89b72b8608
refactoring: rename posToClientRect to posToDOMRect
2021-04-16 14:44:10 +02:00
Philipp Kühn
a0ba4542ef
fix menu fade animations
2021-04-16 13:29:50 +02:00
Philipp Kühn
9f64015157
feat: remove resize event handler
2021-04-16 12:51:47 +02:00
Philipp Kühn
8dab6144a6
feat: add coordsAtPos and posToClientRect helper methods
2021-04-16 09:56:52 +02:00
Philipp Kühn
4137e00d98
fix: fix type for emitUpdate, fix #276
2021-04-16 00:17:09 +02:00
Philipp Kühn
afe12f1603
fix attributes
2021-04-15 23:14:47 +02:00
Philipp Kühn
08974c6332
fix lint errors
2021-04-15 22:58:13 +02:00
Philipp Kühn
b3596582da
fix some more errors
2021-04-15 22:53:02 +02:00
Philipp Kühn
6c2eea094c
wip: fix isList
2021-04-15 22:08:52 +02:00
Philipp Kühn
05434afc47
wip: add extension.name
2021-04-15 22:03:45 +02:00
Philipp Kühn
016bda4010
wip: fix extendNodeSchema and extendMarkSchema
2021-04-15 21:43:41 +02:00
Philipp Kühn
07bc40ce75
wip: add getExtensionField
2021-04-15 21:14:33 +02:00
Philipp Kühn
d194b90a61
wip: save hierachy within extension classes
2021-04-15 14:40:28 +02:00
Philipp Kühn
c40ce34eec
wip: add some hierarchy tests
2021-04-14 09:48:38 +02:00
Philipp Kühn
0a6312382f
fix: fix adding mark only with insertContent(), fix #264
2021-04-12 12:39:36 +02:00
Philipp Kühn
5e1ec5d2a6
feat: add parentConfig to extension context for more extendable extensions, fix #259
2021-04-12 11:11:02 +02:00
Philipp Kühn
e7fe7248af
fix: add scrollIntoView for insertContent
2021-04-09 10:45:23 +02:00
Philipp Kühn
708ac94ceb
fix: fix a bug when detecting changes within node views
2021-04-09 09:51:07 +02:00
Philipp Kühn
39147f5b02
fix: fixed type for Content
2021-04-09 08:22:13 +02:00
Philipp Kühn
d2c5b71c28
fix: improve drag position for node views even more
2021-04-09 00:11:29 +02:00
Philipp Kühn
5e5b8db6eb
fix: improve drag position for node views
2021-04-08 23:53:47 +02:00
Philipp Kühn
95f31f48fd
Merge branch 'main' into feature/extension-code-block-lowlight
2021-04-07 22:39:39 +02:00
Philipp Kühn
160ee9f846
enable clipboardTextSerializer again
2021-04-07 22:22:39 +02:00
Philipp Kühn
7877fbcb11
fix lint
2021-04-07 22:09:46 +02:00
Philipp Kühn
a0e2a830d7
refactor: remove isEditable from node views, remove viewUpdate event
2021-04-07 22:07:36 +02:00
Philipp Kühn
3334d930f3
feat: add resetAttributes() command, deprecate resetNodeAttributes()
2021-04-07 21:30:55 +02:00
Philipp Kühn
aac32b4df6
feat: add updateAttributes() command, deprecate updateNodeAttributes(), fix #254
2021-04-07 21:17:02 +02:00
Philipp Kühn
bb1ae659a4
feat: add priority option to extensions
2021-04-07 18:29:16 +02:00
Philipp Kühn
beb96c5cbf
fix: remove debug log
2021-04-07 16:03:01 +02:00
Philipp Kühn
b8d9b7d4c7
feat: add insertContent() command, deprecate insertText(), insertHTML() and insertNode()
2021-04-07 11:53:37 +02:00
Philipp Kühn
704e01de6a
Merge branch 'main' into feature/extension-code-block-lowlight
...
# Conflicts:
# docs/src/docPages/api/nodes/code-block-lowlight.md
# docs/src/links.yaml
2021-04-04 23:13:52 +02:00
Philipp Kühn
3a5cad6bea
check for contenteditable within nodeviews
2021-04-04 09:50:36 +02:00
Philipp Kühn
6757813fd0
refactoring
2021-04-02 23:53:04 +02:00