Commit Graph

770 Commits

Author SHA1 Message Date
Philipp Kühn
6547ced826 Publish
- @tiptap/core@2.0.0-beta.96
 - @tiptap/extension-bubble-menu@2.0.0-beta.27
 - @tiptap/extension-floating-menu@2.0.0-beta.21
 - @tiptap/html@2.0.0-beta.95
 - @tiptap/react@2.0.0-beta.58
 - @tiptap/starter-kit@2.0.0-beta.93
 - @tiptap/vue-2@2.0.0-beta.44
 - @tiptap/vue-3@2.0.0-beta.50
2021-08-12 18:04:54 +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
9c5a2de63e Publish
- @tiptap/core@2.0.0-beta.95
 - @tiptap/html@2.0.0-beta.94
 - @tiptap/starter-kit@2.0.0-beta.92
2021-08-11 15:12:59 +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
937f6a1682 Publish
- @tiptap/core@2.0.0-beta.94
 - @tiptap/extension-code@2.0.0-beta.16
 - @tiptap/extension-mention@2.0.0-beta.64
 - @tiptap/extension-table@2.0.0-beta.27
 - @tiptap/html@2.0.0-beta.93
 - @tiptap/react@2.0.0-beta.56
 - @tiptap/starter-kit@2.0.0-beta.90
 - @tiptap/suggestion@2.0.0-beta.62
2021-08-09 17:43:40 +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
a3381f4992 Publish
- @tiptap/core@2.0.0-beta.93
 - @tiptap/html@2.0.0-beta.92
 - @tiptap/starter-kit@2.0.0-beta.89
2021-07-30 09:38:52 +02:00
Philipp Kühn
c9869c8d30 fix: revert async focus, fix #1658 2021-07-30 09:33:55 +02:00
Philipp Kühn
6a458bcebe Publish
- @tiptap/core@2.0.0-beta.92
 - @tiptap/html@2.0.0-beta.91
 - @tiptap/starter-kit@2.0.0-beta.88
2021-07-28 23:44:05 +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
e76f7966b5 Publish
- @tiptap/core@2.0.0-beta.91
 - @tiptap/html@2.0.0-beta.90
 - @tiptap/starter-kit@2.0.0-beta.87
2021-07-28 17:19:41 +02:00
Philipp Kühn
c2ccf68e8b fix: fix a bug in markPasteRule 2021-07-28 17:18:08 +02:00
Philipp Kühn
c3d04cef60 Publish
- @tiptap/core@2.0.0-beta.90
 - @tiptap/html@2.0.0-beta.89
 - @tiptap/starter-kit@2.0.0-beta.86
2021-07-28 11:30:39 +02:00
Philipp Kühn
73f1c50bca feat: add deleteNode command 2021-07-28 11:19:42 +02:00
Philipp Kühn
51fef7d49a Publish
- @tiptap/core@2.0.0-beta.89
 - @tiptap/html@2.0.0-beta.88
 - @tiptap/react@2.0.0-beta.54
 - @tiptap/starter-kit@2.0.0-beta.85
 - @tiptap/vue-2@2.0.0-beta.41
 - @tiptap/vue-3@2.0.0-beta.47
2021-07-27 12:28:08 +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
03e4e8ea2b Publish
- @tiptap/core@2.0.0-beta.88
 - @tiptap/extension-mention@2.0.0-beta.63
 - @tiptap/extension-text-align@2.0.0-beta.22
 - @tiptap/html@2.0.0-beta.87
 - @tiptap/starter-kit@2.0.0-beta.84
 - @tiptap/suggestion@2.0.0-beta.61
