Commit Graph

1422 Commits

Author SHA1 Message Date
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
3f7e6b219b fix: prevent multiple space characters after mention node, fix #1703 2021-08-20 09:33:16 +02:00
Philipp Kühn
bafe94f512 dependencies: update 2021-08-20 09:25:46 +02:00
Hans Pagel
ae9f2d290a Publish
- @tiptap/extension-color@2.0.0-beta.2
2021-08-19 10:39:57 +02:00
Hans Pagel
f5ebaeac3c
packages: add a new color extension to set the text color (#1744) 2021-08-19 10:37:51 +02:00
Philipp Kühn
903220b86b Publish
- @tiptap/core@2.0.0-beta.99
 - @tiptap/extension-bubble-menu@2.0.0-beta.29
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.34
 - @tiptap/extension-floating-menu@2.0.0-beta.23
 - @tiptap/extension-focus@2.0.0-beta.23
 - @tiptap/extension-mention@2.0.0-beta.67
 - @tiptap/extension-placeholder@2.0.0-beta.27
 - @tiptap/extension-table@2.0.0-beta.28
 - @tiptap/html@2.0.0-beta.98
 - @tiptap/react@2.0.0-beta.60
 - @tiptap/starter-kit@2.0.0-beta.97
 - @tiptap/suggestion@2.0.0-beta.65
 - @tiptap/vue-2@2.0.0-beta.46
 - @tiptap/vue-3@2.0.0-beta.52
2021-08-13 23:55:57 +02:00
Philipp Kühn
5bc7eb0e8b dependencies: update 2021-08-13 23:44:08 +02:00
Philipp Kühn
3143f5a725 Publish
- @tiptap/core@2.0.0-beta.98
 - @tiptap/html@2.0.0-beta.97
 - @tiptap/starter-kit@2.0.0-beta.96
2021-08-13 15:54:22 +02:00
Philipp Kühn
920d9a0113 fix lint error 2021-08-13 15:50:18 +02:00
Philipp Kühn
b4702959c9 refactor: remove deprecated method 2021-08-13 15:48:03 +02:00
Philipp Kühn
9cf99fedc0 refactor: remove deprecated packages 2021-08-13 15:47:53 +02:00
Philipp Kühn
731c1640d7 Publish
- @tiptap/extension-mention@2.0.0-beta.66
 - @tiptap/suggestion@2.0.0-beta.64
2021-08-13 15:15:43 +02:00
Philipp Kühn
9789372cea fix: improve suggestion handling for chinese input, fix #1449 2021-08-13 15:13:19 +02:00
Philipp Kühn
2644bb8d99 Publish
- @tiptap/core@2.0.0-beta.97
 - @tiptap/html@2.0.0-beta.96
 - @tiptap/starter-kit@2.0.0-beta.95
2021-08-13 14:06:51 +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
d9abb0c736 Publish
- @tiptap/extension-mention@2.0.0-beta.65
 - @tiptap/suggestion@2.0.0-beta.63
2021-08-13 13:18:58 +02:00
Philipp Kühn
7cf3350a83 fix: add pluginKey option to suggestion plugin, fix #1282 2021-08-13 13:14:54 +02:00
Philipp Kühn
bcc8234050 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.28
 - @tiptap/extension-floating-menu@2.0.0-beta.22
 - @tiptap/react@2.0.0-beta.59
 - @tiptap/vue-2@2.0.0-beta.45
 - @tiptap/vue-3@2.0.0-beta.51
2021-08-13 12:34:32 +02:00
Philipp Kühn
89d26f7cba fix: rename key to pluginKey for menus 2021-08-13 12:33:06 +02:00
Philipp Kühn
8fd75bc4b6 Publish
- @tiptap/extension-horizontal-rule@2.0.0-beta.19
 - @tiptap/starter-kit@2.0.0-beta.94
2021-08-12 23:53:08 +02:00
Philipp Kühn
6e76bb84fc fix: remove node before hr if it’s an empty text block (fix #1665) 2021-08-12 23:51:37 +02:00
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
f57466ccd0 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.26
 - @tiptap/extension-floating-menu@2.0.0-beta.20
 - @tiptap/extension-paragraph@2.0.0-beta.17
 - @tiptap/extension-typography@2.0.0-beta.14
 - @tiptap/react@2.0.0-beta.57
 - @tiptap/starter-kit@2.0.0-beta.91
 - @tiptap/vue-2@2.0.0-beta.43
 - @tiptap/vue-3@2.0.0-beta.49
2021-08-11 14:40:00 +02:00
Philipp Kühn
9ba61c1582
feat: add key option and shouldShow option to menus (fix #1480, fix #1043, fix #1268, fix #1503)
* add key option to bubble menu

* ignore react for now

* add shouldShow option to bubble menu extension

* improve types

* remove BubbleMenuPluginKey

* add key and shouldShow option to floating menu extension

* fix: don’t show floating menu within code block

* docs: add new menu options
2021-08-11 14:37:58 +02:00
Philipp Kühn
bcc1309cd9 fix: use setNode instead of toggleNode for setParagraph command 2021-08-10 16:59:09 +02:00
castroCrea
ffd241b2d8
Add typography trademark (#1699) 2021-08-09 18:19:06 +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
239a2e36a4 fix: don’t resize tables if editable is set to false, fix #1549 2021-08-09 17:41:17 +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
a0444b5ec3 code style 2021-08-09 15:21:44 +02:00
dkrym
60606f99a1
fix: use correct state when doc changed externally (#1646) 2021-08-09 15:20:46 +02:00
Philipp Kühn
463b7b1eb3 dependencies: update 2021-08-09 14:54:24 +02:00
Philipp Kühn
6a5871ddba Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-08-05 12:55:59 +02:00
Philipp Kühn
8fcc80d68e fix: improve export for StarterKitOptions 2021-08-05 12:55:55 +02:00
Joe Vallender
6c08057bb2
fix: Apply the correct regex for code extension in markPasteRule (#1671) 2021-08-02 11:08:03 +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
eb27b1fbb1 Publish
- @tiptap/react@2.0.0-beta.55
 - @tiptap/vue-2@2.0.0-beta.42
 - @tiptap/vue-3@2.0.0-beta.48
2021-07-28 14:52:27 +02:00
Philipp Kühn
6ef931f85d fix another bug for updating node views 2021-07-28 14:51:58 +02:00
Philipp Kühn
d7f6e0ce3f fix: fix updating node views, fix #1656 2021-07-28 14:49:00 +02:00