Philipp Kühn
8a3b47a529
feat: parseHTML for attributes should return the value instead of an object now, fix #1863
2021-09-08 23:53:44 +02:00
Philipp Kühn
d3285e9308
refactoring
2021-09-08 12:04:02 +02:00
Philipp Kühn
a5dca087ee
fix calculating mark range for unsetMark command
2021-09-08 12:02:43 +02:00
Philipp Kühn
14e458ea7d
feat: add extendEmptyMarkRange option to mark commands ( #1859 )
2021-09-08 09:32:22 +02:00
Philipp Kühn
3a0693869d
fix: fix focus on iOS, fix #1806
2021-08-26 22:32:32 +02:00
Philipp Kühn
f65e1b32a1
fix: add topNode to getDebugJSON
2021-08-24 17:11:13 +02:00
Philipp Kühn
12602e77ef
fix: add missing ProseMirror styles
2021-08-20 21:11:39 +02:00
Philipp Kühn
64409cad66
feat: allow wildcards when checking attributes in isActive, fix #1752
2021-08-20 10:51:46 +02:00
Philipp Kühn
920d9a0113
fix lint error
2021-08-13 15:50:18 +02:00
Philipp Kühn
9cf99fedc0
refactor: remove deprecated packages
2021-08-13 15:47:53 +02:00
Philipp Kühn
7f6ed0b1c0
feat: add transaction to all events if possible, see #1461
2021-08-13 14:01:50 +02:00
Philipp Kühn
956566eaad
fix: fix some react focus issues ( #1724 ), fix #1716 , fix #1608 , fix #1520
...
* remove async createNodeViews
* focus asynchronously to fix weird bugs in react
2021-08-12 18:03:45 +02:00
Philipp Kühn
9425e7249a
fix: improve calculation for min/max positions in selections, fix #1588
2021-08-11 15:06:31 +02:00
Philipp Kühn
f6f8cf9f93
fix: fix isEditable check on initialization
2021-08-09 17:40:45 +02:00
Philipp Kühn
80296aa8d0
refactoring
2021-08-09 17:24:18 +02:00
Robert van Hoesel
e6f67caef3
fix: fix updating editorProps via setOptions ( #1540 ), fix #1518
2021-08-09 17:19:50 +02:00
castroCrea
aabdfd6f7d
fix: add CreateNodeFromContentOptions to insertContent ( #1678 )
...
* ✨ Add CreateNodeFromContentOptions to insertContent
* 📝 Add it to the doc
2021-08-09 15:40:17 +02:00
Philipp Kühn
c9869c8d30
fix: revert async focus, fix #1658
2021-07-30 09:33:55 +02:00
Hans Pagel
47d1d3425c
Examples: Syntax highlighting for React ( #1583 )
...
* Docs: Syntax highlighting - add react example
* Docs: Clean up syntax highlighting demo, make use of functional component
* fix: focus view asynchronously, fix #1520
Co-authored-by: Sven Adlung <info@svenadlung.de >
Co-authored-by: Philipp Kühn <kontakt@philipp-kuehn.com >
2021-07-28 23:42:11 +02:00
Philipp Kühn
c2ccf68e8b
fix: fix a bug in markPasteRule
2021-07-28 17:18:08 +02:00
Philipp Kühn
73f1c50bca
feat: add deleteNode command
2021-07-28 11:19:42 +02:00
Philipp Kühn
d720edbe24
feat!: provide more context to update function of node views, fix #1611
...
* add more powerful update option to node views
* add object params for all node view option props
2021-07-27 12:26:24 +02:00
Philipp Kühn
651e6911e3
feat: add ignoreMutation option to NodeViewRenderer, fix #1538
2021-07-26 18:44:02 +02:00
Philipp Kühn
4636b1a1a5
fix type for getAttributes
2021-07-26 15:36:12 +02:00
Joe Vallender
9ffd58cf25
feat: Allow a rule to be skipped from the getAttributes callback in markPasteRule ( #1625 )
...
For example: you are matching URLs with a Regex but want to make additional checks on the match array before deciding if you want to apply the mark or not. Returning null or false won't attempt to apply the mark. Currently the return value of getAttributes is applied unconditionally.
2021-07-26 15:13:05 +02:00
sibiraj-s
8ed6ac4219
Export NodeViewRendererOptions
2021-07-17 08:53:05 +02:00
Philipp Kühn
b4eda709a6
update splitListItem ( https://github.com/ProseMirror/prosemirror/issues/1146 )
2021-07-09 10:33:57 +02:00
Philipp Kühn
502b5b1cc9
fix: improve types for generateHTML
2021-06-17 23:41:42 +02:00
Philipp Kühn
2deb07fb00
fix: check for atom nodes in ignoreMutation handler, fix #1448
2021-06-14 15:56:24 +02:00
Philipp Kühn
f7890c0b42
refactoring
2021-06-14 15:35:43 +02:00
Philipp Kühn
fbc8fffb70
fix: remove editable check in updateAttributes, fix #1415
2021-06-14 15:34:09 +02:00
Philipp Kühn
b97bebe021
fix: fix a bug when insert newline at node start, fix #1411
2021-06-07 23:55:18 +02:00
Philipp Kühn
a757716f68
feat: add Tracker class
2021-06-04 23:57:41 +02:00
Philipp Kühn
8e29b5f854
improve types
2021-06-04 22:58:50 +02:00
Philipp Kühn
783ce4e3ac
feat: add forEach command
2021-06-04 22:25:53 +02:00
Philipp Kühn
78e2a6e775
add generic to commands type
2021-06-04 21:56:29 +02:00
Philipp Kühn
d037c5656a
fix: fix merging options on configure for multiple extension instances
2021-06-03 13:13:43 +02:00
Philipp Kühn
36dad2bbae
feat: add setMeta command
2021-06-02 10:50:10 +02:00
Philipp Kühn
485fb8c74c
fix: remove custom coordsAtPos method, fix #583
2021-06-01 18:57:46 +02:00
Philipp Kühn
2a4e02ade3
fix: prevent dispatch empty fragment when parsing content with insertContent
2021-06-01 18:20:01 +02:00
philippkuehn
f54b9c9b42
ci: fix code style linting errors
2021-05-31 17:20:25 +00:00
Markus Machatschek
52dd6e0e64
Prevent tiptap from creating duplicate style tags when injecting css
2021-05-31 19:12:05 +02:00
Philipp Kühn
3c4cc96fee
fix: check for excluded marks in isMarkActive, fix #1388
2021-05-29 21:02:59 +02:00
Philipp Kühn
370966847e
fix: fix error when calculating contentMatch within clearNodes command, fix #1361
2021-05-28 17:37:28 +02:00
Philipp Kühn
7b74d5849f
fix lint errors
2021-05-28 15:16:33 +02:00
Philipp Kühn
e52f41ae78
fix: fix fragile schema validity test in splitBlock
2021-05-28 13:55:54 +02:00
Philipp Kühn
939fc3d93a
fix: prevent bug when editor is destroyed very fast
2021-05-28 12:14:12 +02:00
Philipp Kühn
c0e68d5a25
fix: do not check for node selection within posToDOMRect
2021-05-24 20:40:24 +02:00
Philipp Kühn
a4ec4ffcfd
fix: check for NodeSelection within posToDOMRect
2021-05-24 08:46:51 +02:00
Philipp Kühn
940fd69b61
fix: remove empty attributes in getDebugJSON
2021-05-19 18:27:12 +02:00