2021-07-26 15:47:40 +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
Philipp Kühn
345ea8cf8a Publish
- @tiptap/core@2.0.0-beta.87
 - @tiptap/extension-blockquote@2.0.0-beta.15
 - @tiptap/extension-bold@2.0.0-beta.15
 - @tiptap/extension-bubble-menu@2.0.0-beta.25
 - @tiptap/extension-bullet-list@2.0.0-beta.15
 - @tiptap/extension-character-count@2.0.0-beta.13
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.33
 - @tiptap/extension-code-block@2.0.0-beta.17
 - @tiptap/extension-code@2.0.0-beta.15
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.21
 - @tiptap/extension-collaboration@2.0.0-beta.20
 - @tiptap/extension-document@2.0.0-beta.13
 - @tiptap/extension-dropcursor@2.0.0-beta.18
 - @tiptap/extension-floating-menu@2.0.0-beta.19
 - @tiptap/extension-focus@2.0.0-beta.22
 - @tiptap/extension-font-family@2.0.0-beta.14
 - @tiptap/extension-gapcursor@2.0.0-beta.19
 - @tiptap/extension-hard-break@2.0.0-beta.15
 - @tiptap/extension-heading@2.0.0-beta.15
 - @tiptap/extension-highlight@2.0.0-beta.15
 - @tiptap/extension-history@2.0.0-beta.15
 - @tiptap/extension-horizontal-rule@2.0.0-beta.18
 - @tiptap/extension-image@2.0.0-beta.15
 - @tiptap/extension-italic@2.0.0-beta.15
 - @tiptap/extension-link@2.0.0-beta.19
 - @tiptap/extension-list-item@2.0.0-beta.14
 - @tiptap/extension-mention@2.0.0-beta.62
 - @tiptap/extension-ordered-list@2.0.0-beta.15
 - @tiptap/extension-paragraph@2.0.0-beta.16
 - @tiptap/extension-placeholder@2.0.0-beta.26
 - @tiptap/extension-strike@2.0.0-beta.17
 - @tiptap/extension-subscript@2.0.0-beta.4
 - @tiptap/extension-superscript@2.0.0-beta.4
 - @tiptap/extension-table-cell@2.0.0-beta.14
 - @tiptap/extension-table-header@2.0.0-beta.16
 - @tiptap/extension-table-row@2.0.0-beta.14
 - @tiptap/extension-table@2.0.0-beta.26
 - @tiptap/extension-task-item@2.0.0-beta.17
 - @tiptap/extension-task-list@2.0.0-beta.17
 - @tiptap/extension-text-align@2.0.0-beta.21
 - @tiptap/extension-text-style@2.0.0-beta.17
 - @tiptap/extension-text@2.0.0-beta.13
 - @tiptap/extension-typography@2.0.0-beta.13
 - @tiptap/extension-underline@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.86
 - @tiptap/react@2.0.0-beta.53
 - @tiptap/starter-kit@2.0.0-beta.83
 - @tiptap/suggestion@2.0.0-beta.60
 - @tiptap/vue-2@2.0.0-beta.40
 - @tiptap/vue-3@2.0.0-beta.46
2021-07-26 11:42:13 +02:00
Philipp Kühn
29e75de786 dependencies: update 2021-07-26 11:35:58 +02:00
Andrew Luca
0eced7b1e6 chore: add repository for all packages.json 2021-07-23 01:13:32 +02:00
sibiraj-s
8ed6ac4219 Export NodeViewRendererOptions 2021-07-17 08:53:05 +02:00
Philipp Kühn
1c80d41cec Publish
- @tiptap/core@2.0.0-beta.86
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.32
 - @tiptap/extension-dropcursor@2.0.0-beta.17
 - @tiptap/extension-gapcursor@2.0.0-beta.18
 - @tiptap/extension-history@2.0.0-beta.14
 - @tiptap/extension-table@2.0.0-beta.25
 - @tiptap/html@2.0.0-beta.85
 - @tiptap/starter-kit@2.0.0-beta.82
2021-07-09 10:45:44 +02:00
Philipp Kühn
6ea02176dc dependencies: update 2021-07-09 10:43:04 +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
84d732f7a5 Publish
- @tiptap/core@2.0.0-beta.85
 - @tiptap/extension-bubble-menu@2.0.0-beta.24
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.31
 - @tiptap/extension-floating-menu@2.0.0-beta.18
 - @tiptap/extension-focus@2.0.0-beta.21
 - @tiptap/extension-mention@2.0.0-beta.61
 - @tiptap/extension-placeholder@2.0.0-beta.25
 - @tiptap/extension-table@2.0.0-beta.24
 - @tiptap/html@2.0.0-beta.84
 - @tiptap/react@2.0.0-beta.51
 - @tiptap/starter-kit@2.0.0-beta.81
 - @tiptap/suggestion@2.0.0-beta.59
 - @tiptap/vue-2@2.0.0-beta.39
 - @tiptap/vue-3@2.0.0-beta.45
2021-06-23 10:18:59 +02:00
Philipp Kühn
cf3fc73e62 dependencies: update 2021-06-23 10:09:39 +02:00
Philipp Kühn
3757d07f70 Publish
- @tiptap/core@2.0.0-beta.84
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.30
 - @tiptap/extension-mention@2.0.0-beta.60
 - @tiptap/extension-placeholder@2.0.0-beta.24
 - @tiptap/extension-text-align@2.0.0-beta.19
 - @tiptap/html@2.0.0-beta.83
 - @tiptap/starter-kit@2.0.0-beta.80
 - @tiptap/suggestion@2.0.0-beta.58
2021-06-17 23:54:39 +02:00
Philipp Kühn
7cb4c9f322 dependencies: update 2021-06-17 23:53:32 +02:00
Philipp Kühn
502b5b1cc9 fix: improve types for generateHTML 2021-06-17 23:41:42 +02:00
Philipp Kühn
dcc1093db4 Publish
- @tiptap/core@2.0.0-beta.83
 - @tiptap/extension-bubble-menu@2.0.0-beta.22
 - @tiptap/extension-dropcursor@2.0.0-beta.16
 - @tiptap/extension-mention@2.0.0-beta.59
 - @tiptap/extension-placeholder@2.0.0-beta.23
 - @tiptap/extension-subscript@2.0.0-beta.3
 - @tiptap/extension-superscript@2.0.0-beta.3
 - @tiptap/extension-text-style@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.82
 - @tiptap/react@2.0.0-beta.49
 - @tiptap/starter-kit@2.0.0-beta.79
 - @tiptap/vue-2@2.0.0-beta.37
 - @tiptap/vue-3@2.0.0-beta.43
2021-06-15 08:16:19 +02:00
Philipp Kühn
6aa424b422 Publish
- @tiptap/core@2.0.0-beta.82
 - @tiptap/extension-dropcursor@2.0.0-beta.15
 - @tiptap/extension-mention@2.0.0-beta.58
 - @tiptap/extension-placeholder@2.0.0-beta.22
 - @tiptap/html@2.0.0-beta.81
 - @tiptap/react@2.0.0-beta.47
 - @tiptap/starter-kit@2.0.0-beta.78
2021-06-14 17:02:35 +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
5c8e46b0d4 Publish
- @tiptap/core@2.0.0-beta.81
 - @tiptap/extension-blockquote@2.0.0-beta.14
 - @tiptap/extension-bold@2.0.0-beta.14
 - @tiptap/extension-bullet-list@2.0.0-beta.14
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.29
 - @tiptap/extension-code-block@2.0.0-beta.16
 - @tiptap/extension-code@2.0.0-beta.14
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.20
 - @tiptap/extension-collaboration@2.0.0-beta.19
 - @tiptap/extension-font-family@2.0.0-beta.13
 - @tiptap/extension-hard-break@2.0.0-beta.14
 - @tiptap/extension-heading@2.0.0-beta.14
 - @tiptap/extension-highlight@2.0.0-beta.14
 - @tiptap/extension-history@2.0.0-beta.13
 - @tiptap/extension-horizontal-rule@2.0.0-beta.17
 - @tiptap/extension-image@2.0.0-beta.14
 - @tiptap/extension-italic@2.0.0-beta.14
 - @tiptap/extension-link@2.0.0-beta.18
 - @tiptap/extension-ordered-list@2.0.0-beta.14
 - @tiptap/extension-paragraph@2.0.0-beta.15
 - @tiptap/extension-strike@2.0.0-beta.16
 - @tiptap/extension-table@2.0.0-beta.23
 - @tiptap/extension-task-list@2.0.0-beta.16
 - @tiptap/extension-text-align@2.0.0-beta.18
 - @tiptap/extension-text-style@2.0.0-beta.14
 - @tiptap/extension-underline@2.0.0-beta.15
 - @tiptap/html@2.0.0-beta.80
 - @tiptap/starter-kit@2.0.0-beta.77
2021-06-08 00:05:18 +02:00
Philipp Kühn
6d72bf6d42 dependencies: update 2021-06-07 23:57:24 +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
8275e62d9d Publish
- @tiptap/core@2.0.0-beta.80
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.27
 - @tiptap/html@2.0.0-beta.79
 - @tiptap/starter-kit@2.0.0-beta.76
2021-06-03 13:15:57 +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
2fd15f521b Publish
- @tiptap/core@2.0.0-beta.79
 - @tiptap/html@2.0.0-beta.78
 - @tiptap/starter-kit@2.0.0-beta.75
2021-06-02 11:05:50 +02:00