Commit Graph

2101 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
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
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
Flávio Carvalho
83a53c16db
fix: Fix multi character suggest (#1620) 2021-07-26 15:39:08 +02:00
Philipp Kühn
4636b1a1a5 fix type for getAttributes 2021-07-26 15:36:12 +02:00
Philipp Kühn
c315935bf9 fix error 2021-07-26 15:14:22 +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
Arthur McGregor
e367974e30
Change TextAlignOptions to interface (not type) (#1623) 2021-07-26 15:09:08 +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
Arthur McGregor
bd38299498
Add additional input rules to typography extension
superscriptTwo
superscriptThree
oneQuarter
threeQuarters
2021-07-22 10:36:08 +12:00
Ilya Amursky
4a2a428a4c fix: export starter kit extension options 2021-07-20 13:51:25 +02:00
Ilya Amursky
1b43de331d fix: export text align extension options 2021-07-20 13:50:52 +02:00
sibiraj-s
656a80fc3f Update hostic-dom to fix style attributes 2021-07-20 13:49:55 +02:00
sibiraj-s
8ed6ac4219 Export NodeViewRendererOptions 2021-07-17 08:53:05 +02:00
Markus Machatschek
2559ef1af1 Fix custom start for ordered lists 2021-07-15 13:28:33 +02:00
Hans Pagel
97dd95199f history: code style 2021-07-14 23:51:53 +02:00
Markus Machatschek
a331d72383 Add russian undo/redo shortcuts and fix tests 2021-07-14 23:49:45 +02:00
Hans Pagel
dbe2a8370a collaboration cursor: fix type for clientId, fix #1582 2021-07-13 23:30:01 +02:00
BrianHung
1ac8353768 initialize task-item nodeview with dataset checked 2021-07-10 23:36:03 +02:00
BrianHung
6c1e705a7a update task-item.ts nodeview to update data-checked
#1156
2021-07-10 23:36:03 +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
Yousef
cb910f5add export createTable 2021-07-06 21:42:27 +02:00
Philipp Kühn
304080ce1c Publish
- @tiptap/react@2.0.0-beta.52
2021-06-24 19:59:34 +02:00
Philipp Kühn
44e47222a0 fix: check for destroyed editor before creating node views in react 2021-06-24 19:59:06 +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
c3cebfe752 Publish
- @tiptap/extension-text-align@2.0.0-beta.20
2021-06-18 12:34:01 +02:00
Philipp Kühn
b4e41afd17 fix: remove default types for textAlign extension, fix #1430
There are no default types for TextAlign extension anymore. You have to configure by yourself. Usually something like:

```js
TextAlign.configure({
  types: ['heading', 'paragraph'],
})
```
2021-06-18 12:33:18 +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
ddb9a4bf18 fix: fix a bug where setting text align isn’t working when heading extension is not added 2021-06-17 17:34:06 +02:00
Philipp Kühn
108c081001 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.23
 - @tiptap/react@2.0.0-beta.50
 - @tiptap/vue-2@2.0.0-beta.38
 - @tiptap/vue-3@2.0.0-beta.44
2021-06-15 19:07:39 +02:00
Philipp Kühn
f12b1273f2 fix: fix a bug where bubble menu does not appear when selection starts from empty paragraph node, fix #1474 2021-06-15 19:06:26 +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
philippkuehn
1b723ea57c ci: fix code style linting errors 2021-06-15 06:11:08 +00:00
shadow-light
5178172864
fix: Fix parsing of mention nodes (#1471) 2021-06-15 08:10:17 +02:00
Philipp Kühn
123f2067e5 fix: revert excluding superscript from subscript, and vice versa to prevent error if not both extensions are used 2021-06-14 23:47:31 +02:00
Philipp Kühn
697b2529d9 Publish
- @tiptap/extension-text-style@2.0.0-beta.15
2021-06-14 22:28:55 +02:00
Tom Boettger
fbf442269d
fix: Fix removal of textStyle mark when any style resets (#1465)
I built some extensions based on the textStyle extension but whenever I reset a style/attribute, the whole textStyle mark gets removed when there are still other styles defined in the mark.
2021-06-14 22:28:16 +02:00
Philipp Kühn
8624505ce1 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.21
 - @tiptap/react@2.0.0-beta.48
 - @tiptap/vue-2@2.0.0-beta.36
 - @tiptap/vue-3@2.0.0-beta.42
2021-06-14 19:02:50 +02:00
Philipp Kühn
a3a7650784 fix: show bubble menu for atom nodes even if there is no text content, fix #1446 2021-06-14 18:58:10 +02:00
Philipp Kühn
6034eb9b30 fix: hide bubble menu on drag, fix #1443 2021-06-14 18:28:27 +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
3b78af44a0 feat: add renderLabel option to mention extension, see #1322 2021-06-14 16:40:17 +02:00
Philipp Kühn
c64761a9e5 BREAKING CHANGE: data-mention is not used to parse a mention id or label anymore 2021-06-14 16:22:09 +02:00
Philipp Kühn
299580a77d code style 2021-06-14 16:17:13 +02:00
philippkuehn
88329c8567 ci: fix code style linting errors 2021-06-14 14:14:00 +00:00
Tom Hartley
c3afe880ae
feat: add label attribute to mention extension (#1322) 2021-06-14 16:13:06 +02:00
Philipp Kühn
a3a847f711 code style 2021-06-14 16:06:49 +02:00
philippkuehn
15edaf0561 ci: fix code style linting errors 2021-06-14 14:03:29 +00:00
Philipp Kühn
55203d38eb
Merge pull request #1452 from YousefED/patch-2
use forwardRef for react wrappers
2021-06-14 16:02:45 +02:00
Philipp Kühn
acd789be0a code style 2021-06-14 16:00:32 +02:00
Philipp Kühn
1aabaf1b5d
Merge pull request #1444 from shadow-light/patch-2
Make drop cursor default to regular caret color
2021-06-14 15:59:53 +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
11b4866948 fix: don’t show placeholder if node contains only atom nodes, fix #1457 2021-06-14 15:07:17 +02:00
Philipp Kühn
fe24b6d7de dependencies: udpate 2021-06-14 15:02:26 +02:00
Yousef
df8310407d
Update NodeViewWrapper.tsx 2021-06-11 08:33:35 +02:00
Yousef
cc6bc0fa40
Update NodeViewContent.tsx 2021-06-11 08:33:22 +02:00
Yousef
deb79ea729
NodeViewContent forwardRef 2021-06-11 08:06:44 +02:00
Yousef
83525ec4f1
NodeViewWrapper forwardRef 2021-06-11 08:04:53 +02:00
shadow-light
4fdeb944a2
Make drop cursor default to regular caret color
Currently drop cursor defaults to black rather than the text color, which is what normal carets default to. Using `currentcolor` should provide a better default value.
2021-06-10 09:56:06 +10:00
Philipp Kühn
cf372f9449 Publish
- @tiptap/extension-floating-menu@2.0.0-beta.17
 - @tiptap/extension-subscript@2.0.0-beta.2
 - @tiptap/extension-superscript@2.0.0-beta.2
 - @tiptap/react@2.0.0-beta.46
 - @tiptap/vue-2@2.0.0-beta.35
 - @tiptap/vue-3@2.0.0-beta.41
2021-06-09 11:07:01 +02:00
Philipp Kühn
87a8b6fda8 fix types 2021-06-09 11:05:41 +02:00
Philipp Kühn
c24ed30cad dependencies: update 2021-06-09 11:00:44 +02:00
Philipp Kühn
887651d005
Merge pull request #1437 from BrianHung/superscript-subscript-keyboard-shortcuts
Add keyboard shortcuts to toggle superscript and subscript marks.
2021-06-09 10:58:03 +02:00
Brian Hung
f3a94e1db4 Add keyboard shortcuts to toggle superscript and subscript marks. 2021-06-08 21:23:58 -07:00
Brian Hung
ec11554c09 Exclude superscript from subscript, and vice versa. 2021-06-08 18:47:04 -07:00
Hans Pagel
3f57a13d19 feature: add subscript and superscript extensions, docs and tests 2021-06-08 14:52:38 +02:00
shadow-light
c531c5a797
Fix name of FloatingMenu 2021-06-08 09:53:05 +10: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
f038b94fba Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.28
2021-06-03 21:23:15 +02:00
Philipp Kühn
38f3601e6f Revert "feat: update lowlight to v2"
This reverts commit 7e96d98a21.
2021-06-03 21:20:36 +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
c949fb6c7f remove log 2021-06-03 09:59:03 +02:00
Philipp Kühn
c8037b6c9d debug 2021-06-03 09:42:15 +02:00
Philipp Kühn
7e7af06806 add logging 2021-06-03 09:30:41 +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
Philipp Kühn
29f476a9c9 version bump 2021-06-02 11:05:18 +02:00
Philipp Kühn
09ce876c79 Publish
- @tiptap/core@2.0.0-beta.77
 - @tiptap/html@2.0.0-beta.77
 - @tiptap/starter-kit@2.0.0-beta.74
2021-06-02 10:56:52 +02:00
Philipp Kühn
36dad2bbae feat: add setMeta command 2021-06-02 10:50:10 +02:00
Philipp Kühn
2eb177f7d2 Publish
- @tiptap/core@2.0.0-beta.76
 - @tiptap/html@2.0.0-beta.76
 - @tiptap/starter-kit@2.0.0-beta.73
2021-06-01 18:59:02 +02:00
Philipp Kühn
485fb8c74c fix: remove custom coordsAtPos method, fix #583 2021-06-01 18:57:46 +02:00
Philipp Kühn
4bc0de8834 Publish
- @tiptap/core@2.0.0-beta.75
 - @tiptap/html@2.0.0-beta.75
 - @tiptap/starter-kit@2.0.0-beta.72
2021-06-01 18:23:11 +02:00
Philipp Kühn
2a4e02ade3 fix: prevent dispatch empty fragment when parsing content with insertContent 2021-06-01 18:20:01 +02:00
Philipp Kühn
ad5dc2e194 Publish
- @tiptap/core@2.0.0-beta.74
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.26
 - @tiptap/html@2.0.0-beta.74
 - @tiptap/starter-kit@2.0.0-beta.71
2021-05-31 21:06:55 +02:00
Philipp Kühn
86fa519ed3 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-05-31 20:49:52 +02:00
Philipp Kühn
7e96d98a21 feat: update lowlight to v2 2021-05-31 20:49:42 +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
71221f54d1 Publish
- @tiptap/core@2.0.0-beta.73
 - @tiptap/html@2.0.0-beta.73
 - @tiptap/starter-kit@2.0.0-beta.70
2021-05-29 21:04:39 +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
a66db3eaa9 Publish
- @tiptap/react@2.0.0-beta.45
2021-05-29 20:14:28 +02:00
Philipp Kühn
78f75c3e0e fix: maybe move content dom on update, fix #1370 2021-05-29 20:12:21 +02:00
Philipp Kühn
13d9ffda82 Publish
- @tiptap/core@2.0.0-beta.72
 - @tiptap/extension-placeholder@2.0.0-beta.21
 - @tiptap/html@2.0.0-beta.72
 - @tiptap/starter-kit@2.0.0-beta.69
2021-05-28 17:40:52 +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
3606eb9d02 Publish
- @tiptap/react@2.0.0-beta.44
2021-05-28 15:01:41 +02:00
Philipp Kühn
60708a7817 fix: maybe move content dom on update, see #1370 2021-05-28 15:00:51 +02:00
Philipp Kühn
3d271953c3 Publish
- @tiptap/core@2.0.0-beta.71
 - @tiptap/html@2.0.0-beta.71
 - @tiptap/starter-kit@2.0.0-beta.68
2021-05-28 14:06: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
9d13db6988 Publish
- @tiptap/core@2.0.0-beta.70
 - @tiptap/html@2.0.0-beta.70
 - @tiptap/starter-kit@2.0.0-beta.67
 - @tiptap/vue-2@2.0.0-beta.34
 - @tiptap/vue-3@2.0.0-beta.40
2021-05-28 12:14:59 +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
5b9395ee74 Publish
- @tiptap/core@2.0.0-beta.69
 - @tiptap/extension-bubble-menu@2.0.0-beta.20
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.25
 - @tiptap/extension-dropcursor@2.0.0-beta.14
 - @tiptap/extension-floating-menu@2.0.0-beta.16
 - @tiptap/extension-focus@2.0.0-beta.20
 - @tiptap/extension-mention@2.0.0-beta.57
 - @tiptap/extension-placeholder@2.0.0-beta.20
 - @tiptap/extension-strike@2.0.0-beta.15
 - @tiptap/extension-table@2.0.0-beta.22
 - @tiptap/extension-task-item@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.69
 - @tiptap/react@2.0.0-beta.43
 - @tiptap/starter-kit@2.0.0-beta.66
 - @tiptap/suggestion@2.0.0-beta.57
 - @tiptap/vue-2@2.0.0-beta.33
 - @tiptap/vue-3@2.0.0-beta.39
2021-05-27 18:54:53 +02:00
Philipp Kühn
03d213ba8b dependencies: update 2021-05-27 18:52:37 +02:00
Philipp Kühn
c58a753e94 fix: prevent checkbox change when editor isn’t editable, fix #1386 2021-05-27 18:33:15 +02:00
akirarika
93ccf0e315 a small clerical error? 2021-05-26 16:56:41 +08:00
Yousef
bdd6e2b87c
Allow passing of DependencyList to useEditor
in case the options depend on props of the consuming component, it would be nice to be able to pass a dependencylist to `useEditor`. Unless there's a better way to handle dependency updates
2021-05-25 14:51:36 +02:00
Philipp Kühn
42c0ca85b3 Publish
- @tiptap/core@2.0.0-beta.68
 - @tiptap/extension-bubble-menu@2.0.0-beta.19
 - @tiptap/html@2.0.0-beta.68
 - @tiptap/react@2.0.0-beta.42
 - @tiptap/starter-kit@2.0.0-beta.65
 - @tiptap/vue-2@2.0.0-beta.32
 - @tiptap/vue-3@2.0.0-beta.38
2021-05-24 20:43:18 +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
3bb99b8e1e Publish
- @tiptap/core@2.0.0-beta.67
 - @tiptap/html@2.0.0-beta.67
 - @tiptap/starter-kit@2.0.0-beta.64
2021-05-24 08:47:57 +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
Philipp Kühn
61b06e73a5 Publish
- @tiptap/core@2.0.0-beta.66
 - @tiptap/html@2.0.0-beta.66
 - @tiptap/starter-kit@2.0.0-beta.63
2021-05-19 15:17:35 +02:00
Philipp Kühn
8f101810fe fix: preserve whitespace when using insertContent command 2021-05-19 15:15:56 +02:00
Philipp Kühn
c0cbd513f6 Publish
- @tiptap/core@2.0.0-beta.65
 - @tiptap/html@2.0.0-beta.65
 - @tiptap/starter-kit@2.0.0-beta.62
2021-05-19 00:26:18 +02:00
Philipp Kühn
2f7a6adca5 feat: allow number for setTextSelection and insertContentAt 2021-05-19 00:25:36 +02:00
Philipp Kühn
fc7d1ebf3f Publish
- @tiptap/core@2.0.0-beta.64
 - @tiptap/html@2.0.0-beta.64
 - @tiptap/react@2.0.0-beta.41
 - @tiptap/starter-kit@2.0.0-beta.61
 - @tiptap/vue-2@2.0.0-beta.31
 - @tiptap/vue-3@2.0.0-beta.37
2021-05-19 00:05:23 +02:00
Philipp Kühn
fcee5f82c6 feat: add deleteNode method to node views 2021-05-19 00:03:41 +02:00
Philipp Kühn
0f299d228e fix: move all child nodes within EditorContent 2021-05-18 23:41:54 +02:00
Philipp Kühn
f829b45bf0 fix: add marks to JSONContent type 2021-05-18 22:51:53 +02:00
Philipp Kühn
6b154e4c81 Publish
- @tiptap/core@2.0.0-beta.63
 - @tiptap/extension-blockquote@2.0.0-beta.13
 - @tiptap/extension-bold@2.0.0-beta.13
 - @tiptap/extension-bubble-menu@2.0.0-beta.18
 - @tiptap/extension-bullet-list@2.0.0-beta.13
 - @tiptap/extension-character-count@2.0.0-beta.12
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.24
 - @tiptap/extension-code-block@2.0.0-beta.15
 - @tiptap/extension-code@2.0.0-beta.13
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.19
 - @tiptap/extension-collaboration@2.0.0-beta.18
 - @tiptap/extension-document@2.0.0-beta.12
 - @tiptap/extension-dropcursor@2.0.0-beta.13
 - @tiptap/extension-floating-menu@2.0.0-beta.15
 - @tiptap/extension-focus@2.0.0-beta.19
 - @tiptap/extension-font-family@2.0.0-beta.12
 - @tiptap/extension-gapcursor@2.0.0-beta.17
 - @tiptap/extension-hard-break@2.0.0-beta.13
 - @tiptap/extension-heading@2.0.0-beta.13
 - @tiptap/extension-highlight@2.0.0-beta.13
 - @tiptap/extension-history@2.0.0-beta.12
 - @tiptap/extension-horizontal-rule@2.0.0-beta.16
 - @tiptap/extension-image@2.0.0-beta.13
 - @tiptap/extension-italic@2.0.0-beta.13
 - @tiptap/extension-link@2.0.0-beta.17
 - @tiptap/extension-list-item@2.0.0-beta.13
 - @tiptap/extension-mention@2.0.0-beta.56
 - @tiptap/extension-ordered-list@2.0.0-beta.13
 - @tiptap/extension-paragraph@2.0.0-beta.14
 - @tiptap/extension-placeholder@2.0.0-beta.19
 - @tiptap/extension-strike@2.0.0-beta.14
 - @tiptap/extension-table-cell@2.0.0-beta.13
 - @tiptap/extension-table-header@2.0.0-beta.15
 - @tiptap/extension-table-row@2.0.0-beta.13
 - @tiptap/extension-table@2.0.0-beta.21
 - @tiptap/extension-task-item@2.0.0-beta.15
 - @tiptap/extension-task-list@2.0.0-beta.15
 - @tiptap/extension-text-align@2.0.0-beta.17
 - @tiptap/extension-text-style@2.0.0-beta.13
 - @tiptap/extension-text@2.0.0-beta.12
 - @tiptap/extension-typography@2.0.0-beta.12
 - @tiptap/extension-underline@2.0.0-beta.14
 - @tiptap/html@2.0.0-beta.63
 - @tiptap/react@2.0.0-beta.40
 - @tiptap/starter-kit@2.0.0-beta.60
 - @tiptap/suggestion@2.0.0-beta.56
 - @tiptap/vue-2@2.0.0-beta.30
 - @tiptap/vue-3@2.0.0-beta.36
2021-05-18 19:29:35 +02:00
Philipp Kühn
9b198912f0 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-05-18 19:25:23 +02:00
Philipp Kühn
0d9e488836 fix: add support for using suggestions at top level, fix #1340 2021-05-18 19:25:20 +02:00
Priestch
96a060eefd
docs: fix typo (#1339) 2021-05-18 18:36:18 +02:00
Philipp Kühn
a412d43cae Publish
- @tiptap/react@2.0.0-beta.39
2021-05-18 15:11:59 +02:00
Philipp Kühn
8979143c37 fix: add prop support for EditorContent, fix #1332 2021-05-18 15:09:15 +02:00
Philipp Kühn
76dd23f0e2 Publish
- @tiptap/core@2.0.0-beta.62
 - @tiptap/extension-bubble-menu@2.0.0-beta.17
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.23
 - @tiptap/extension-floating-menu@2.0.0-beta.14
 - @tiptap/extension-focus@2.0.0-beta.18
 - @tiptap/extension-mention@2.0.0-beta.55
 - @tiptap/extension-placeholder@2.0.0-beta.18
 - @tiptap/extension-table@2.0.0-beta.20
 - @tiptap/html@2.0.0-beta.62
 - @tiptap/react@2.0.0-beta.38
 - @tiptap/starter-kit@2.0.0-beta.59
 - @tiptap/suggestion@2.0.0-beta.55
 - @tiptap/vue-2@2.0.0-beta.29
 - @tiptap/vue-3@2.0.0-beta.35
2021-05-17 21:07:19 +02:00
Philipp Kühn
5ee8857ca6 dependencies: update 2021-05-17 21:04:51 +02:00
Philipp Kühn
2ba3cad891 not sure about this one 2021-05-17 21:00:22 +02:00
Philipp Kühn
819aa16cfc Publish
- @tiptap/core@2.0.0-beta.61
 - @tiptap/html@2.0.0-beta.61
 - @tiptap/starter-kit@2.0.0-beta.58
2021-05-17 13:06:05 +02:00
Philipp Kühn
ff7dd9b919 feat: add support for checking for attributes in extendMarkRange 2021-05-17 13:00:54 +02:00
Philipp Kühn
5b8808a899 fix: fix export for getAttributes 2021-05-17 11:58:27 +02:00
Philipp Kühn
463661c5ed feat: add findChildrenInRange helper 2021-05-17 11:29:41 +02:00
Philipp Kühn
2bd17c7dc6 feat: export isList, fix #1326 2021-05-17 11:25:18 +02:00
Philipp Kühn
503d730b1a Publish
- @tiptap/extension-placeholder@2.0.0-beta.17
2021-05-13 21:26:32 +02:00
Philipp Kühn
456f2b702b fix: check for empty text, fix #1292 2021-05-13 21:25:33 +02:00
Philipp Kühn
a8ba313255 Publish
- @tiptap/core@2.0.0-beta.60
 - @tiptap/html@2.0.0-beta.60
 - @tiptap/starter-kit@2.0.0-beta.57
2021-05-13 20:45:27 +02:00
Philipp Kühn
28737b1631 fix: fix missing extensions when using addExtension, fix #1309 2021-05-13 20:44:51 +02:00
Philipp Kühn
5d329cb80c dependencies: update 2021-05-13 20:32:57 +02:00
Philipp Kühn
64d4a39de6 Publish
- @tiptap/core@2.0.0-beta.59
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.22
 - @tiptap/html@2.0.0-beta.59
 - @tiptap/react@2.0.0-beta.37
 - @tiptap/starter-kit@2.0.0-beta.56
2021-05-13 20:29:20 +02:00
Philipp Kühn
fe03d9c455 bump versions 2021-05-13 20:28:05 +02:00
Philipp Kühn
7baac2bc67 Publish
- @tiptap/core@2.0.0-beta.57
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.20
 - @tiptap/html@2.0.0-beta.57
 - @tiptap/react@2.0.0-beta.35
 - @tiptap/starter-kit@2.0.0-beta.54
2021-05-13 20:25:39 +02:00
Philipp Kühn
6a5f5da2d7 add changelog 2021-05-13 20:24:55 +02:00
Andrea Vaccari
655957d733 fix(core): Increment i in defaultBlockAt 2021-05-13 11:39:26 -05:00
Philipp Kühn
185e1c40af refactor: remove ts-ignore 2021-05-13 15:02:22 +02:00
Philipp Kühn
ac060723dc dependencies: update 2021-05-13 15:02:09 +02:00
Philipp Kühn
543189034a Publish
- @tiptap/core@2.0.0-beta.56
 - @tiptap/extension-blockquote@2.0.0-beta.12
 - @tiptap/extension-bold@2.0.0-beta.12
 - @tiptap/extension-bubble-menu@2.0.0-beta.16
 - @tiptap/extension-bullet-list@2.0.0-beta.12
 - @tiptap/extension-character-count@2.0.0-beta.11
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.19
 - @tiptap/extension-code-block@2.0.0-beta.14
 - @tiptap/extension-code@2.0.0-beta.12
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.18
 - @tiptap/extension-collaboration@2.0.0-beta.17
 - @tiptap/extension-document@2.0.0-beta.11
 - @tiptap/extension-dropcursor@2.0.0-beta.12
 - @tiptap/extension-floating-menu@2.0.0-beta.13
 - @tiptap/extension-focus@2.0.0-beta.17
 - @tiptap/extension-font-family@2.0.0-beta.11
 - @tiptap/extension-gapcursor@2.0.0-beta.16
 - @tiptap/extension-hard-break@2.0.0-beta.12
 - @tiptap/extension-heading@2.0.0-beta.12
 - @tiptap/extension-highlight@2.0.0-beta.12
 - @tiptap/extension-history@2.0.0-beta.11
 - @tiptap/extension-horizontal-rule@2.0.0-beta.15
 - @tiptap/extension-image@2.0.0-beta.12
 - @tiptap/extension-italic@2.0.0-beta.12
 - @tiptap/extension-link@2.0.0-beta.16
 - @tiptap/extension-list-item@2.0.0-beta.12
 - @tiptap/extension-mention@2.0.0-beta.54
 - @tiptap/extension-ordered-list@2.0.0-beta.12
 - @tiptap/extension-paragraph@2.0.0-beta.13
 - @tiptap/extension-placeholder@2.0.0-beta.16
 - @tiptap/extension-strike@2.0.0-beta.13
 - @tiptap/extension-table-cell@2.0.0-beta.12
 - @tiptap/extension-table-header@2.0.0-beta.14
 - @tiptap/extension-table-row@2.0.0-beta.12
 - @tiptap/extension-table@2.0.0-beta.19
 - @tiptap/extension-task-item@2.0.0-beta.14
 - @tiptap/extension-task-list@2.0.0-beta.14
 - @tiptap/extension-text-align@2.0.0-beta.16
 - @tiptap/extension-text-style@2.0.0-beta.12
 - @tiptap/extension-text@2.0.0-beta.11
 - @tiptap/extension-typography@2.0.0-beta.11
 - @tiptap/extension-underline@2.0.0-beta.13
 - @tiptap/html@2.0.0-beta.56
 - @tiptap/react@2.0.0-beta.34
 - @tiptap/starter-kit@2.0.0-beta.53
 - @tiptap/suggestion@2.0.0-beta.54
 - @tiptap/vue-2@2.0.0-beta.28
 - @tiptap/vue-3@2.0.0-beta.34
2021-05-13 14:51:00 +02:00
Philipp Kühn
a35b2533eb fix: fix a bug in detecting a current list in toggleList command 2021-05-13 14:43:27 +02:00
Philipp Kühn
33cd806a86 Publish
- @tiptap/core@2.0.0-beta.55
 - @tiptap/extension-text-align@2.0.0-beta.15
 - @tiptap/html@2.0.0-beta.55
 - @tiptap/starter-kit@2.0.0-beta.52
2021-05-11 17:59:17 +02:00
Philipp Kühn
d3b704f25f refactor: change sort of code 2021-05-11 17:15:23 +02:00
Philipp Kühn
592ea65f8b fix whitespace 2021-05-11 17:05:13 +02:00
Philipp Kühn
8a245f563e
Merge pull request #1251 from robguthrie/patch-1
When text align is default, don't add a style attribute
2021-05-11 17:04:30 +02:00
Philipp Kühn
2a79f59c6d
Merge pull request #1301 from zcuric/feature/export-mark-helpers
feat: export mark helpers
2021-05-11 17:04:01 +02:00
Philipp Kühn
655c5647f0 fix: fix a bug when configurating the same extension multiple times 2021-05-11 17:03:34 +02:00
Zdravko Curic
313ab0eac7 feat: export mark helpers 2021-05-11 11:22:28 +02:00
Philipp Kühn
1646f6efc1 Publish
- @tiptap/core@2.0.0-beta.54
 - @tiptap/extension-collaboration@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.54
 - @tiptap/starter-kit@2.0.0-beta.51
2021-05-10 00:22:57 +02:00
Philipp Kühn
b4e2b6fc9d fix: set correct priority when extending extensions, fix #1288 2021-05-10 00:13:32 +02:00
Philipp Kühn
bf50af4cf6 fix: add warn message when using collab and history extension together 2021-05-09 23:49:20 +02:00
Philipp Kühn
5f6e81ebe7 Publish
- @tiptap/core@2.0.0-beta.53
 - @tiptap/extension-link@2.0.0-beta.15
 - @tiptap/html@2.0.0-beta.53
 - @tiptap/starter-kit@2.0.0-beta.50
2021-05-07 11:11:27 +02:00
Philipp Kühn
072905cb95 feat: add editor.getAttributes, deprecate editor.getNodeAttributes and editor.getMarkAttributes 2021-05-07 11:10:18 +02:00
Philipp Kühn
bb66822c19 Publish
- @tiptap/core@2.0.0-beta.52
 - @tiptap/html@2.0.0-beta.52
 - @tiptap/starter-kit@2.0.0-beta.49
2021-05-07 10:46:01 +02:00
Philipp Kühn
b0755cbad6
Merge pull request #1273 from ueberdosis/feature/generate-json-from-html
New Feature: Generate JSON from HTML
2021-05-07 10:37:17 +02:00
Philipp Kühn
0610fce06a
Merge pull request #1278 from zcuric/main
feat: expose node helpers
2021-05-07 10:35:34 +02:00
Philipp Kühn
8e92806c3d Publish
- @tiptap/extension-mention@2.0.0-beta.53
 - @tiptap/suggestion@2.0.0-beta.53
2021-05-07 10:34:26 +02:00
Philipp Kühn
a03a01ab04 fix: move @tiptap/core to peerDependency 2021-05-07 10:34:00 +02:00
Philipp Kühn
bc24317f06 Publish
- @tiptap/core@2.0.0-beta.51
 - @tiptap/extension-mention@2.0.0-beta.52
 - @tiptap/html@2.0.0-beta.51
 - @tiptap/starter-kit@2.0.0-beta.48
 - @tiptap/suggestion@2.0.0-beta.52
2021-05-07 10:27:45 +02:00
Philipp Kühn
129ad83167 fix: add support for priority and nested extension for getSchema 2021-05-07 10:25:55 +02:00
Philipp Kühn
cbc0dd8920 fix: remove editor from addExtensions context 2021-05-07 10:24:48 +02:00
Philipp Kühn
243dc5e216 Publish
- @tiptap/core@2.0.0-beta.50
 - @tiptap/extension-mention@2.0.0-beta.51
 - @tiptap/html@2.0.0-beta.50
 - @tiptap/starter-kit@2.0.0-beta.47
 - @tiptap/suggestion@2.0.0-beta.51
2021-05-07 10:11:43 +02:00
Philipp Kühn
ae17bd101c refactoring 2021-05-07 10:08:30 +02:00
Philipp Kühn
7ddc5d7076 Publish
- @tiptap/core@2.0.0-beta.49
 - @tiptap/extension-blockquote@2.0.0-beta.11
 - @tiptap/extension-bold@2.0.0-beta.11
 - @tiptap/extension-bubble-menu@2.0.0-beta.15
 - @tiptap/extension-bullet-list@2.0.0-beta.11
 - @tiptap/extension-character-count@2.0.0-beta.10
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.18
 - @tiptap/extension-code-block@2.0.0-beta.13
 - @tiptap/extension-code@2.0.0-beta.11
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.17
 - @tiptap/extension-collaboration@2.0.0-beta.15
 - @tiptap/extension-document@2.0.0-beta.10
 - @tiptap/extension-dropcursor@2.0.0-beta.11
 - @tiptap/extension-floating-menu@2.0.0-beta.12
 - @tiptap/extension-focus@2.0.0-beta.16
 - @tiptap/extension-font-family@2.0.0-beta.10
 - @tiptap/extension-gapcursor@2.0.0-beta.15
 - @tiptap/extension-hard-break@2.0.0-beta.11
 - @tiptap/extension-heading@2.0.0-beta.11
 - @tiptap/extension-highlight@2.0.0-beta.11
 - @tiptap/extension-history@2.0.0-beta.10
 - @tiptap/extension-horizontal-rule@2.0.0-beta.14
 - @tiptap/extension-image@2.0.0-beta.11
 - @tiptap/extension-italic@2.0.0-beta.11
 - @tiptap/extension-link@2.0.0-beta.14
 - @tiptap/extension-list-item@2.0.0-beta.11
 - @tiptap/extension-mention@2.0.0-beta.50
 - @tiptap/extension-ordered-list@2.0.0-beta.11
 - @tiptap/extension-paragraph@2.0.0-beta.12
 - @tiptap/extension-placeholder@2.0.0-beta.15
 - @tiptap/extension-strike@2.0.0-beta.12
 - @tiptap/extension-table-cell@2.0.0-beta.11
 - @tiptap/extension-table-header@2.0.0-beta.13
 - @tiptap/extension-table-row@2.0.0-beta.11
 - @tiptap/extension-table@2.0.0-beta.18
 - @tiptap/extension-task-item@2.0.0-beta.13
 - @tiptap/extension-task-list@2.0.0-beta.13
 - @tiptap/extension-text-align@2.0.0-beta.14
 - @tiptap/extension-text-style@2.0.0-beta.11
 - @tiptap/extension-text@2.0.0-beta.10
 - @tiptap/extension-typography@2.0.0-beta.10
 - @tiptap/extension-underline@2.0.0-beta.12
 - @tiptap/html@2.0.0-beta.49
 - @tiptap/react@2.0.0-beta.33
 - @tiptap/starter-kit@2.0.0-beta.46
 - @tiptap/suggestion@2.0.0-beta.50
 - @tiptap/vue-2@2.0.0-beta.27
 - @tiptap/vue-3@2.0.0-beta.33
2021-05-07 10:06:42 +02:00
Philipp Kühn
bc320d0b4b fix: revert adding exports 2021-05-07 10:02:04 +02:00
Philipp Kühn
7da647d99f fix: fix a bug that messed up pasted link attributes, fix #1284 2021-05-07 09:54:40 +02:00
Philipp Kühn
c86e4119cd Publish
- @tiptap/core@2.0.0-beta.48
 - @tiptap/extension-blockquote@2.0.0-beta.10
 - @tiptap/extension-bold@2.0.0-beta.10
 - @tiptap/extension-bubble-menu@2.0.0-beta.14
 - @tiptap/extension-bullet-list@2.0.0-beta.10
 - @tiptap/extension-character-count@2.0.0-beta.9
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.17
 - @tiptap/extension-code-block@2.0.0-beta.12
 - @tiptap/extension-code@2.0.0-beta.10
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.16
 - @tiptap/extension-collaboration@2.0.0-beta.14
 - @tiptap/extension-document@2.0.0-beta.9
 - @tiptap/extension-dropcursor@2.0.0-beta.10
 - @tiptap/extension-floating-menu@2.0.0-beta.11
 - @tiptap/extension-focus@2.0.0-beta.15
 - @tiptap/extension-font-family@2.0.0-beta.9
 - @tiptap/extension-gapcursor@2.0.0-beta.14
 - @tiptap/extension-hard-break@2.0.0-beta.10
 - @tiptap/extension-heading@2.0.0-beta.10
 - @tiptap/extension-highlight@2.0.0-beta.10
 - @tiptap/extension-history@2.0.0-beta.9
 - @tiptap/extension-horizontal-rule@2.0.0-beta.13
 - @tiptap/extension-image@2.0.0-beta.10
 - @tiptap/extension-italic@2.0.0-beta.10
 - @tiptap/extension-link@2.0.0-beta.13
 - @tiptap/extension-list-item@2.0.0-beta.10
 - @tiptap/extension-mention@2.0.0-beta.49
 - @tiptap/extension-ordered-list@2.0.0-beta.10
 - @tiptap/extension-paragraph@2.0.0-beta.11
 - @tiptap/extension-placeholder@2.0.0-beta.14
 - @tiptap/extension-strike@2.0.0-beta.11
 - @tiptap/extension-table-cell@2.0.0-beta.10
 - @tiptap/extension-table-header@2.0.0-beta.12
 - @tiptap/extension-table-row@2.0.0-beta.10
 - @tiptap/extension-table@2.0.0-beta.17
 - @tiptap/extension-task-item@2.0.0-beta.12
 - @tiptap/extension-task-list@2.0.0-beta.12
 - @tiptap/extension-text-align@2.0.0-beta.13
 - @tiptap/extension-text-style@2.0.0-beta.10
 - @tiptap/extension-text@2.0.0-beta.9
 - @tiptap/extension-typography@2.0.0-beta.9
 - @tiptap/extension-underline@2.0.0-beta.11
 - @tiptap/html@2.0.0-beta.48
 - @tiptap/react@2.0.0-beta.32
 - @tiptap/starter-kit@2.0.0-beta.45
 - @tiptap/suggestion@2.0.0-beta.49
 - @tiptap/vue-2@2.0.0-beta.26
 - @tiptap/vue-3@2.0.0-beta.32
2021-05-06 23:24:15 +02:00
Philipp Kühn
f8d6475e21 fix: revert adding type: module 2021-05-06 23:21:11 +02:00
Philipp Kühn
fb1196c7a7 Publish
- @tiptap/core@2.0.0-beta.47
 - @tiptap/extension-blockquote@2.0.0-beta.9
 - @tiptap/extension-bold@2.0.0-beta.9
 - @tiptap/extension-bubble-menu@2.0.0-beta.13
 - @tiptap/extension-bullet-list@2.0.0-beta.9
 - @tiptap/extension-character-count@2.0.0-beta.8
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.16
 - @tiptap/extension-code-block@2.0.0-beta.11
 - @tiptap/extension-code@2.0.0-beta.9
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.15
 - @tiptap/extension-collaboration@2.0.0-beta.13
 - @tiptap/extension-document@2.0.0-beta.8
 - @tiptap/extension-dropcursor@2.0.0-beta.9
 - @tiptap/extension-floating-menu@2.0.0-beta.10
 - @tiptap/extension-focus@2.0.0-beta.14
 - @tiptap/extension-font-family@2.0.0-beta.8
 - @tiptap/extension-gapcursor@2.0.0-beta.13
 - @tiptap/extension-hard-break@2.0.0-beta.9
 - @tiptap/extension-heading@2.0.0-beta.9
 - @tiptap/extension-highlight@2.0.0-beta.9
 - @tiptap/extension-history@2.0.0-beta.8
 - @tiptap/extension-horizontal-rule@2.0.0-beta.12
 - @tiptap/extension-image@2.0.0-beta.9
 - @tiptap/extension-italic@2.0.0-beta.9
 - @tiptap/extension-link@2.0.0-beta.12
 - @tiptap/extension-list-item@2.0.0-beta.9
 - @tiptap/extension-mention@2.0.0-beta.48
 - @tiptap/extension-ordered-list@2.0.0-beta.9
 - @tiptap/extension-paragraph@2.0.0-beta.10
 - @tiptap/extension-placeholder@2.0.0-beta.13
 - @tiptap/extension-strike@2.0.0-beta.10
 - @tiptap/extension-table-cell@2.0.0-beta.9
 - @tiptap/extension-table-header@2.0.0-beta.11
 - @tiptap/extension-table-row@2.0.0-beta.9
 - @tiptap/extension-table@2.0.0-beta.16
 - @tiptap/extension-task-item@2.0.0-beta.11
 - @tiptap/extension-task-list@2.0.0-beta.11
 - @tiptap/extension-text-align@2.0.0-beta.12
 - @tiptap/extension-text-style@2.0.0-beta.9
 - @tiptap/extension-text@2.0.0-beta.8
 - @tiptap/extension-typography@2.0.0-beta.8
 - @tiptap/extension-underline@2.0.0-beta.10
 - @tiptap/html@2.0.0-beta.47
 - @tiptap/react@2.0.0-beta.31
 - @tiptap/starter-kit@2.0.0-beta.44
 - @tiptap/suggestion@2.0.0-beta.48
 - @tiptap/vue-2@2.0.0-beta.25
 - @tiptap/vue-3@2.0.0-beta.31
2021-05-06 23:00:19 +02:00
Philipp Kühn
1277fa4715 fix: add exports to package.json 2021-05-06 22:51:46 +02:00
Robert Guthrie
3d0226fadf
Update packages/extension-text-align/src/text-align.ts
Co-authored-by: Zdravko Curic <zcuric@users.noreply.github.com>
2021-05-07 08:06:28 +12:00
Philipp Kühn
78b336dea4 Publish
- @tiptap/core@2.0.0-beta.46
 - @tiptap/extension-mention@2.0.0-beta.47
 - @tiptap/html@2.0.0-beta.46
 - @tiptap/starter-kit@2.0.0-beta.43
 - @tiptap/suggestion@2.0.0-beta.47
2021-05-06 18:52:39 +02:00
Philipp Kühn
21384fc7a6 feat: add StarterKit extension 2021-05-06 18:41:05 +02:00
Philipp Kühn
26e672e2f0 feat: add addExtensions option 2021-05-06 18:39:47 +02:00
Zdravko Curic
6048f9b31b feat: expose node helpers to core 2021-05-06 14:52:44 +02:00
Philipp Kühn
9718002875 Publish
- @tiptap/core@2.0.0-beta.45
 - @tiptap/extension-blockquote@2.0.0-beta.8
 - @tiptap/extension-bold@2.0.0-beta.8
 - @tiptap/extension-bubble-menu@2.0.0-beta.12
 - @tiptap/extension-bullet-list@2.0.0-beta.8
 - @tiptap/extension-character-count@2.0.0-beta.7
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.15
 - @tiptap/extension-code-block@2.0.0-beta.10
 - @tiptap/extension-code@2.0.0-beta.8
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.14
 - @tiptap/extension-collaboration@2.0.0-beta.12
 - @tiptap/extension-document@2.0.0-beta.7
 - @tiptap/extension-dropcursor@2.0.0-beta.8
 - @tiptap/extension-floating-menu@2.0.0-beta.9
 - @tiptap/extension-focus@2.0.0-beta.13
 - @tiptap/extension-font-family@2.0.0-beta.7
 - @tiptap/extension-gapcursor@2.0.0-beta.12
 - @tiptap/extension-hard-break@2.0.0-beta.8
 - @tiptap/extension-heading@2.0.0-beta.8
 - @tiptap/extension-highlight@2.0.0-beta.8
 - @tiptap/extension-history@2.0.0-beta.7
 - @tiptap/extension-horizontal-rule@2.0.0-beta.11
 - @tiptap/extension-image@2.0.0-beta.8
 - @tiptap/extension-italic@2.0.0-beta.8
 - @tiptap/extension-link@2.0.0-beta.11
 - @tiptap/extension-list-item@2.0.0-beta.8
 - @tiptap/extension-mention@2.0.0-beta.46
 - @tiptap/extension-ordered-list@2.0.0-beta.8
 - @tiptap/extension-paragraph@2.0.0-beta.9
 - @tiptap/extension-placeholder@2.0.0-beta.12
 - @tiptap/extension-strike@2.0.0-beta.9
 - @tiptap/extension-table-cell@2.0.0-beta.8
 - @tiptap/extension-table-header@2.0.0-beta.10
 - @tiptap/extension-table-row@2.0.0-beta.8
 - @tiptap/extension-table@2.0.0-beta.15
 - @tiptap/extension-task-item@2.0.0-beta.10
 - @tiptap/extension-task-list@2.0.0-beta.10
 - @tiptap/extension-text-align@2.0.0-beta.11
 - @tiptap/extension-text-style@2.0.0-beta.8
 - @tiptap/extension-text@2.0.0-beta.7
 - @tiptap/extension-typography@2.0.0-beta.7
 - @tiptap/extension-underline@2.0.0-beta.9
 - @tiptap/html@2.0.0-beta.45
 - @tiptap/react@2.0.0-beta.30
 - @tiptap/starter-kit@2.0.0-beta.42
 - @tiptap/suggestion@2.0.0-beta.46
 - @tiptap/vue-2@2.0.0-beta.24
 - @tiptap/vue-3@2.0.0-beta.30
2021-05-06 09:57:52 +02:00
Philipp Kühn
6472d2c271 fix: add CellSelection support for bubble menu 2021-05-06 09:54:35 +02:00
Philipp Kühn
9399e3061f remove some deprecated commands 2021-05-05 23:45:17 +02:00
Hans Pagel
a9c0bf5982 add a generateJSON utility to the HTML package 2021-05-05 23:10:45 +02:00
Hans Pagel
7feb19eb72 feature: add generateJSON utility function to generate JSON from a HTML string 2021-05-05 21:24:24 +02:00
Philipp Kühn
c64520b74d Publish
- @tiptap/core@2.0.0-beta.44
 - @tiptap/extension-blockquote@2.0.0-beta.7
 - @tiptap/extension-bold@2.0.0-beta.7
 - @tiptap/extension-bubble-menu@2.0.0-beta.11
 - @tiptap/extension-bullet-list@2.0.0-beta.7
 - @tiptap/extension-character-count@2.0.0-beta.6
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.14
 - @tiptap/extension-code-block@2.0.0-beta.9
 - @tiptap/extension-code@2.0.0-beta.7
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.13
 - @tiptap/extension-collaboration@2.0.0-beta.11
 - @tiptap/extension-document@2.0.0-beta.6
 - @tiptap/extension-dropcursor@2.0.0-beta.7
 - @tiptap/extension-floating-menu@2.0.0-beta.8
 - @tiptap/extension-focus@2.0.0-beta.12
 - @tiptap/extension-font-family@2.0.0-beta.6
 - @tiptap/extension-gapcursor@2.0.0-beta.11
 - @tiptap/extension-hard-break@2.0.0-beta.7
 - @tiptap/extension-heading@2.0.0-beta.7
 - @tiptap/extension-highlight@2.0.0-beta.7
 - @tiptap/extension-history@2.0.0-beta.6
 - @tiptap/extension-horizontal-rule@2.0.0-beta.10
 - @tiptap/extension-image@2.0.0-beta.7
 - @tiptap/extension-italic@2.0.0-beta.7
 - @tiptap/extension-link@2.0.0-beta.10
 - @tiptap/extension-list-item@2.0.0-beta.7
 - @tiptap/extension-mention@2.0.0-beta.45
 - @tiptap/extension-ordered-list@2.0.0-beta.7
 - @tiptap/extension-paragraph@2.0.0-beta.8
 - @tiptap/extension-placeholder@2.0.0-beta.11
 - @tiptap/extension-strike@2.0.0-beta.8
 - @tiptap/extension-table-cell@2.0.0-beta.7
 - @tiptap/extension-table-header@2.0.0-beta.9
 - @tiptap/extension-table-row@2.0.0-beta.7
 - @tiptap/extension-table@2.0.0-beta.14
 - @tiptap/extension-task-item@2.0.0-beta.9
 - @tiptap/extension-task-list@2.0.0-beta.9
 - @tiptap/extension-text-align@2.0.0-beta.10
 - @tiptap/extension-text-style@2.0.0-beta.7
 - @tiptap/extension-text@2.0.0-beta.6
 - @tiptap/extension-typography@2.0.0-beta.6
 - @tiptap/extension-underline@2.0.0-beta.8
 - @tiptap/html@2.0.0-beta.44
 - @tiptap/react@2.0.0-beta.29
 - @tiptap/starter-kit@2.0.0-beta.41
 - @tiptap/suggestion@2.0.0-beta.45
 - @tiptap/vue-2@2.0.0-beta.23
 - @tiptap/vue-3@2.0.0-beta.29
2021-05-05 21:05:29 +02:00
Philipp Kühn
33f8a57960 remove minified umd builds 2021-05-05 21:00:53 +02:00
Philipp Kühn
e9c9176032 refactoring 2021-05-05 20:50:08 +02:00
Philipp Kühn
86d570fb79 feat: remove deprecated commands insertHTML, insertNode and insertText 2021-05-05 20:50:01 +02:00
Philipp Kühn
0030f083b0 docs: update content 2021-05-05 19:42:47 +02:00
Philipp Kühn
55d430ef8f refactoring 2021-05-05 18:51:42 +02:00
Philipp Kühn
71740687f4 use replaceWith instead of replaceRangeWith in insertContentAt 2021-05-05 18:48:22 +02:00
Philipp Kühn
9320eaf05f Merge branch 'main' into feature/remove-replace-commands 2021-05-05 18:37:10 +02:00
Philipp Kühn
9b32e15a8f Publish
- @tiptap/extension-horizontal-rule@2.0.0-beta.9
 - @tiptap/starter-kit@2.0.0-beta.40
 - @tiptap/vue-3@2.0.0-beta.28
2021-05-05 18:32:25 +02:00
Philipp Kühn
d5dd568d86 fix: fix lint error 2021-05-05 18:21:36 +02:00
Chris O'Sullivan
5c5680d00e Change how ref is handled in VueRenderer 2021-05-05 09:44:07 -05:00
Philipp Kühn
fda4c780d3 use insertContent in some extensions 2021-05-05 14:50:43 +02:00
Philipp Kühn
12b6f0e4f7 use tr.replaceRangeWith instead of tr.insert for insertContent command 2021-05-05 14:50:27 +02:00
Philipp Kühn
63b4e15b0c refactoring 2021-05-05 14:14:09 +02:00
Philipp Kühn
b5c51723ea remove insertText from insertContent 2021-05-05 14:13:58 +02:00
Philipp Kühn
63902d4bdb remove replaceRange from mention node 2021-05-05 13:49:32 +02:00
Philipp Kühn
ec838a11f2 improve Content type 2021-05-05 13:08:19 +02:00
Philipp Kühn
9ff7e2400e add insertContentAt command 2021-05-05 13:00:30 +02:00
Philipp Kühn
d955c9372a Publish
- @tiptap/core@2.0.0-beta.43
 - @tiptap/extension-link@2.0.0-beta.9
 - @tiptap/extension-mention@2.0.0-beta.44
 - @tiptap/html@2.0.0-beta.43
 - @tiptap/react@2.0.0-beta.28
 - @tiptap/starter-kit@2.0.0-beta.39
 - @tiptap/suggestion@2.0.0-beta.44
2021-05-05 09:46:38 +02:00
Philipp Kühn
5848e6a2d8 update dev dependencies 2021-05-05 09:44:40 +02:00
Philipp Kühn
9e9401e68b feat: add linkOnPaste option for adding a link to the current selection if the pasted content only contains an url, fix #1210 2021-05-05 09:33:52 +02:00
Philipp Kühn
b131330ca1 don’t check for canReplaceWith within replaceRange 2021-05-04 20:51:32 +02:00
Philipp Kühn
e0895bd919 Publish
- @tiptap/core@2.0.0-beta.42
 - @tiptap/extension-bubble-menu@2.0.0-beta.10
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.13
 - @tiptap/extension-floating-menu@2.0.0-beta.7
 - @tiptap/extension-focus@2.0.0-beta.11
 - @tiptap/extension-horizontal-rule@2.0.0-beta.8
 - @tiptap/extension-mention@2.0.0-beta.43
 - @tiptap/extension-placeholder@2.0.0-beta.10
 - @tiptap/extension-table@2.0.0-beta.13
 - @tiptap/html@2.0.0-beta.42
 - @tiptap/react@2.0.0-beta.27
 - @tiptap/starter-kit@2.0.0-beta.38
 - @tiptap/suggestion@2.0.0-beta.43
 - @tiptap/vue-2@2.0.0-beta.22
 - @tiptap/vue-3@2.0.0-beta.27
2021-05-04 11:09:39 +02:00
Philipp Kühn
0e1d6d41fe refactoring 2021-05-04 11:03:11 +02:00
Philipp Kühn
a96e0c2816
Merge pull request #1253 from zcuric/main
feat: better types for Vue 2
2021-05-04 10:54:58 +02:00
Philipp Kühn
b3fb0228e0 fix: ignore editable in dispatchTransaction, fix #1239 2021-05-04 10:46:32 +02:00
Zdravko Curic
23a152a8df feat: better types for Vue 2 2021-05-03 15:11:26 +02:00
Philipp Kühn
80cf8bb71b throw error for missing mark/node type 2021-05-03 09:50:57 +02:00
Philipp Kühn
d4c0e4a51c dependencies: update 2021-05-03 09:30:46 +02:00
Philipp Kühn
335a75e3f3
Merge pull request #1252 from Markario/patch-1
Fix returning true/false in can().chain().run()
2021-05-03 09:14:37 +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
Robert Guthrie
5bb499eba8
When text align is default, don't add a style attribute 2021-05-03 11:54:03 +12:00
chrisarmstrong
823b67b1e6
Make compatible with Typography extension
They Typography extension automatically converts two hyphens `--` into an em dash `–`, which means typing three hyphens in a row results in an em dash and a hyphen `–-`, instead of triggering an hr. 

I propose adding the `–-` pattern to this `nodeInputRule` so typing three hyphens in a row will still trigger an hr, even if 'smart dashes' are enabled via the Typography extension or otherwise.
2021-04-28 10:05:48 +01:00
Philipp Kühn
8393342b19 Publish
- @tiptap/core@2.0.0-beta.41
 - @tiptap/extension-mention@2.0.0-beta.42
 - @tiptap/html@2.0.0-beta.41
 - @tiptap/starter-kit@2.0.0-beta.37
 - @tiptap/suggestion@2.0.0-beta.42
2021-04-27 22:03:23 +02:00
Philipp Kühn
0b67f18e3a fix: fix onBeforeCreate event handler, fix #1236 2021-04-27 21:52:22 +02:00
Philipp Kühn
c90e522934 Publish
- @tiptap/core@2.0.0-beta.40
 - @tiptap/extension-mention@2.0.0-beta.41
 - @tiptap/extension-table@2.0.0-beta.12
 - @tiptap/html@2.0.0-beta.40
 - @tiptap/starter-kit@2.0.0-beta.36
 - @tiptap/suggestion@2.0.0-beta.41
2021-04-27 21:10:32 +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
eb7e92f10a feat: add setCellSelection command 2021-04-27 11:41:38 +02:00
Philipp Kühn
811bf693eb feat: add setNodeSelection and setTextSelection commands 2021-04-27 11:41:24 +02:00
Philipp Kühn
fe61a6e3d8 Publish
- @tiptap/core@2.0.0-beta.39
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.12
 - @tiptap/extension-mention@2.0.0-beta.40
 - @tiptap/extension-placeholder@2.0.0-beta.9
 - @tiptap/html@2.0.0-beta.39
 - @tiptap/react@2.0.0-beta.26
 - @tiptap/starter-kit@2.0.0-beta.35
 - @tiptap/suggestion@2.0.0-beta.40
2021-04-27 10:55:02 +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
ebb00f4f9d dependencies: update 2021-04-26 23:25:04 +02:00
Philipp Kühn
9a40c17b34 fix: set correct type for emitUpdate 2021-04-25 21:04:26 +02:00
Philipp Kühn
ef51852e6a Publish
- @tiptap/react@2.0.0-beta.25
2021-04-23 23:42:16 +02:00
Philipp Kühn
cfb3b80f63 fix: allow passing props to NodeViewWrapper and NodeViewContent 2021-04-23 23:38:38 +02:00
Philipp Kühn
bd9e15d78f Publish
- @tiptap/core@2.0.0-beta.38
 - @tiptap/extension-blockquote@2.0.0-beta.6
 - @tiptap/extension-bold@2.0.0-beta.6
 - @tiptap/extension-bubble-menu@2.0.0-beta.9
 - @tiptap/extension-bullet-list@2.0.0-beta.6
 - @tiptap/extension-character-count@2.0.0-beta.5
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.11
 - @tiptap/extension-code-block@2.0.0-beta.8
 - @tiptap/extension-code@2.0.0-beta.6
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.12
 - @tiptap/extension-collaboration@2.0.0-beta.10
 - @tiptap/extension-document@2.0.0-beta.5
 - @tiptap/extension-dropcursor@2.0.0-beta.6
 - @tiptap/extension-floating-menu@2.0.0-beta.6
 - @tiptap/extension-focus@2.0.0-beta.10
 - @tiptap/extension-font-family@2.0.0-beta.5
 - @tiptap/extension-gapcursor@2.0.0-beta.10
 - @tiptap/extension-hard-break@2.0.0-beta.6
 - @tiptap/extension-heading@2.0.0-beta.6
 - @tiptap/extension-highlight@2.0.0-beta.6
 - @tiptap/extension-history@2.0.0-beta.5
 - @tiptap/extension-horizontal-rule@2.0.0-beta.7
 - @tiptap/extension-image@2.0.0-beta.6
 - @tiptap/extension-italic@2.0.0-beta.6
 - @tiptap/extension-link@2.0.0-beta.8
 - @tiptap/extension-list-item@2.0.0-beta.6
 - @tiptap/extension-mention@2.0.0-beta.39
 - @tiptap/extension-ordered-list@2.0.0-beta.6
 - @tiptap/extension-paragraph@2.0.0-beta.7
 - @tiptap/extension-placeholder@2.0.0-beta.8
 - @tiptap/extension-strike@2.0.0-beta.7
 - @tiptap/extension-table-cell@2.0.0-beta.6
 - @tiptap/extension-table-header@2.0.0-beta.8
 - @tiptap/extension-table-row@2.0.0-beta.6
 - @tiptap/extension-table@2.0.0-beta.11
 - @tiptap/extension-task-item@2.0.0-beta.8
 - @tiptap/extension-task-list@2.0.0-beta.8
 - @tiptap/extension-text-align@2.0.0-beta.9
 - @tiptap/extension-text-style@2.0.0-beta.6
 - @tiptap/extension-text@2.0.0-beta.5
 - @tiptap/extension-typography@2.0.0-beta.5
 - @tiptap/extension-underline@2.0.0-beta.7
 - @tiptap/html@2.0.0-beta.38
 - @tiptap/react@2.0.0-beta.24
 - @tiptap/starter-kit@2.0.0-beta.34
 - @tiptap/suggestion@2.0.0-beta.39
 - @tiptap/vue-2@2.0.0-beta.21
 - @tiptap/vue-3@2.0.0-beta.26
2021-04-23 23:10:36 +02:00
Philipp Kühn
b84a56a84a fix: improve isActive check for floating menu when using custom doc content, fix #1205 2021-04-23 23:01:53 +02:00
Philipp Kühn
888cce2e4c refactor: don’t use destructuring for props 2021-04-23 20:50:01 +02:00
Philipp Kühn
20f870dc9d Publish
- @tiptap/core@2.0.0-beta.37
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.11
 - @tiptap/extension-collaboration@2.0.0-beta.9
 - @tiptap/extension-mention@2.0.0-beta.38
 - @tiptap/extension-task-item@2.0.0-beta.7
 - @tiptap/html@2.0.0-beta.37
 - @tiptap/starter-kit@2.0.0-beta.33
 - @tiptap/suggestion@2.0.0-beta.38
2021-04-23 09:02:06 +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
5e53e444d5 refactor: use chain on checkbox click 2021-04-22 23:10:54 +02:00
Philipp Kühn
d6b6f5bd8e dependencies: update 2021-04-22 21:28:10 +02:00
Philipp Kühn
4b68a369a1 Publish
- @tiptap/core@2.0.0-beta.36
 - @tiptap/extension-blockquote@2.0.0-beta.5
 - @tiptap/extension-bold@2.0.0-beta.5
 - @tiptap/extension-bubble-menu@2.0.0-beta.8
 - @tiptap/extension-bullet-list@2.0.0-beta.5
 - @tiptap/extension-character-count@2.0.0-beta.4
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.10
 - @tiptap/extension-code-block@2.0.0-beta.7
 - @tiptap/extension-code@2.0.0-beta.5
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.10
 - @tiptap/extension-collaboration@2.0.0-beta.8
 - @tiptap/extension-document@2.0.0-beta.4
 - @tiptap/extension-dropcursor@2.0.0-beta.5
 - @tiptap/extension-floating-menu@2.0.0-beta.5
 - @tiptap/extension-focus@2.0.0-beta.9
 - @tiptap/extension-font-family@2.0.0-beta.4
 - @tiptap/extension-gapcursor@2.0.0-beta.9
 - @tiptap/extension-hard-break@2.0.0-beta.5
 - @tiptap/extension-heading@2.0.0-beta.5
 - @tiptap/extension-highlight@2.0.0-beta.5
 - @tiptap/extension-history@2.0.0-beta.4
 - @tiptap/extension-horizontal-rule@2.0.0-beta.6
 - @tiptap/extension-image@2.0.0-beta.5
 - @tiptap/extension-italic@2.0.0-beta.5
 - @tiptap/extension-link@2.0.0-beta.7
 - @tiptap/extension-list-item@2.0.0-beta.5
 - @tiptap/extension-mention@2.0.0-beta.37
 - @tiptap/extension-ordered-list@2.0.0-beta.5
 - @tiptap/extension-paragraph@2.0.0-beta.6
 - @tiptap/extension-placeholder@2.0.0-beta.7
 - @tiptap/extension-strike@2.0.0-beta.6
 - @tiptap/extension-table-cell@2.0.0-beta.5
 - @tiptap/extension-table-header@2.0.0-beta.7
 - @tiptap/extension-table-row@2.0.0-beta.5
 - @tiptap/extension-table@2.0.0-beta.10
 - @tiptap/extension-task-item@2.0.0-beta.6
 - @tiptap/extension-task-list@2.0.0-beta.7
 - @tiptap/extension-text-align@2.0.0-beta.8
 - @tiptap/extension-text-style@2.0.0-beta.5
 - @tiptap/extension-text@2.0.0-beta.4
 - @tiptap/extension-typography@2.0.0-beta.4
 - @tiptap/extension-underline@2.0.0-beta.6
 - @tiptap/html@2.0.0-beta.36
 - @tiptap/react@2.0.0-beta.23
 - @tiptap/starter-kit@2.0.0-beta.32
 - @tiptap/suggestion@2.0.0-beta.37
 - @tiptap/vue-2@2.0.0-beta.20
 - @tiptap/vue-3@2.0.0-beta.25
2021-04-22 14:54:48 +02:00
Philipp Kühn
e885ffa15b fix: prevents a bug where a line break was incorrectly added at enter in react node views, fix #1197 2021-04-22 14:23:48 +02:00
Philipp Kühn
8ed220a12d fix: fix a bug for empty node selection where the bubble menu should not be visible, fix #1023 2021-04-21 23:38:13 +02:00
Hans Pagel
f6a242438e replace link to GitHub repository 2021-04-21 15:31:11 +02:00
Philipp Kühn
8fd618a788 Publish
- @tiptap/core@2.0.0-beta.35
 - @tiptap/extension-blockquote@2.0.0-beta.4
 - @tiptap/extension-bold@2.0.0-beta.4
 - @tiptap/extension-bullet-list@2.0.0-beta.4
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.9
 - @tiptap/extension-code-block@2.0.0-beta.6
 - @tiptap/extension-code@2.0.0-beta.4
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.9
 - @tiptap/extension-gapcursor@2.0.0-beta.8
 - @tiptap/extension-hard-break@2.0.0-beta.4
 - @tiptap/extension-heading@2.0.0-beta.4
 - @tiptap/extension-highlight@2.0.0-beta.4
 - @tiptap/extension-horizontal-rule@2.0.0-beta.5
 - @tiptap/extension-image@2.0.0-beta.4
 - @tiptap/extension-italic@2.0.0-beta.4
 - @tiptap/extension-link@2.0.0-beta.6
 - @tiptap/extension-list-item@2.0.0-beta.4
 - @tiptap/extension-mention@2.0.0-beta.36
 - @tiptap/extension-ordered-list@2.0.0-beta.4
 - @tiptap/extension-paragraph@2.0.0-beta.5
 - @tiptap/extension-strike@2.0.0-beta.5
 - @tiptap/extension-table-cell@2.0.0-beta.4
 - @tiptap/extension-table-header@2.0.0-beta.6
 - @tiptap/extension-table-row@2.0.0-beta.4
 - @tiptap/extension-table@2.0.0-beta.9
 - @tiptap/extension-task-item@2.0.0-beta.5
 - @tiptap/extension-task-list@2.0.0-beta.6
 - @tiptap/extension-text-style@2.0.0-beta.4
 - @tiptap/extension-underline@2.0.0-beta.5
 - @tiptap/html@2.0.0-beta.35
 - @tiptap/react@2.0.0-beta.22
 - @tiptap/starter-kit@2.0.0-beta.31
 - @tiptap/suggestion@2.0.0-beta.36
 - @tiptap/vue-2@2.0.0-beta.19
 - @tiptap/vue-3@2.0.0-beta.24
2021-04-21 09:54:20 +02:00
Philipp Kühn
1c8ca95de2 refactor: remove AnyObject type 2021-04-21 09:43:31 +02:00
Philipp Kühn
d720d77e8d refactor: use name instead of magic string 2021-04-20 23:12:46 +02:00
Philipp Kühn
df43c1bc47 fix: add name to context 2021-04-20 23:12:21 +02:00
Philipp Kühn
a43d4c7bcb fix: add name to context 2021-04-20 23:12:15 +02:00
Philipp Kühn
12f60abb73 feat: add name to extension context 2021-04-20 23:11:35 +02:00
Philipp Kühn
92ced9f998 fix: don’t use state in KeyboardShortcutCommand anymore 2021-04-20 23:01:06 +02:00
Philipp Kühn
046d1ccb3b refactor: move deleteTableWhenAllCellsSelected to its own file 2021-04-20 22:59:16 +02:00
Philipp Kühn
9ca865a253 refactor: move deleteTableWhenAllCellsSelected to its own file 2021-04-20 22:58:59 +02:00
Philipp Kühn
e0c2460a96 feat: add editor prop to KeyboardShortcutCommand 2021-04-20 22:58:09 +02:00
Philipp Kühn
8bb30776bc Publish
- @tiptap/core@2.0.0-beta.34
 - @tiptap/extension-mention@2.0.0-beta.35
 - @tiptap/html@2.0.0-beta.34
 - @tiptap/starter-kit@2.0.0-beta.30
 - @tiptap/suggestion@2.0.0-beta.35
2021-04-20 17:21:53 +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
cc1f1a787a Publish
- @tiptap/core@2.0.0-beta.33
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.8
 - @tiptap/extension-collaboration@2.0.0-beta.7
 - @tiptap/extension-mention@2.0.0-beta.34
 - @tiptap/html@2.0.0-beta.33
 - @tiptap/starter-kit@2.0.0-beta.29
 - @tiptap/suggestion@2.0.0-beta.34
2021-04-20 11:50:54 +02:00
Philipp Kühn
b6852ad9ca depencencies: update 2021-04-20 09:35:34 +02:00
Philipp Kühn
aa002a012b fix: fix extension option merging 2021-04-17 21:25:29 +02:00
Philipp Kühn
148380b70d Publish
- @tiptap/extension-mention@2.0.0-beta.33
 - @tiptap/suggestion@2.0.0-beta.33
 - @tiptap/vue-3@2.0.0-beta.23
2021-04-16 23:35:25 +02:00
Philipp Kühn
f6d8776ca0 fix: fix editor type for VueRenderer, fix #281 2021-04-16 23:34:29 +02:00
Philipp Kühn
07c6d51338 fix: fix type for clientRect 2021-04-16 23:33:30 +02:00
Philipp Kühn
ea9f541091 Publish
- @tiptap/core@2.0.0-beta.32
 - @tiptap/extension-blockquote@2.0.0-beta.3
 - @tiptap/extension-bold@2.0.0-beta.3
 - @tiptap/extension-bubble-menu@2.0.0-beta.7
 - @tiptap/extension-bullet-list@2.0.0-beta.3
 - @tiptap/extension-character-count@2.0.0-beta.3
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.8
 - @tiptap/extension-code-block@2.0.0-beta.5
 - @tiptap/extension-code@2.0.0-beta.3
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.7
 - @tiptap/extension-collaboration@2.0.0-beta.6
 - @tiptap/extension-document@2.0.0-beta.3
 - @tiptap/extension-dropcursor@2.0.0-beta.4
 - @tiptap/extension-floating-menu@2.0.0-beta.4
 - @tiptap/extension-focus@2.0.0-beta.8
 - @tiptap/extension-font-family@2.0.0-beta.3
 - @tiptap/extension-gapcursor@2.0.0-beta.7
 - @tiptap/extension-hard-break@2.0.0-beta.3
 - @tiptap/extension-heading@2.0.0-beta.3
 - @tiptap/extension-highlight@2.0.0-beta.3
 - @tiptap/extension-history@2.0.0-beta.3
 - @tiptap/extension-horizontal-rule@2.0.0-beta.4
 - @tiptap/extension-image@2.0.0-beta.3
 - @tiptap/extension-italic@2.0.0-beta.3
 - @tiptap/extension-link@2.0.0-beta.5
 - @tiptap/extension-list-item@2.0.0-beta.3
 - @tiptap/extension-mention@2.0.0-beta.32
 - @tiptap/extension-ordered-list@2.0.0-beta.3
 - @tiptap/extension-paragraph@2.0.0-beta.4
 - @tiptap/extension-placeholder@2.0.0-beta.6
 - @tiptap/extension-strike@2.0.0-beta.4
 - @tiptap/extension-table-cell@2.0.0-beta.3
 - @tiptap/extension-table-header@2.0.0-beta.5
 - @tiptap/extension-table-row@2.0.0-beta.3
 - @tiptap/extension-table@2.0.0-beta.8
 - @tiptap/extension-task-item@2.0.0-beta.4
 - @tiptap/extension-task-list@2.0.0-beta.5
 - @tiptap/extension-text-align@2.0.0-beta.7
 - @tiptap/extension-text-style@2.0.0-beta.3
 - @tiptap/extension-text@2.0.0-beta.3
 - @tiptap/extension-typography@2.0.0-beta.3
 - @tiptap/extension-underline@2.0.0-beta.4
 - @tiptap/html@2.0.0-beta.32
 - @tiptap/react@2.0.0-beta.21
 - @tiptap/starter-kit@2.0.0-beta.28
 - @tiptap/suggestion@2.0.0-beta.32
 - @tiptap/vue-2@2.0.0-beta.18
 - @tiptap/vue-3@2.0.0-beta.22
2021-04-16 14:54:37 +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
9a56f666a1 feat: add tippyOptions prop 2021-04-16 12:42:56 +02:00
Philipp Kühn
398fc7f210 fix: fix tippy for react 2021-04-16 11:34:37 +02:00
Philipp Kühn
3b5746a34c enable hideOnClick again 2021-04-16 11:14:30 +02:00
Philipp Kühn
54df2ce077 feat: use tippy for floating menu 2021-04-16 11:12:03 +02:00
Philipp Kühn
76b1e58657 refactor: code style 2021-04-16 11:11:41 +02:00
Philipp Kühn
d7282f168b feat: remove keepInBounds 2021-04-16 10:46:50 +02:00
Philipp Kühn
c28d8f7fad refactor: remove coordsAtPos from bubble menu extension 2021-04-16 09:57:23 +02:00
Philipp Kühn
8dab6144a6 feat: add coordsAtPos and posToClientRect helper methods 2021-04-16 09:56:52 +02:00
Philipp Kühn
cadabd09e0 Merge branch 'main' into feature/tippy-menus 2021-04-16 09:30:42 +02:00
Philipp Kühn
99d309030b Publish
- @tiptap/core@2.0.0-beta.31
 - @tiptap/extension-mention@2.0.0-beta.31
 - @tiptap/html@2.0.0-beta.31
 - @tiptap/starter-kit@2.0.0-beta.27
 - @tiptap/suggestion@2.0.0-beta.31
2021-04-16 00:19:17 +02:00
Philipp Kühn
4137e00d98 fix: fix type for emitUpdate, fix #276 2021-04-16 00:17:09 +02:00
Philipp Kühn
634c1ae493 Publish
- @tiptap/core@2.0.0-beta.30
 - @tiptap/extension-blockquote@2.0.0-beta.2
 - @tiptap/extension-bold@2.0.0-beta.2
 - @tiptap/extension-bubble-menu@2.0.0-beta.6
 - @tiptap/extension-bullet-list@2.0.0-beta.2
 - @tiptap/extension-character-count@2.0.0-beta.2
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.7
 - @tiptap/extension-code-block@2.0.0-beta.4
 - @tiptap/extension-code@2.0.0-beta.2
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.6
 - @tiptap/extension-collaboration@2.0.0-beta.5
 - @tiptap/extension-document@2.0.0-beta.2
 - @tiptap/extension-dropcursor@2.0.0-beta.3
 - @tiptap/extension-floating-menu@2.0.0-beta.3
 - @tiptap/extension-focus@2.0.0-beta.7
 - @tiptap/extension-font-family@2.0.0-beta.2
 - @tiptap/extension-gapcursor@2.0.0-beta.6
 - @tiptap/extension-hard-break@2.0.0-beta.2
 - @tiptap/extension-heading@2.0.0-beta.2
 - @tiptap/extension-highlight@2.0.0-beta.2
 - @tiptap/extension-history@2.0.0-beta.2
 - @tiptap/extension-horizontal-rule@2.0.0-beta.3
 - @tiptap/extension-image@2.0.0-beta.2
 - @tiptap/extension-italic@2.0.0-beta.2
 - @tiptap/extension-link@2.0.0-beta.4
 - @tiptap/extension-list-item@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.30
 - @tiptap/extension-ordered-list@2.0.0-beta.2
 - @tiptap/extension-paragraph@2.0.0-beta.3
 - @tiptap/extension-placeholder@2.0.0-beta.5
 - @tiptap/extension-strike@2.0.0-beta.3
 - @tiptap/extension-table-cell@2.0.0-beta.2
 - @tiptap/extension-table-header@2.0.0-beta.4
 - @tiptap/extension-table-row@2.0.0-beta.2
 - @tiptap/extension-table@2.0.0-beta.7
 - @tiptap/extension-task-item@2.0.0-beta.3
 - @tiptap/extension-task-list@2.0.0-beta.4
 - @tiptap/extension-text-align@2.0.0-beta.6
 - @tiptap/extension-text-style@2.0.0-beta.2
 - @tiptap/extension-text@2.0.0-beta.2
 - @tiptap/extension-typography@2.0.0-beta.2
 - @tiptap/extension-underline@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.30
 - @tiptap/react@2.0.0-beta.20
 - @tiptap/starter-kit@2.0.0-beta.26
 - @tiptap/suggestion@2.0.0-beta.30
 - @tiptap/vue-2@2.0.0-beta.17
 - @tiptap/vue-3@2.0.0-beta.21
2021-04-15 23:45:50 +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
998356a530 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into feature/add-hierarchy-to-extensions
# Conflicts:
#	packages/extension-code-block-lowlight/src/code-block-lowlight.ts
2021-04-15 22:57:04 +02:00
Philipp Kühn
b3596582da fix some more errors 2021-04-15 22:53:02 +02:00
Philipp Kühn
bc35016728 wip: use parent for code bleock highlight extension 2021-04-15 22:15:07 +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
Hans Pagel
accceccd09 docs: update content 2021-04-15 21:48:19 +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
6e8970566b Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.6
2021-04-14 10:05:57 +02:00
Philipp Kühn
edb4a0da3b bump 2021-04-14 10:05:29 +02:00
Philipp Kühn
125f16e967 Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.4
2021-04-14 10:00:39 +02:00
Philipp Kühn
922f25e8cd remove parentConfig from code block extension for now, see #259 2021-04-14 09:53:17 +02:00
Philipp Kühn
c40ce34eec wip: add some hierarchy tests 2021-04-14 09:48:38 +02:00
Philipp Kühn
daa5dc0fb1 fix: fix lowlight decorations for vue 3 2021-04-12 16:20:49 +02:00
Philipp Kühn
00ac898242 Publish
- @tiptap/core@2.0.0-beta.29
 - @tiptap/extension-mention@2.0.0-beta.29
 - @tiptap/html@2.0.0-beta.29
 - @tiptap/starter-kit@2.0.0-beta.25
 - @tiptap/suggestion@2.0.0-beta.29
2021-04-12 12:41:59 +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
28d30a1034 Publish
- @tiptap/core@2.0.0-beta.28
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.3
 - @tiptap/extension-gapcursor@2.0.0-beta.5
 - @tiptap/extension-mention@2.0.0-beta.28
 - @tiptap/extension-table@2.0.0-beta.6
 - @tiptap/html@2.0.0-beta.28
 - @tiptap/starter-kit@2.0.0-beta.24
 - @tiptap/suggestion@2.0.0-beta.28
2021-04-12 11:16:59 +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
cdf977a547 Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.2
 - @tiptap/extension-code-block@2.0.0-beta.3
 - @tiptap/extension-link@2.0.0-beta.3
 - @tiptap/starter-kit@2.0.0-beta.23
2021-04-11 19:01:23 +02:00
Philipp Kühn
33c30c0d6d fix: fix a bug in link click handler, where we can’t click on text selections. fix #263 2021-04-11 18:59:07 +02:00
Philipp Kühn
92f6ea25cc fix: remove codeblock when at start of document, fix #262 2021-04-11 18:29:03 +02:00
Philipp Kühn
65ee85d6cc Publish
- @tiptap/react@2.0.0-beta.19
 - @tiptap/vue-3@2.0.0-beta.20
2021-04-11 14:04:22 +02:00
Philipp Kühn
ea0992f66e fix: fix using react node views with insertContent 2021-04-11 14:03:16 +02:00
Philipp Kühn
054edc32a4 use tippy for bubble menu 2021-04-09 22:42:09 +02:00
Philipp Kühn
009a948cae fix types for vue-3 in vscode 2021-04-09 13:43:39 +02:00
Philipp Kühn
9fbde0f8da Publish
- @tiptap/core@2.0.0-beta.27
 - @tiptap/extension-mention@2.0.0-beta.27
 - @tiptap/extension-strike@2.0.0-beta.2
 - @tiptap/extension-underline@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.27
 - @tiptap/starter-kit@2.0.0-beta.22
 - @tiptap/suggestion@2.0.0-beta.27
2021-04-09 13:22:27 +02:00
Philipp Kühn
eff2c4140a fix: fix a bug where strike and underline can’t parsed together 2021-04-09 13:20:54 +02:00
Philipp Kühn
e7fe7248af fix: add scrollIntoView for insertContent 2021-04-09 10:45:23 +02:00
Philipp Kühn
a5794e7c00 Publish
- @tiptap/core@2.0.0-beta.26
 - @tiptap/extension-mention@2.0.0-beta.26
 - @tiptap/html@2.0.0-beta.26
 - @tiptap/starter-kit@2.0.0-beta.21
 - @tiptap/suggestion@2.0.0-beta.26
2021-04-09 10:07:07 +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
99153760d6 Publish
- @tiptap/core@2.0.0-beta.25
 - @tiptap/extension-mention@2.0.0-beta.25
 - @tiptap/html@2.0.0-beta.25
 - @tiptap/starter-kit@2.0.0-beta.20
 - @tiptap/suggestion@2.0.0-beta.25
2021-04-09 08:24:24 +02:00
Philipp Kühn
39147f5b02 fix: fixed type for Content 2021-04-09 08:22:13 +02:00
Philipp Kühn
3ef0c3bf8d Publish
- @tiptap/core@2.0.0-beta.24
 - @tiptap/extension-mention@2.0.0-beta.24
 - @tiptap/html@2.0.0-beta.24
 - @tiptap/starter-kit@2.0.0-beta.19
 - @tiptap/suggestion@2.0.0-beta.24
2021-04-09 00:14:04 +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
6029d74f79 Publish
- @tiptap/core@2.0.0-beta.23
 - @tiptap/extension-mention@2.0.0-beta.23
 - @tiptap/html@2.0.0-beta.23
 - @tiptap/starter-kit@2.0.0-beta.18
 - @tiptap/suggestion@2.0.0-beta.23
2021-04-08 23:55:51 +02:00
Philipp Kühn
5e5b8db6eb fix: improve drag position for node views 2021-04-08 23:53:47 +02:00
Philipp Kühn
992986bc46 Publish
- @tiptap/core@2.0.0-beta.22
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.1
 - @tiptap/extension-mention@2.0.0-beta.22
 - @tiptap/extension-text-align@2.0.0-beta.5
 - @tiptap/html@2.0.0-beta.22
 - @tiptap/react@2.0.0-beta.18
 - @tiptap/starter-kit@2.0.0-beta.17
 - @tiptap/suggestion@2.0.0-beta.22
 - @tiptap/vue-2@2.0.0-beta.16
 - @tiptap/vue-3@2.0.0-beta.19
2021-04-08 23:08:39 +02:00
Philipp Kühn
d6890b19c3 fix package.json 2021-04-08 22:58:51 +02:00
Philipp Kühn
b48da13665 prevent empty decorations 2021-04-08 22:44:40 +02:00
Philipp Kühn
08bc5c3d81 Merge branch 'main' into feature/extension-code-block-lowlight 2021-04-08 22:18:59 +02:00
Philipp Kühn
bd392ee8c2 remove languages option from codeblocklowlight 2021-04-08 22:13:50 +02:00
Philipp Kühn
113d50b814 Publish
- @tiptap/core@2.0.0-beta.21
 - @tiptap/extension-mention@2.0.0-beta.21
 - @tiptap/extension-text-align@2.0.0-beta.4
 - @tiptap/html@2.0.0-beta.21
 - @tiptap/react@2.0.0-beta.17
 - @tiptap/starter-kit@2.0.0-beta.16
 - @tiptap/suggestion@2.0.0-beta.21
 - @tiptap/vue-2@2.0.0-beta.15
 - @tiptap/vue-3@2.0.0-beta.18
2021-04-08 09:15:09 +02:00
Philipp Kühn
f8dec5f905 fix: make as prop optional 2021-04-08 09:11:45 +02:00
Philipp Kühn
536663f816 fix: improve node view error message 2021-04-08 09:05:43 +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
7b1d8d103c Publish
- @tiptap/core@2.0.0-beta.20
 - @tiptap/extension-mention@2.0.0-beta.20
 - @tiptap/extension-text-align@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.20
 - @tiptap/starter-kit@2.0.0-beta.15
 - @tiptap/suggestion@2.0.0-beta.20
2021-04-07 21:32:38 +02:00
Philipp Kühn
3334d930f3 feat: add resetAttributes() command, deprecate resetNodeAttributes() 2021-04-07 21:30:55 +02:00
Philipp Kühn
41a044417e Publish
- @tiptap/core@2.0.0-beta.19
 - @tiptap/extension-mention@2.0.0-beta.19
 - @tiptap/extension-text-align@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.19
 - @tiptap/starter-kit@2.0.0-beta.14
 - @tiptap/suggestion@2.0.0-beta.19
2021-04-07 21:18:49 +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
ae2e496a70 Publish
- @tiptap/core@2.0.0-beta.18
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.5
 - @tiptap/extension-link@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.18
 - @tiptap/extension-paragraph@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.18
 - @tiptap/starter-kit@2.0.0-beta.13
 - @tiptap/suggestion@2.0.0-beta.18
2021-04-07 18:35:17 +02:00
Philipp Kühn
bb1ae659a4 feat: add priority option to extensions 2021-04-07 18:29:16 +02:00
Philipp Kühn
6d83bef97d Publish
- @tiptap/core@2.0.0-beta.17
 - @tiptap/extension-mention@2.0.0-beta.17
 - @tiptap/html@2.0.0-beta.17
 - @tiptap/react@2.0.0-beta.16
 - @tiptap/starter-kit@2.0.0-beta.12
 - @tiptap/suggestion@2.0.0-beta.17
2021-04-07 16:08:33 +02:00
Philipp Kühn
beb96c5cbf fix: remove debug log 2021-04-07 16:03:01 +02:00
Philipp Kühn
2718ccff6f fix some react ts issues 2021-04-07 14:29:51 +02:00
Philipp Kühn
a06a8f0fa2 Publish
- @tiptap/core@2.0.0-beta.16
 - @tiptap/extension-horizontal-rule@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.16
 - @tiptap/html@2.0.0-beta.16
 - @tiptap/react@2.0.0-beta.15
 - @tiptap/starter-kit@2.0.0-beta.11
 - @tiptap/suggestion@2.0.0-beta.16
2021-04-07 12:01:33 +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
af17f2c657 fix: improve handling of horizontal rule at document end, fix #248 2021-04-06 23:48:51 +02:00
Philipp Kühn
92c2c81b8e why 2021-04-06 23:00:03 +02:00
Philipp Kühn
c83cd59df1 Publish
- @tiptap/vue-3@2.0.0-beta.17
2021-04-06 19:50:07 +02:00
Philipp Kühn
73650c12e0 fix: fix vue dependency 2021-04-06 19:46:48 +02:00
Philipp Kühn
70daefa1ca remove deprecated packages 2021-04-06 19:15:46 +02:00
Philipp Kühn
2a64dda01d Publish
- @tiptap/core@2.0.0-beta.15
 - @tiptap/extension-dropcursor@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.15
 - @tiptap/extension-placeholder@2.0.0-beta.4
 - @tiptap/extension-task-item@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.15
 - @tiptap/starter-kit@2.0.0-beta.10
 - @tiptap/suggestion@2.0.0-beta.15
 - @tiptap/vue-3@2.0.0-beta.16
 - @tiptap/vue-starter-kit@2.0.0-beta.14
2021-04-06 19:11:40 +02:00
Philipp Kühn
cc5d8d3623 dependencies: update dependencies 2021-04-06 19:09:37 +02:00
Philipp Kühn
5622deca30 fix: fix checkbox in firefox, fix #251 2021-04-06 18:57:39 +02:00
Philipp Kühn
130023bca5 update dependencies 2021-04-05 11:41:10 +02:00
Philipp Kühn
65ef42a0b1 refactoring 2021-04-04 23:44:57 +02:00
Philipp Kühn
143e0204a3 refactoring 2021-04-04 23:41:44 +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
8bfcba3e62 Publish
- @tiptap/react@2.0.0-beta.14
2021-04-04 21:46:14 +02:00
philippkuehn
cdb57b2e39 ci: fix code style linting errors 2021-04-04 19:44:43 +00:00
Philipp Kühn
bdb5d72495 feat: render wrapper element for inline node views as span, fix #242 2021-04-04 21:43:48 +02:00
Philipp Kühn
5faf1ab10f Publish
- @tiptap/core@2.0.0-beta.14
 - @tiptap/extension-mention@2.0.0-beta.14
 - @tiptap/html@2.0.0-beta.14
 - @tiptap/starter-kit@2.0.0-beta.9
 - @tiptap/suggestion@2.0.0-beta.14
 - @tiptap/vue-starter-kit@2.0.0-beta.13
2021-04-04 09:52:29 +02:00
Philipp Kühn
3a5cad6bea check for contenteditable within nodeviews 2021-04-04 09:50:36 +02:00
Philipp Kühn
550b8bd216 Publish
- @tiptap/vue-2@2.0.0-beta.14
 - @tiptap/vue-3@2.0.0-beta.15
2021-04-03 23:18:30 +02:00
Philipp Kühn
177eed65a4 fix menus in vue 3 for now 2021-04-03 23:17:36 +02:00
Philipp Kühn
7c757415e9 fix adding decoration classes to node views in vue 2021-04-03 23:15:13 +02:00
Philipp Kühn
25582c64cc add y.js support for codeblock extension 2021-04-03 12:34:27 +02:00
Philipp Kühn
6757813fd0 refactoring 2021-04-02 23:53:04 +02:00
Philipp Kühn
dd505d2773 refactoring 2021-04-02 23:40:52 +02:00
Philipp Kühn
c94264894b fix a big in highlighter 2021-04-02 23:02:05 +02:00
Philipp Kühn
74bd678e8b remove custom name for lowlight code block 2021-04-02 22:30:12 +02:00
Philipp Kühn
faa0ef8bfa check for language in highlighting 2021-04-02 22:21:17 +02:00
Philipp Kühn
c8f384b9fc remove log 2021-04-02 22:20:20 +02:00
Philipp Kühn
f1dac9aaef Publish
- @tiptap/core@2.0.0-beta.13
 - @tiptap/extension-code-block@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.13
 - @tiptap/html@2.0.0-beta.13
 - @tiptap/starter-kit@2.0.0-beta.8
 - @tiptap/suggestion@2.0.0-beta.13
 - @tiptap/vue-starter-kit@2.0.0-beta.12
2021-04-02 21:59:12 +02:00
Philipp Kühn
a5e1030e4f add insertNode command 2021-04-02 21:55:25 +02:00
Philipp Kühn
7adf1853d7 add basic lowlight extension 2021-04-02 00:07:40 +02:00
Philipp Kühn
4d882af5d7 fix typo 2021-04-01 23:03:27 +02:00
Philipp Kühn
aa7a9f7015 Publish
- @tiptap/core@2.0.0-beta.12
 - @tiptap/extension-mention@2.0.0-beta.12
 - @tiptap/html@2.0.0-beta.12
 - @tiptap/starter-kit@2.0.0-beta.7
 - @tiptap/suggestion@2.0.0-beta.12
 - @tiptap/vue-starter-kit@2.0.0-beta.11
2021-04-01 19:11:11 +02:00
Philipp Kühn
f2ca9322ee add keepOnSplit option for marks 2021-04-01 19:06:40 +02:00
Philipp Kühn
9cdc76a082 fix whitespace 2021-04-01 18:42:31 +02:00
Philipp Kühn
1bd865809d Publish
- @tiptap/react@2.0.0-beta.13
 - @tiptap/vue-2@2.0.0-beta.13
 - @tiptap/vue-3@2.0.0-beta.14
2021-04-01 18:00:24 +02:00
Philipp Kühn
4d4f96bfc0 fix flicker bug for menus 2021-04-01 17:55:32 +02:00
Philipp Kühn
17726770d2 Publish
- @tiptap/core@2.0.0-beta.11
 - @tiptap/extension-bubble-menu@2.0.0-beta.5
 - @tiptap/extension-floating-menu@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.11
 - @tiptap/html@2.0.0-beta.11
 - @tiptap/react@2.0.0-beta.12
 - @tiptap/starter-kit@2.0.0-beta.6
 - @tiptap/suggestion@2.0.0-beta.11
 - @tiptap/vue-2@2.0.0-beta.12
 - @tiptap/vue-3@2.0.0-beta.13
 - @tiptap/vue-starter-kit@2.0.0-beta.10
2021-04-01 16:29:08 +02:00
Philipp Kühn
e25e1ddd27 update menus on resize 2021-04-01 16:22:02 +02:00
Philipp Kühn
c68fa74ad1 add resize event 2021-04-01 16:21:47 +02:00
Philipp Kühn
b9ee5555e5 Publish
- @tiptap/extension-floating-menu@2.0.0-beta.1
 - @tiptap/react@2.0.0-beta.11
 - @tiptap/vue-2@2.0.0-beta.11
 - @tiptap/vue-3@2.0.0-beta.12
2021-04-01 16:00:55 +02:00
Philipp Kühn
f2a45f68d4 Merge branch 'feature/extension-floating-menu'
# Conflicts:
#	packages/react/package.json
#	packages/vue-2/package.json
#	packages/vue-3/package.json
2021-04-01 15:57:23 +02:00
Philipp Kühn
3eac1ce319 add floating menu to vue 3 and react 2021-04-01 15:55:19 +02:00
Philipp Kühn
c55ebc7ea6 improve default node detection for floating menu 2021-04-01 15:33:37 +02:00
Philipp Kühn
007e6f855b add basic floating menu 2021-04-01 15:19:31 +02:00
Philipp Kühn
95642d979c Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.4
 - @tiptap/react@2.0.0-beta.10
 - @tiptap/vue-2@2.0.0-beta.10
 - @tiptap/vue-3@2.0.0-beta.11
2021-04-01 12:20:57 +02:00
Philipp Kühn
0e11fa6cff remove transform 2021-04-01 12:12:23 +02:00
Philipp Kühn
3cf22b02c6 Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.3
 - @tiptap/react@2.0.0-beta.9
 - @tiptap/starter-kit@2.0.0-beta.5
 - @tiptap/vue-2@2.0.0-beta.9
 - @tiptap/vue-3@2.0.0-beta.10
 - @tiptap/vue-starter-kit@2.0.0-beta.9
2021-03-31 23:40:03 +02:00
Philipp Kühn
8881af4785 add core dependency, fix #201 2021-03-31 23:38:12 +02:00
Philipp Kühn
4ddb698398 fix readme 2021-03-31 22:15:48 +02:00
Philipp Kühn
2cf5792bea Publish
- @tiptap/vue-3@2.0.0-beta.9
2021-03-31 16:54:35 +02:00
Philipp Kühn
bb6cef9862 add missing dependency 2021-03-31 16:53:38 +02:00
Philipp Kühn
62b46ab15a Publish
- @tiptap/extension-bubble-menu@2.0.0-beta.2
 - @tiptap/react@2.0.0-beta.8
 - @tiptap/vue-2@2.0.0-beta.8
2021-03-31 16:53:07 +02:00
Philipp Kühn
56a037b8e8 dont use document in BubbleMenu extension 2021-03-31 16:51:48 +02:00
Philipp Kühn
0e31fff97f Publish
- @tiptap/core@2.0.0-beta.10
 - @tiptap/extension-bubble-menu@2.0.0-beta.1
 - @tiptap/extension-focus@2.0.0-beta.6
 - @tiptap/extension-mention@2.0.0-beta.10
 - @tiptap/extension-placeholder@2.0.0-beta.3
 - @tiptap/extension-table-header@2.0.0-beta.3
 - @tiptap/extension-table@2.0.0-beta.5
 - @tiptap/extension-task-list@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.10
 - @tiptap/react@2.0.0-beta.7
 - @tiptap/suggestion@2.0.0-beta.10
 - @tiptap/vue-2@2.0.0-beta.7
 - @tiptap/vue-3@2.0.0-beta.8
 - @tiptap/vue-starter-kit@2.0.0-beta.8
 - @tiptap/vue@2.0.0-beta.5
2021-03-31 14:17:14 +02:00
Philipp Kühn
f8d029040a fix type cycle bug in vite 2021-03-31 13:44:56 +02:00
Philipp Kühn
d06f5c0c73 fix using registerPlugin and unregisterPlugin for vue-3 2021-03-31 12:11:55 +02:00
Philipp Kühn
2b0a0dad0f add bubble menu to vue-3 2021-03-31 11:52:36 +02:00
Philipp Kühn
e0895926bd refactoring 2021-03-31 11:13:09 +02:00
Philipp Kühn
a90f08fb1c fix a bug in bubble menu 2021-03-31 10:58:05 +02:00
Philipp Kühn
df58611810 rename type 2021-03-31 10:22:54 +02:00
Philipp Kühn
6f5a96d2e5 add menububble react component 2021-03-31 10:21:34 +02:00
Philipp Kühn
0bdac219f5 remove unused file 2021-03-31 10:00:01 +02:00
Philipp Kühn
5213069bb4 add react demo (WIP) to bubble menu 2021-03-30 14:24:52 +02:00
Philipp Kühn
daa8e72477 add doc page for bubble menu 2021-03-30 14:07:18 +02:00
Philipp Kühn
35ca89311f refactoring 2021-03-30 12:56:23 +02:00
Philipp Kühn
86fa24231c improve bubble menu 2021-03-30 12:45:56 +02:00
Philipp Kühn
0aa9408124 fix a bug 2021-03-30 12:20:19 +02:00
Philipp Kühn
d25567ff74 refactoring 2021-03-30 12:13:55 +02:00
Philipp Kühn
71a4e5e646 add bubble menu from v1 2021-03-30 11:36:51 +02:00
Philipp Kühn
60a3b0dfdd set props for composition api, see #236 2021-03-29 21:24:20 +02:00
Philipp Kühn
43bafac060 update dependencies 2021-03-29 17:23:45 +02:00
Philipp Kühn
1a7288eb3b Publish
- @tiptap/core@2.0.0-beta.9
 - @tiptap/extension-mention@2.0.0-beta.9
 - @tiptap/html@2.0.0-beta.9
 - @tiptap/suggestion@2.0.0-beta.9
2021-03-28 21:33:02 +02:00
Philipp Kühn
4717d7ff9a fix more commands for cell selections 2021-03-28 21:30:47 +02:00
Philipp Kühn
ffde0a382e Publish
- @tiptap/core@2.0.0-beta.8
 - @tiptap/extension-mention@2.0.0-beta.8
 - @tiptap/html@2.0.0-beta.8
 - @tiptap/suggestion@2.0.0-beta.8
2021-03-28 21:12:41 +02:00
Philipp Kühn
9595a23eb8 fix updating marks for multiple table cells, fix #186 2021-03-28 21:07:56 +02:00
Philipp Kühn
bb1dad7560 Publish
- @tiptap/core@2.0.0-beta.7
 - @tiptap/extension-focus@2.0.0-beta.5
 - @tiptap/extension-mention@2.0.0-beta.7
 - @tiptap/extension-placeholder@2.0.0-beta.2
 - @tiptap/extension-table-header@2.0.0-beta.2
 - @tiptap/extension-table@2.0.0-beta.4
 - @tiptap/extension-task-list@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.7
 - @tiptap/react@2.0.0-beta.6
 - @tiptap/suggestion@2.0.0-beta.7
 - @tiptap/vue-2@2.0.0-beta.6
 - @tiptap/vue-3@2.0.0-beta.7
 - @tiptap/vue-starter-kit@2.0.0-beta.7
 - @tiptap/vue@2.0.0-beta.4
2021-03-28 20:22:10 +02:00
Philipp Kühn
b7cf5e3e4f fix colwidth for tablehead, see #186 2021-03-28 20:19:17 +02:00
Philipp Kühn
0a238d9c12 add editor to placeholder props 2021-03-27 11:16:50 +01:00
Hans Pagel
5f599c45b9 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2021-03-25 09:48:56 +01:00
Philipp Kühn
1656fa0700 Publish
- @tiptap/extension-focus@2.0.0-beta.4
2021-03-25 08:35:25 +01:00
Philipp Kühn
aa93e97359 fix focus extension for leaf nodes, fix #223 2021-03-25 08:32:39 +01:00
Philipp Kühn
a0d71ed189 Publish
- @tiptap/core@2.0.0-beta.6
 - @tiptap/extension-focus@2.0.0-beta.3
 - @tiptap/extension-mention@2.0.0-beta.6
 - @tiptap/extension-placeholder@2.0.0-beta.1
 - @tiptap/extension-table@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.6
 - @tiptap/react@2.0.0-beta.5
 - @tiptap/suggestion@2.0.0-beta.6
 - @tiptap/vue-2@2.0.0-beta.5
 - @tiptap/vue-3@2.0.0-beta.6
 - @tiptap/vue-starter-kit@2.0.0-beta.6
 - @tiptap/vue@2.0.0-beta.3
2021-03-24 22:55:37 +01:00
Philipp Kühn
49611e16e5 add placeholder extension 2021-03-24 22:50:30 +01:00
Philipp Kühn
58939fe02b update dependencies 2021-03-24 22:27:10 +01:00
Philipp Kühn
43320e51c7 add isNodeEmpty helper method 2021-03-24 22:23:08 +01:00
Hans Pagel
a5f28e421e fix conflicting keyboard shortcut for the task list 2021-03-24 20:39:56 +01:00
Philipp Kühn
e5b808bd67 Publish
- @tiptap/core@2.0.0-beta.5
 - @tiptap/extension-mention@2.0.0-beta.5
 - @tiptap/html@2.0.0-beta.5
 - @tiptap/suggestion@2.0.0-beta.5
2021-03-18 13:59:02 +01:00
Philipp Kühn
1a74bbb0fb improve node view handling with inputs, fix #211 2021-03-18 13:54:48 +01:00
Philipp Kühn
923775ae39 Publish
- @tiptap/core@2.0.0-beta.4
 - @tiptap/extension-focus@2.0.0-beta.2
 - @tiptap/extension-mention@2.0.0-beta.4
 - @tiptap/extension-table@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.4
 - @tiptap/react@2.0.0-beta.4
 - @tiptap/suggestion@2.0.0-beta.4
 - @tiptap/vue-2@2.0.0-beta.4
 - @tiptap/vue-3@2.0.0-beta.5
 - @tiptap/vue-starter-kit@2.0.0-beta.5
 - @tiptap/vue@2.0.0-beta.2
2021-03-18 11:42:20 +01:00
Philipp Kühn
6e87882820 fix bug in markPasteRule, fix #215 2021-03-18 10:54:16 +01:00
Philipp Kühn
df5908d42e add classname support for react components 2021-03-18 09:38:10 +01:00
Philipp Kühn
375bb15dc1 update dependencies 2021-03-18 00:01:17 +01:00
Philipp Kühn
5323eb7e82 Publish
- @tiptap/vue-2@2.0.0-beta.3
 - @tiptap/vue-3@2.0.0-beta.4
2021-03-17 21:49:55 +01:00
Philipp Kühn
f0f6e79408 add nodeViewProps, fix #214 2021-03-17 21:43:45 +01:00
Philipp Kühn
7d52a3aad1 improve some types, fix #213 2021-03-17 21:21:57 +01:00
Philipp Kühn
7d740a5cd8 Publish
- @tiptap/core@2.0.0-beta.3
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.4
 - @tiptap/extension-collaboration@2.0.0-beta.4
 - @tiptap/extension-gapcursor@2.0.0-beta.4
 - @tiptap/extension-mention@2.0.0-beta.3
 - @tiptap/html@2.0.0-beta.3
 - @tiptap/react@2.0.0-beta.3
 - @tiptap/starter-kit@2.0.0-beta.4
 - @tiptap/suggestion@2.0.0-beta.3
 - @tiptap/vue-2@2.0.0-beta.2
 - @tiptap/vue-3@2.0.0-beta.3
 - @tiptap/vue-starter-kit@2.0.0-beta.4
2021-03-16 22:30:06 +01:00
Philipp Kühn
49fcf829f3 refactoring 2021-03-16 22:22:13 +01:00
Philipp Kühn
a76de1ab6d move some nodeview logic to core 2021-03-16 21:55:40 +01:00
Philipp Kühn
6841408e0d code style 2021-03-15 18:48:51 +01:00
Philipp Kühn
9bc68d6d85 refactoring 2021-03-15 18:42:58 +01:00
Philipp Kühn
57915d8638 fix toggle editor 2021-03-15 14:53:23 +01:00
Philipp Kühn
d0a15ad069 prevent dispatch on readonly 2021-03-15 13:27:52 +01:00
Philipp Kühn
4a4adc10e1 Merge branch 'feature/react-renderer' into main 2021-03-15 09:07:52 +01:00
Philipp Kühn
e765c8e981 refactoring 2021-03-15 09:00:44 +01:00
Philipp Kühn
385ee1d1f4 add ref to reactrenderer 2021-03-15 00:22:17 +01:00
Philipp Kühn
29abba56e7 refactoring 2021-03-14 23:09:32 +01:00
Philipp Kühn
56aaf75db5 refactoring 2021-03-14 22:41:25 +01:00
Philipp Kühn
8ccb1d08cf add dynamic tags 2021-03-14 21:45:14 +01:00
Philipp Kühn
380d27fe86 add useReactNodeView hook 2021-03-14 20:40:40 +01:00
Philipp Kühn
109bff0892 refactoring 2021-03-14 18:00:50 +01:00
Philipp Kühn
baa5bcc964 refactoring 2021-03-14 17:01:52 +01:00
Philipp Kühn
5e9a0d4225 add basic react nodeviewrenderer 2021-03-14 16:30:06 +01:00
Philipp Kühn
bc60a91904 wip react renderer 2021-03-12 21:21:13 +01:00
Hans Pagel
be3a18a4a3 fix typo, fix #199 2021-03-11 11:09:35 +01:00
Philipp Kühn
aebf70256d Publish
- @tiptap/vue-3@2.0.0-beta.2
2021-03-10 00:13:57 +01:00
Philipp Kühn
aa3823f239 change vue 3 version 2021-03-10 00:12:54 +01:00
Philipp Kühn
bf357dd7cb Publish
- @tiptap/core@2.0.0-beta.2
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.3
 - @tiptap/extension-collaboration@2.0.0-beta.3
 - @tiptap/extension-gapcursor@2.0.0-beta.3
 - @tiptap/extension-mention@2.0.0-beta.2
 - @tiptap/html@2.0.0-beta.2
 - @tiptap/react@2.0.0-beta.2
 - @tiptap/starter-kit@2.0.0-beta.3
 - @tiptap/suggestion@2.0.0-beta.2
 - @tiptap/vue-starter-kit@2.0.0-beta.3
2021-03-09 09:56:07 +01:00
Philipp Kühn
15848473ed rename selection to selectionUpdate, add editor to event listener props 2021-03-09 09:50:03 +01:00
Philipp Kühn
789a1d5551 add type 2021-03-08 23:33:19 +01:00
Philipp Kühn
d64ddf6c1b refactoring 2021-03-08 23:10:10 +01:00
Philipp Kühn
7f698a7553 refactoring 2021-03-08 22:16:32 +01:00
Philipp Kühn
ed7f8c257e add useEditor 2021-03-08 22:00:07 +01:00
Philipp Kühn
0c494ab136 Merge branch 'main' into feature/react
# Conflicts:
#	yarn.lock
2021-03-08 18:10:21 +01:00
Philipp Kühn
43a13594f0 Publish
- @tiptap/extension-collaboration-cursor@2.0.0-beta.2
 - @tiptap/extension-collaboration@2.0.0-beta.2
 - @tiptap/extension-gapcursor@2.0.0-beta.2
 - @tiptap/starter-kit@2.0.0-beta.2
 - @tiptap/vue-starter-kit@2.0.0-beta.2
2021-03-08 13:56:47 +01:00
Philipp Kühn
86a8ce349a update dependencies 2021-03-08 13:47:55 +01:00
Philipp Kühn
c20b43aa6c try to improve react support 2021-03-08 13:19:05 +01:00
Philipp Kühn
67781052b0 Publish
- @tiptap/core@2.0.0-beta.1
 - @tiptap/extension-blockquote@2.0.0-beta.1
 - @tiptap/extension-bold@2.0.0-beta.1
 - @tiptap/extension-bullet-list@2.0.0-beta.1
 - @tiptap/extension-character-count@2.0.0-beta.1
 - @tiptap/extension-code-block@2.0.0-beta.1
 - @tiptap/extension-code@2.0.0-beta.1
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.1
 - @tiptap/extension-collaboration@2.0.0-beta.1
 - @tiptap/extension-document@2.0.0-beta.1
 - @tiptap/extension-dropcursor@2.0.0-beta.1
 - @tiptap/extension-focus@2.0.0-beta.1
 - @tiptap/extension-font-family@2.0.0-beta.1
 - @tiptap/extension-gapcursor@2.0.0-beta.1
 - @tiptap/extension-hard-break@2.0.0-beta.1
 - @tiptap/extension-heading@2.0.0-beta.1
 - @tiptap/extension-highlight@2.0.0-beta.1
 - @tiptap/extension-history@2.0.0-beta.1
 - @tiptap/extension-horizontal-rule@2.0.0-beta.1
 - @tiptap/extension-image@2.0.0-beta.1
 - @tiptap/extension-italic@2.0.0-beta.1
 - @tiptap/extension-link@2.0.0-beta.1
 - @tiptap/extension-list-item@2.0.0-beta.1
 - @tiptap/extension-mention@2.0.0-beta.1
 - @tiptap/extension-ordered-list@2.0.0-beta.1
 - @tiptap/extension-paragraph@2.0.0-beta.1
 - @tiptap/extension-strike@2.0.0-beta.1
 - @tiptap/extension-table-cell@2.0.0-beta.1
 - @tiptap/extension-table-header@2.0.0-beta.1
 - @tiptap/extension-table-row@2.0.0-beta.1
 - @tiptap/extension-table@2.0.0-beta.1
 - @tiptap/extension-task-item@2.0.0-beta.1
 - @tiptap/extension-task-list@2.0.0-beta.1
 - @tiptap/extension-text-align@2.0.0-beta.1
 - @tiptap/extension-text-style@2.0.0-beta.1
 - @tiptap/extension-text@2.0.0-beta.1
 - @tiptap/extension-typography@2.0.0-beta.1
 - @tiptap/extension-underline@2.0.0-beta.1
 - @tiptap/html@2.0.0-beta.1
 - @tiptap/react@2.0.0-beta.1
 - @tiptap/starter-kit@2.0.0-beta.1
 - @tiptap/suggestion@2.0.0-beta.1
 - @tiptap/vue-2@2.0.0-beta.1
 - @tiptap/vue-3@2.0.0-beta.1
 - @tiptap/vue-starter-kit@2.0.0-beta.1
 - @tiptap/vue@2.0.0-beta.1
2021-03-05 12:50:07 +01:00
Philipp Kühn
2f5ef1cf53 fix versions 2021-03-05 12:49:34 +01:00
Philipp Kühn
2fa178c0f7 alpha to beta 2021-03-05 12:47:10 +01:00
Philipp Kühn
c925160e78 add comment 2021-03-05 12:15:50 +01:00
Philipp Kühn
56e1a0e045 fix table resizing, fix #183 2021-03-05 12:13:49 +01:00
Philipp Kühn
2017b84578 fix some typescript bugs 2021-03-05 11:58:52 +01:00
Philipp Kühn
e9e3418a0f don’t use __vue__ 2021-03-05 11:01:26 +01:00
Philipp Kühn
aa3913cb06 refactoring 2021-03-05 10:20:17 +01:00
Philipp Kühn
983b56a5f2 add NodeViewWrapper and NodeViewContent to vue-2 2021-03-05 10:18:44 +01:00
Philipp Kühn
328d5a459d refactoring 2021-03-05 09:46:47 +01:00
Philipp Kühn
3bf900e7f6 add NodeViewWrapper and NodeViewContent component 2021-03-05 00:02:28 +01:00
Philipp Kühn
053a266a31 fix updating props, fix #181 2021-03-01 21:04:25 +01:00
Philipp Kühn
6bafc18215 refactoring 2021-03-01 08:44:01 +01:00
Philipp Kühn
79bb54be69 Publish
- @tiptap/core@2.0.0-alpha.22
 - @tiptap/extension-mention@2.0.0-alpha.12
 - @tiptap/html@2.0.0-alpha.18
 - @tiptap/suggestion@2.0.0-alpha.12
 - @tiptap/vue-2@2.0.0-alpha.1
 - @tiptap/vue-3@2.0.0-alpha.1
2021-02-28 23:56:21 +01:00
Philipp Kühn
6d66571128 add useEditor 2021-02-28 23:47:34 +01:00
Philipp Kühn
64b8f5c514 update docs 2021-02-28 23:39:29 +01:00
Philipp Kühn
00e673f700 change exports 2021-02-28 23:24:26 +01:00
Philipp Kühn
4721fe451f refactoring 2021-02-28 00:02:51 +01:00
Philipp Kühn
015c47707a add vue-2 and vue-3 2021-02-27 23:56:08 +01:00
Philipp Kühn
5fc6c1b7c2 Publish
- @tiptap/core@2.0.0-alpha.21
 - @tiptap/extension-mention@2.0.0-alpha.11
 - @tiptap/html@2.0.0-alpha.17
 - @tiptap/suggestion@2.0.0-alpha.11
2021-02-26 19:04:50 +01:00
Philipp Kühn
e31ddbd2d8 remove unused file 2021-02-26 19:03:41 +01:00
Philipp Kühn
2b9f6bc129 Publish
- @tiptap/core@2.0.0-alpha.20
 - @tiptap/extension-collaboration@2.0.0-alpha.12
 - @tiptap/extension-focus@2.0.0-alpha.12
 - @tiptap/extension-gapcursor@2.0.0-alpha.12
 - @tiptap/extension-mention@2.0.0-alpha.10
 - @tiptap/extension-table@2.0.0-alpha.12
 - @tiptap/html@2.0.0-alpha.16
 - @tiptap/react@2.0.0-alpha.2
 - @tiptap/starter-kit@2.0.0-alpha.14
 - @tiptap/suggestion@2.0.0-alpha.10
 - @tiptap/vue-starter-kit@2.0.0-alpha.16
 - @tiptap/vue@2.0.0-alpha.13
2021-02-26 18:59:00 +01:00
Philipp Kühn
aaaa6ac51d update dependencies 2021-02-26 18:47:39 +01:00
Philipp Kühn
fa006aee63 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main 2021-02-26 18:11:48 +01:00
Philipp Kühn
a7ab9454b5 move isCellSelection to table extension 2021-02-26 18:11:42 +01:00
Hans Pagel
c84176c064 fix depency error 2021-02-26 02:25:33 +01:00
Hans Pagel
bf5fb2ad3c move React components to a package, translate default editor example to React 2021-02-26 02:00:35 +01:00
Philipp Kühn
9bb9c92523 add comment 2021-02-23 11:59:59 +01:00
Philipp Kühn
2de981dbe2 improve handling of node selections for node views, fix #153 2021-02-23 11:58:30 +01:00
Philipp Kühn
bd621f4677 fix can().undo() for collab 2021-02-22 10:40:56 +01:00
Philipp Kühn
9f0715ebff remove @types/prosemirror-tables 2021-02-21 22:06:12 +01:00
Philipp Kühn
92a6768b3d allow to define everything within extensions 2021-02-19 17:47:22 +01:00
Philipp Kühn
45e260d535 fix allowGapCursor type 2021-02-19 17:41:11 +01:00
Philipp Kühn
6fb28a2741 make extension configs extendable 2021-02-19 17:35:50 +01:00
Philipp Kühn
46501ee226 add allowGapCursor option 2021-02-19 11:17:27 +01:00
Philipp Kühn
b06b368621 fix bug 2021-02-19 11:17:18 +01:00
Philipp Kühn
ba69a0d8f9 improve extending nodes and marks 2021-02-19 10:54:47 +01:00
Philipp Kühn
4a58978ffb add NodeSchemaFields interface 2021-02-19 10:09:25 +01:00
Philipp Kühn
6f9557294e add basic schema extender 2021-02-19 09:54:39 +01:00
Philipp Kühn
85eceb32b8 update dependencies 2021-02-19 09:30:49 +01:00
Philipp Kühn
223512a536 refactoring 2021-02-18 22:44:50 +01:00
Philipp Kühn
f6a20d2b6e Publish
- @tiptap/core@2.0.0-alpha.19
 - @tiptap/extension-mention@2.0.0-alpha.9
 - @tiptap/html@2.0.0-alpha.15
 - @tiptap/suggestion@2.0.0-alpha.9
2021-02-18 17:38:58 +01:00
Philipp Kühn
3759f4cdee export core command types 2021-02-18 17:31:33 +01:00
Philipp Kühn
501d540c2d move selectionToInsertionEnd 2021-02-17 23:30:40 +01:00
Philipp Kühn
51772590cc add comment 2021-02-17 23:24:58 +01:00
Philipp Kühn
52b46ef1ff Publish
- @tiptap/core@2.0.0-alpha.18
 - @tiptap/extension-mention@2.0.0-alpha.8
 - @tiptap/html@2.0.0-alpha.14
 - @tiptap/suggestion@2.0.0-alpha.8
2021-02-16 23:07:32 +01:00
Philipp Kühn
96bb2e188d fix addKeyboardShortcuts type 2021-02-16 22:59:45 +01:00
Philipp Kühn
c51081f34e fix storedMarks when using focus first, fix #94 2021-02-16 22:36:28 +01:00
Philipp Kühn
71d8fbbcb1 Publish
- @tiptap/core@2.0.0-alpha.17
 - @tiptap/extension-blockquote@2.0.0-alpha.11
 - @tiptap/extension-bold@2.0.0-alpha.11
 - @tiptap/extension-bullet-list@2.0.0-alpha.11
 - @tiptap/extension-character-count@2.0.0-alpha.11
 - @tiptap/extension-code-block@2.0.0-alpha.11
 - @tiptap/extension-code@2.0.0-alpha.11
 - @tiptap/extension-collaboration-cursor@2.0.0-alpha.11
 - @tiptap/extension-collaboration@2.0.0-alpha.11
 - @tiptap/extension-document@2.0.0-alpha.11
 - @tiptap/extension-dropcursor@2.0.0-alpha.11
 - @tiptap/extension-focus@2.0.0-alpha.11
 - @tiptap/extension-font-family@2.0.0-alpha.11
 - @tiptap/extension-gapcursor@2.0.0-alpha.11
 - @tiptap/extension-hard-break@2.0.0-alpha.11
 - @tiptap/extension-heading@2.0.0-alpha.11
 - @tiptap/extension-highlight@2.0.0-alpha.11
 - @tiptap/extension-history@2.0.0-alpha.11
 - @tiptap/extension-horizontal-rule@2.0.0-alpha.11
 - @tiptap/extension-image@2.0.0-alpha.11
 - @tiptap/extension-italic@2.0.0-alpha.11
 - @tiptap/extension-link@2.0.0-alpha.11
 - @tiptap/extension-list-item@2.0.0-alpha.11
 - @tiptap/extension-mention@2.0.0-alpha.7
 - @tiptap/extension-ordered-list@2.0.0-alpha.11
 - @tiptap/extension-paragraph@2.0.0-alpha.11
 - @tiptap/extension-strike@2.0.0-alpha.11
 - @tiptap/extension-table-cell@2.0.0-alpha.11
 - @tiptap/extension-table-header@2.0.0-alpha.11
 - @tiptap/extension-table-row@2.0.0-alpha.11
 - @tiptap/extension-table@2.0.0-alpha.11
 - @tiptap/extension-task-item@2.0.0-alpha.12
 - @tiptap/extension-task-list@2.0.0-alpha.11
 - @tiptap/extension-text-align@2.0.0-alpha.12
 - @tiptap/extension-text-style@2.0.0-alpha.11
 - @tiptap/extension-text@2.0.0-alpha.11
 - @tiptap/extension-typography@2.0.0-alpha.11
 - @tiptap/extension-underline@2.0.0-alpha.11
 - @tiptap/html@2.0.0-alpha.13
 - @tiptap/starter-kit@2.0.0-alpha.13
 - @tiptap/suggestion@2.0.0-alpha.7
 - @tiptap/vue-starter-kit@2.0.0-alpha.15
 - @tiptap/vue@2.0.0-alpha.12
2021-02-16 19:09:18 +01:00
Philipp Kühn
b896bff98b add todo 2021-02-16 19:02:01 +01:00
Philipp Kühn
65b8eff634 remove unused method 2021-02-16 18:56:18 +01:00
Philipp Kühn
744dab5601 remove proxy 2021-02-16 18:54:44 +01:00
Philipp Kühn
56b4df044f rename AllCommands to Commands 2021-02-16 18:39:37 +01:00
Philipp Kühn
a705134998 rename Commands to RawCommands 2021-02-16 18:36:37 +01:00
Philipp Kühn
381bc0ce49 refactoring 2021-02-16 18:28:43 +01:00
Philipp Kühn
02e91daed2 update dependencies 2021-02-16 18:24:11 +01:00
Philipp Kühn
e4cb53eab7 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into feature/remove-inferred-commands
# Conflicts:
#	docs/src/demos/Experiments/Annotation/extension/annotation.ts
#	docs/src/demos/Experiments/Color/extension/Color.ts
#	docs/src/demos/Experiments/Details/details.ts
2021-02-16 18:08:12 +01:00
Philipp Kühn
8fda044502 refactoring 2021-02-16 18:00:40 +01:00
Philipp Kühn
ca8d1a4245 add command scope 2021-02-16 11:27:58 +01:00
Philipp Kühn
e3a34f78b8 fix #155 2021-02-12 00:23:03 +01:00
Philipp Kühn
39766f4459 update dependencies 2021-02-10 20:37:35 +01:00
Philipp Kühn
215c26748b improve options interface 2021-02-10 18:25:08 +01:00
Philipp Kühn
55ff908423 refactoring 2021-02-10 18:05:02 +01:00
Philipp Kühn
f70974678b remove proxy from createChain 2021-02-10 15:10:03 +01:00
Philipp Kühn
48234cf751 refactoring 2021-02-10 14:53:46 +01:00
Philipp Kühn
c5d6b19d1b Merge branch 'feature/allow-option-for-suggestions' into feature/remove-inferred-commands 2021-02-10 14:52:20 +01:00
Philipp Kühn
2340840621 remove registerCommands 2021-02-10 14:52:08 +01:00
Philipp Kühn
290ff76e37 add Commands interface 2021-02-10 09:59:35 +01:00
Philipp Kühn
2315357125 add keyboardShortcut and enter command 2021-02-09 21:04:33 +01:00
Philipp Kühn
e8232dd737 add basic enter command 2021-02-09 10:06:13 +01:00
Philipp Kühn
6bdeb4615c Publish
- @tiptap/core@2.0.0-alpha.16
 - @tiptap/extension-blockquote@2.0.0-alpha.10
 - @tiptap/extension-bold@2.0.0-alpha.10
 - @tiptap/extension-bullet-list@2.0.0-alpha.10
 - @tiptap/extension-character-count@2.0.0-alpha.10
 - @tiptap/extension-code-block@2.0.0-alpha.10
 - @tiptap/extension-code@2.0.0-alpha.10
 - @tiptap/extension-collaboration-cursor@2.0.0-alpha.10
 - @tiptap/extension-collaboration@2.0.0-alpha.10
 - @tiptap/extension-document@2.0.0-alpha.10
 - @tiptap/extension-dropcursor@2.0.0-alpha.10
 - @tiptap/extension-focus@2.0.0-alpha.10
 - @tiptap/extension-font-family@2.0.0-alpha.10
 - @tiptap/extension-gapcursor@2.0.0-alpha.10
 - @tiptap/extension-hard-break@2.0.0-alpha.10
 - @tiptap/extension-heading@2.0.0-alpha.10
 - @tiptap/extension-highlight@2.0.0-alpha.10
 - @tiptap/extension-history@2.0.0-alpha.10
 - @tiptap/extension-horizontal-rule@2.0.0-alpha.10
 - @tiptap/extension-image@2.0.0-alpha.10
 - @tiptap/extension-italic@2.0.0-alpha.10
 - @tiptap/extension-link@2.0.0-alpha.10
 - @tiptap/extension-list-item@2.0.0-alpha.10
 - @tiptap/extension-mention@2.0.0-alpha.6
 - @tiptap/extension-ordered-list@2.0.0-alpha.10
 - @tiptap/extension-paragraph@2.0.0-alpha.10
 - @tiptap/extension-strike@2.0.0-alpha.10
 - @tiptap/extension-table-cell@2.0.0-alpha.10
 - @tiptap/extension-table-header@2.0.0-alpha.10
 - @tiptap/extension-table-row@2.0.0-alpha.10
 - @tiptap/extension-table@2.0.0-alpha.10
 - @tiptap/extension-task-item@2.0.0-alpha.11
 - @tiptap/extension-task-list@2.0.0-alpha.10
 - @tiptap/extension-text-align@2.0.0-alpha.11
 - @tiptap/extension-text-style@2.0.0-alpha.10
 - @tiptap/extension-text@2.0.0-alpha.10
 - @tiptap/extension-typography@2.0.0-alpha.10
 - @tiptap/extension-underline@2.0.0-alpha.10
 - @tiptap/html@2.0.0-alpha.12
 - @tiptap/starter-kit@2.0.0-alpha.12
 - @tiptap/suggestion@2.0.0-alpha.6
 - @tiptap/vue-starter-kit@2.0.0-alpha.14
 - @tiptap/vue@2.0.0-alpha.11
2021-02-07 20:59:54 +01:00
Philipp Kühn
33773c01f3 add allow option to suggestion extension 2021-02-07 20:38:33 +01:00
Philipp Kühn
aef0acf53d fix bug in suggestion extension, fix #143 2021-02-07 20:00:13 +01:00
Philipp Kühn
6f4a241fa7 Publish
- @tiptap/core@2.0.0-alpha.15
 - @tiptap/extension-blockquote@2.0.0-alpha.9
 - @tiptap/extension-bold@2.0.0-alpha.9
 - @tiptap/extension-bullet-list@2.0.0-alpha.9
 - @tiptap/extension-character-count@2.0.0-alpha.9
 - @tiptap/extension-code-block@2.0.0-alpha.9
 - @tiptap/extension-code@2.0.0-alpha.9
 - @tiptap/extension-collaboration-cursor@2.0.0-alpha.9
 - @tiptap/extension-collaboration@2.0.0-alpha.9
 - @tiptap/extension-document@2.0.0-alpha.9
 - @tiptap/extension-dropcursor@2.0.0-alpha.9
 - @tiptap/extension-focus@2.0.0-alpha.9
 - @tiptap/extension-font-family@2.0.0-alpha.9
 - @tiptap/extension-gapcursor@2.0.0-alpha.9
 - @tiptap/extension-hard-break@2.0.0-alpha.9
 - @tiptap/extension-heading@2.0.0-alpha.9
 - @tiptap/extension-highlight@2.0.0-alpha.9
 - @tiptap/extension-history@2.0.0-alpha.9
 - @tiptap/extension-horizontal-rule@2.0.0-alpha.9
 - @tiptap/extension-image@2.0.0-alpha.9
 - @tiptap/extension-italic@2.0.0-alpha.9
 - @tiptap/extension-link@2.0.0-alpha.9
 - @tiptap/extension-list-item@2.0.0-alpha.9
 - @tiptap/extension-mention@2.0.0-alpha.5
 - @tiptap/extension-ordered-list@2.0.0-alpha.9
 - @tiptap/extension-paragraph@2.0.0-alpha.9
 - @tiptap/extension-strike@2.0.0-alpha.9
 - @tiptap/extension-table-cell@2.0.0-alpha.9
 - @tiptap/extension-table-header@2.0.0-alpha.9
 - @tiptap/extension-table-row@2.0.0-alpha.9
 - @tiptap/extension-table@2.0.0-alpha.9
 - @tiptap/extension-task-item@2.0.0-alpha.10
 - @tiptap/extension-task-list@2.0.0-alpha.9
 - @tiptap/extension-text-align@2.0.0-alpha.10
 - @tiptap/extension-text-style@2.0.0-alpha.9
 - @tiptap/extension-text@2.0.0-alpha.9
 - @tiptap/extension-typography@2.0.0-alpha.9
 - @tiptap/extension-underline@2.0.0-alpha.9
 - @tiptap/html@2.0.0-alpha.11
 - @tiptap/starter-kit@2.0.0-alpha.11
 - @tiptap/suggestion@2.0.0-alpha.5
 - @tiptap/vue-starter-kit@2.0.0-alpha.13
 - @tiptap/vue@2.0.0-alpha.10
2021-02-05 21:19:00 +01:00
Philipp Kühn
27e365485f update dependencies 2021-02-05 20:01:55 +01:00
Hans Pagel
820cd31e95 fix merge conflict 2021-02-05 18:15:59 +01:00
Hans Pagel
09d311cd42 Merge branch 'feature/improved-focus-extension' of github.com:ueberdosis/tiptap-next into feature/improved-focus-extension
# Conflicts:
#	packages/extension-focus/src/focus.ts
2021-02-05 18:15:49 +01:00
Hans Pagel
1c468b4542 refactoring 2021-02-05 18:13:51 +01:00
Hans Pagel
07b2ea94be refactoring 2021-02-05 17:55:10 +01:00
Hans Pagel
ac54fde69f refactoring 2021-02-05 17:55:10 +01:00
Hans Pagel
feecbded36 improve the focus extension, add starting point and levels 2021-02-05 17:55:10 +01:00
Hans Pagel
2959ace822 refactoring 2021-02-05 12:19:17 +01:00
Hans Pagel
68ea181979 refactoring 2021-02-05 12:12:16 +01:00
Hans Pagel
7c5cc61cec improve the focus extension, add starting point and levels 2021-02-05 12:03:17 +01:00
Philipp Kühn
74e01a8c23 Publish
- @tiptap/core@2.0.0-alpha.14
 - @tiptap/extension-blockquote@2.0.0-alpha.8
 - @tiptap/extension-bold@2.0.0-alpha.8
 - @tiptap/extension-bullet-list@2.0.0-alpha.8
 - @tiptap/extension-character-count@2.0.0-alpha.8
 - @tiptap/extension-code-block@2.0.0-alpha.8
 - @tiptap/extension-code@2.0.0-alpha.8
 - @tiptap/extension-collaboration-cursor@2.0.0-alpha.8
 - @tiptap/extension-collaboration@2.0.0-alpha.8
 - @tiptap/extension-document@2.0.0-alpha.8
 - @tiptap/extension-dropcursor@2.0.0-alpha.8
 - @tiptap/extension-focus@2.0.0-alpha.8
 - @tiptap/extension-font-family@2.0.0-alpha.8
 - @tiptap/extension-gapcursor@2.0.0-alpha.8
 - @tiptap/extension-hard-break@2.0.0-alpha.8
 - @tiptap/extension-heading@2.0.0-alpha.8
 - @tiptap/extension-highlight@2.0.0-alpha.8
 - @tiptap/extension-history@2.0.0-alpha.8
 - @tiptap/extension-horizontal-rule@2.0.0-alpha.8
 - @tiptap/extension-image@2.0.0-alpha.8
 - @tiptap/extension-italic@2.0.0-alpha.8
 - @tiptap/extension-link@2.0.0-alpha.8
 - @tiptap/extension-list-item@2.0.0-alpha.8
 - @tiptap/extension-mention@2.0.0-alpha.4
 - @tiptap/extension-ordered-list@2.0.0-alpha.8
 - @tiptap/extension-paragraph@2.0.0-alpha.8
 - @tiptap/extension-strike@2.0.0-alpha.8
 - @tiptap/extension-table-cell@2.0.0-alpha.8
 - @tiptap/extension-table-header@2.0.0-alpha.8
 - @tiptap/extension-table-row@2.0.0-alpha.8
 - @tiptap/extension-table@2.0.0-alpha.8
 - @tiptap/extension-task-item@2.0.0-alpha.9
 - @tiptap/extension-task-list@2.0.0-alpha.8
 - @tiptap/extension-text-align@2.0.0-alpha.9
 - @tiptap/extension-text-style@2.0.0-alpha.8
 - @tiptap/extension-text@2.0.0-alpha.8
 - @tiptap/extension-typography@2.0.0-alpha.8
 - @tiptap/extension-underline@2.0.0-alpha.8
 - @tiptap/html@2.0.0-alpha.10
 - @tiptap/starter-kit@2.0.0-alpha.10
 - @tiptap/suggestion@2.0.0-alpha.4
 - @tiptap/vue-starter-kit@2.0.0-alpha.12
 - @tiptap/vue@2.0.0-alpha.9
2021-01-29 23:01:36 +01:00
Philipp Kühn
352bd74a2a add isPlainObject method 2021-01-29 22:51:03 +01:00
Philipp Kühn
a73e6c8e46 fix nested tasklists, fix #123 2021-01-29 21:45:51 +01:00
Philipp Kühn
17c8c83651 Publish
- @tiptap/core@2.0.0-alpha.13
 - @tiptap/extension-blockquote@2.0.0-alpha.7
 - @tiptap/extension-bold@2.0.0-alpha.7
 - @tiptap/extension-bullet-list@2.0.0-alpha.7
 - @tiptap/extension-character-count@2.0.0-alpha.7
 - @tiptap/extension-code-block@2.0.0-alpha.7
 - @tiptap/extension-code@2.0.0-alpha.7
 - @tiptap/extension-collaboration-cursor@2.0.0-alpha.7
 - @tiptap/extension-collaboration@2.0.0-alpha.7
 - @tiptap/extension-document@2.0.0-alpha.7
 - @tiptap/extension-dropcursor@2.0.0-alpha.7
 - @tiptap/extension-focus@2.0.0-alpha.7
 - @tiptap/extension-font-family@2.0.0-alpha.7
 - @tiptap/extension-gapcursor@2.0.0-alpha.7
 - @tiptap/extension-hard-break@2.0.0-alpha.7
 - @tiptap/extension-heading@2.0.0-alpha.7
 - @tiptap/extension-highlight@2.0.0-alpha.7
 - @tiptap/extension-history@2.0.0-alpha.7
 - @tiptap/extension-horizontal-rule@2.0.0-alpha.7
 - @tiptap/extension-image@2.0.0-alpha.7
 - @tiptap/extension-italic@2.0.0-alpha.7
 - @tiptap/extension-link@2.0.0-alpha.7
 - @tiptap/extension-list-item@2.0.0-alpha.7
 - @tiptap/extension-mention@2.0.0-alpha.3
 - @tiptap/extension-ordered-list@2.0.0-alpha.7
 - @tiptap/extension-paragraph@2.0.0-alpha.7
 - @tiptap/extension-strike@2.0.0-alpha.7
 - @tiptap/extension-table-cell@2.0.0-alpha.7
 - @tiptap/extension-table-header@2.0.0-alpha.7
 - @tiptap/extension-table-row@2.0.0-alpha.7
 - @tiptap/extension-table@2.0.0-alpha.7
 - @tiptap/extension-task-item@2.0.0-alpha.8
 - @tiptap/extension-task-list@2.0.0-alpha.7
 - @tiptap/extension-text-align@2.0.0-alpha.8
 - @tiptap/extension-text-style@2.0.0-alpha.7
 - @tiptap/extension-text@2.0.0-alpha.7
 - @tiptap/extension-typography@2.0.0-alpha.7
 - @tiptap/extension-underline@2.0.0-alpha.7
 - @tiptap/html@2.0.0-alpha.9
 - @tiptap/starter-kit@2.0.0-alpha.9
 - @tiptap/suggestion@2.0.0-alpha.3
 - @tiptap/vue-starter-kit@2.0.0-alpha.11
 - @tiptap/vue@2.0.0-alpha.8
2021-01-29 09:58:57 +01:00
Philipp Kühn
90c6f77063 Merge branch 'main' into feature/plugin-order 2021-01-29 09:36:00 +01:00
Philipp Kühn
c2cb0e8752 rename 2021-01-29 09:34:53 +01:00
Philipp Kühn
97eb9c411c add getSplittedAttributes helper 2021-01-29 09:33:42 +01:00
Philipp Kühn
72ff2d212e improve clearNodes command 2021-01-29 08:56:52 +01:00
Philipp Kühn
4b4ec7d766 refactoring 2021-01-29 00:27:58 +01:00
Philipp Kühn
f71a51cbb0 fix bug 2021-01-29 00:24:31 +01:00
Philipp Kühn
89deb4c615 refactoring 2021-01-29 00:08:01 +01:00
Philipp Kühn
3039871767 add keepOnSplit option to splitListItem 2021-01-28 23:51:20 +01:00
Philipp Kühn
ee7daa3f43 add keepOnSplit option to attributes 2021-01-28 19:56:35 +01:00
Philipp Kühn
07cfc99502 improve plugin order 2021-01-28 17:39:57 +01:00
Hans Pagel
cde0d8690a Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2021-01-28 11:58:21 +01:00
Hans Pagel
62f42a229f [BREAKING CHANGE] change the default document type to doc 2021-01-28 11:58:10 +01:00
Philipp Kühn
6a5dde0101 refactoring 2021-01-28 09:57:20 +01:00
Philipp Kühn
4407d9a3d1 improve types 2021-01-28 09:50:17 +01:00
Philipp Kühn
a9c14fbddd Publish
- @tiptap/core@2.0.0-alpha.12
 - @tiptap/extension-mention@2.0.0-alpha.2
 - @tiptap/html@2.0.0-alpha.8
 - @tiptap/suggestion@2.0.0-alpha.2
2021-01-28 09:12:38 +01:00
Philipp Kühn
bc55aa44e7 add type 2021-01-28 09:11:24 +01:00
Philipp Kühn
6ed7ce8089 add some return types 2021-01-28 09:04:55 +01:00
Philipp Kühn
bca182a9d9 Publish
- @tiptap/core@2.0.0-alpha.11
 - @tiptap/extension-blockquote@2.0.0-alpha.6
 - @tiptap/extension-bold@2.0.0-alpha.6
 - @tiptap/extension-bullet-list@2.0.0-alpha.6
 - @tiptap/extension-character-count@2.0.0-alpha.6
 - @tiptap/extension-code-block@2.0.0-alpha.6
 - @tiptap/extension-code@2.0.0-alpha.6
 - @tiptap/extension-collaboration-cursor@2.0.0-alpha.6
 - @tiptap/extension-collaboration@2.0.0-alpha.6
 - @tiptap/extension-document@2.0.0-alpha.6
 - @tiptap/extension-dropcursor@2.0.0-alpha.6
 - @tiptap/extension-focus@2.0.0-alpha.6
 - @tiptap/extension-font-family@2.0.0-alpha.6
 - @tiptap/extension-gapcursor@2.0.0-alpha.6
 - @tiptap/extension-hard-break@2.0.0-alpha.6
 - @tiptap/extension-heading@2.0.0-alpha.6
 - @tiptap/extension-highlight@2.0.0-alpha.6
 - @tiptap/extension-history@2.0.0-alpha.6
 - @tiptap/extension-horizontal-rule@2.0.0-alpha.6
 - @tiptap/extension-image@2.0.0-alpha.6
 - @tiptap/extension-italic@2.0.0-alpha.6
 - @tiptap/extension-link@2.0.0-alpha.6
 - @tiptap/extension-list-item@2.0.0-alpha.6
 - @tiptap/extension-mention@2.0.0-alpha.1
 - @tiptap/extension-ordered-list@2.0.0-alpha.6
 - @tiptap/extension-paragraph@2.0.0-alpha.6
 - @tiptap/extension-strike@2.0.0-alpha.6
 - @tiptap/extension-table-cell@2.0.0-alpha.6
 - @tiptap/extension-table-header@2.0.0-alpha.6
 - @tiptap/extension-table-row@2.0.0-alpha.6
 - @tiptap/extension-table@2.0.0-alpha.6
 - @tiptap/extension-task-item@2.0.0-alpha.7
 - @tiptap/extension-task-list@2.0.0-alpha.6
 - @tiptap/extension-text-align@2.0.0-alpha.7
 - @tiptap/extension-text-style@2.0.0-alpha.6
 - @tiptap/extension-text@2.0.0-alpha.6
 - @tiptap/extension-typography@2.0.0-alpha.6
 - @tiptap/extension-underline@2.0.0-alpha.6
 - @tiptap/html@2.0.0-alpha.7
 - @tiptap/starter-kit@2.0.0-alpha.8
 - @tiptap/suggestion@2.0.0-alpha.1
 - @tiptap/vue-starter-kit@2.0.0-alpha.10
 - @tiptap/vue@2.0.0-alpha.7
2021-01-28 08:49:48 +01:00
Hans Pagel
06b6fc25d4 add getCharacterCount method to the editor 2021-01-27 11:40:49 +01:00
Hans Pagel
6a21048cca testing insertTable command 2021-01-26 18:18:45 +01:00
Hans Pagel
26fb84fe27 add the character count extension 2021-01-25 23:40:15 +01:00
Philipp Kühn
d13210820d remove prosemirror-utils 2021-01-25 13:39:35 +01:00
Hans Pagel
126894d9d1 docs: add content to table pages 2021-01-25 12:04:08 +01:00
Philipp Kühn
2156891823 add deleteTableWhenAllCellsSelected 2021-01-24 23:28:51 +01:00
Philipp Kühn
a24409b05b Merge branch 'main' into feature/tables 2021-01-24 20:56:21 +01:00
Philipp Kühn
20f8adc0e4 change plugin order 2021-01-24 20:56:07 +01:00
Philipp Kühn
56417a44a7 refactoring 2021-01-23 22:48:34 +01:00
Philipp Kühn
71376f6de7 fix fixTables 2021-01-23 22:26:35 +01:00
Philipp Kühn
3f30b69f37 improve types 2021-01-23 20:59:19 +01:00
Philipp Kühn
1fc50705c6 improve types 2021-01-23 13:11:22 +01:00
Philipp Kühn
1e6f19667e refactoring 2021-01-23 00:32:43 +01:00
Philipp Kühn
84cb526315 fix focus class 2021-01-23 00:14:19 +01:00
Philipp Kühn
2525b380e7 Merge branch 'feature/tables' of https://github.com/ueberdosis/tiptap-next into feature/tables 2021-01-22 23:56:38 +01:00
Philipp Kühn
605ead820f fix focus for tables 2021-01-22 23:56:33 +01:00
Hans Pagel
790524d5cb clean up 2021-01-22 23:52:43 +01:00
Hans Pagel
64ba3fd212 refactor table options 2021-01-22 23:45:50 +01:00
Hans Pagel
aef9d1ca41 change table extension names to lowerCamelCase 2021-01-22 23:33:08 +01:00
Hans Pagel
719eda2e5b code style 2021-01-22 23:28:27 +01:00
Hans Pagel
60305c10f6 fix setCellAttributes, fix linting errors in the TableView 2021-01-22 23:25:13 +01:00
Hans Pagel
bcf441ea8a add cell navigation and keyboard shortcuts 2021-01-22 23:00:43 +01:00
Hans Pagel
d1bbc8f24d add createTable 2021-01-22 22:37:43 +01:00
Hans Pagel
d3fcbc91c3 add table default styling, add options to table plugins 2021-01-22 21:51:36 +01:00
Hans Pagel
0a1d8eaf9a add table editing plugin and allow table to be resizeable 2021-01-22 20:01:01 +01:00
Hans Pagel
05487ea82f add table headers 2021-01-22 20:01:01 +01:00
Hans Pagel
c4f35911a0 add attributes to table cells 2021-01-22 20:01:01 +01:00
Hans Pagel
3a511c4276 clean up 2021-01-22 20:01:01 +01:00
Hans Pagel
fde2b1572d add table commands, add tableRole to the schema, add buttons to the example 2021-01-22 20:01:01 +01:00
Hans Pagel
cfe0898fdd add schema 2021-01-22 20:01:01 +01:00
Hans Pagel
6a1661cf9f init table, table-row and table-cell 2021-01-22 20:01:01 +01:00
Philipp Kühn
a62f2e0429 use VueRenderer in VueNodeView 2021-01-22 08:53:55 +01:00
Philipp Kühn
319eb83303 rename suggestion command argument 2021-01-21 12:28:58 +01:00
Philipp Kühn
a2d5eef6b2 add commands experiment 2021-01-21 12:13:20 +01:00
Philipp Kühn
001e5b7579 update dependencies 2021-01-21 09:45:28 +01:00
Philipp Kühn
55d767d94c add replaceRange command 2021-01-20 20:37:53 +01:00
Philipp Kühn
1880b43e37 add backspace handler to mentions 2021-01-20 20:17:17 +01:00
Hans Pagel
bf9199184c Merge branch 'main' of github.com:ueberdosis/tiptap-next into main
# Conflicts:
#	docs/src/demos/Nodes/Mention/index.vue
#	packages/core/src/utilities/isClass.ts
#	packages/core/src/utilities/isObject.ts
2021-01-20 16:58:32 +01:00
Hans Pagel
271f77f6f4 docs: update content 2021-01-20 16:56:25 +01:00
Philipp Kühn
11d365f524 refactoring 2021-01-20 16:52:56 +01:00
Philipp Kühn
4004ec0ad5 refactoring 2021-01-20 16:39:42 +01:00
Hans Pagel
0fc15f46a1 refactor: move isClass to separate function and use in isObject 2021-01-20 15:30:23 +01:00
Hans Pagel
dba0c1ac15 fix: don’t merge classes 2021-01-20 15:10:30 +01:00
Philipp Kühn
faa8842698 fix tippy position 2021-01-20 11:32:58 +01:00
Philipp Kühn
8f95eb6aed add decorationTag and decorationClass option 2021-01-20 10:47:31 +01:00
Philipp Kühn
ba0d379101 add editor to suggestion command props 2021-01-20 09:23:44 +01:00
Philipp Kühn
1c424f4db1 add deep merge 2021-01-20 09:18:49 +01:00
Philipp Kühn
81db30e7d2 refactoring 2021-01-19 22:29:46 +01:00
Philipp Kühn
7a9b1f5c46 refactoring 2021-01-19 20:45:18 +01:00
Philipp Kühn
4256de7cde refactoring 2021-01-19 20:42:15 +01:00
Philipp Kühn
563f37d74b fix copying mentions as plain text 2021-01-19 20:27:51 +01:00
Philipp Kühn
7e88257a45 refactoring 2021-01-19 12:50:09 +01:00
Philipp Kühn
6b517a47ef refactoring 2021-01-19 12:28:33 +01:00
Philipp Kühn
7712325ba9 fix mention rendering 2021-01-19 12:03:38 +01:00
Philipp Kühn
c13d65c842 refactoring 2021-01-19 10:09:32 +01:00
Philipp Kühn
aaa0832883 refactoring 2021-01-18 23:41:38 +01:00
Philipp Kühn
dd3a2ce490 improve styling 2021-01-18 16:54:02 +01:00
Philipp Kühn
7adc8b24a0 add basic keyboard navigation 2021-01-18 16:45:49 +01:00
Philipp Kühn
f278ccc916 refactoring 2021-01-18 15:34:54 +01:00
Philipp Kühn
9651958ac4 refactoring 2021-01-18 13:06:56 +01:00
Philipp Kühn
f96dff1f0f add tippy 2021-01-18 12:40:13 +01:00
Philipp Kühn
06b88977fc rename VueRenderer to VueNodeViewRenderer 2021-01-18 12:40:05 +01:00
Philipp Kühn
9f0ae94201 refactoring 2021-01-15 15:58:39 +01:00
Philipp Kühn
decabc09c6 refactoring 2021-01-15 14:49:28 +01:00
Philipp Kühn
3d28386e11 maybe improve text match 2021-01-15 09:55:15 +01:00
Philipp Kühn
a5d28a0184 refactoring 2021-01-15 09:25:50 +01:00
Philipp Kühn
83b3de8711 Merge branch 'main' into feature/suggestions 2021-01-14 20:01:56 +01:00
Hans Pagel
f44c9773bf remove unused dependency from the starter kit, fix #93 2021-01-13 14:46:06 +01:00
Philipp Kühn
2608294d04 fix bug 2021-01-13 10:17:47 +01:00
Philipp Kühn
21b2d422fb fix nodeview type, fix #92 2021-01-13 09:09:56 +01:00
Hans Pagel
ecd0a6669a add support for raw Y.js fragments to the collaboration extension 2021-01-11 18:37:30 +01:00
Hans Pagel
b6e57d8a6a add a comment 2021-01-11 14:43:41 +01:00
Hans Pagel
e4801b0cfa allow to pass a fragment name to the collaboration extension 2021-01-11 14:42:12 +01:00
Hans Pagel
3496718654 make less assumptions about the Y.js provider, fix #70 2021-01-08 18:02:06 +01:00
Philipp Kühn
f061777111 Publish
- @tiptap/core@2.0.0-alpha.10
 - @tiptap/extension-text-align@2.0.0-alpha.6
 - @tiptap/html@2.0.0-alpha.6
 - @tiptap/vue-starter-kit@2.0.0-alpha.9
 - @tiptap/vue@2.0.0-alpha.6
2021-01-06 13:46:52 +01:00
Philipp Kühn
43dc14b9fc improve textAlign behavior within lists, see #72 2021-01-06 13:33:11 +01:00
Philipp Kühn
5e29cc1481 add more core commands 2021-01-06 13:02:30 +01:00
Philipp Kühn
ed3a34d5d7 fix reactive contenteditable for node views, fix #63 2021-01-04 14:57:24 +01:00
Philipp Kühn
ed4396da23 add extension check 2020-12-21 17:43:29 +01:00
Philipp Kühn
c13aa59492 update dependencies 2020-12-21 17:28:04 +01:00
Philipp Kühn
095db5c59e Merge branch 'main' into feature/suggestions 2020-12-18 23:07:29 +01:00
Philipp Kühn
d3d6b3d6ea Publish
- @tiptap/core@2.0.0-alpha.9
 - @tiptap/html@2.0.0-alpha.5
 - @tiptap/starter-kit@2.0.0-alpha.7
 - @tiptap/vue-starter-kit@2.0.0-alpha.8
2020-12-18 23:04:50 +01:00
Philipp Kühn
693866bacb fix optional starter kit options 2020-12-18 22:54:15 +01:00
Philipp Kühn
0371cb0a5d Publish
- @tiptap/core@2.0.0-alpha.8
 - @tiptap/extension-blockquote@2.0.0-alpha.5
 - @tiptap/extension-bold@2.0.0-alpha.5
 - @tiptap/extension-bullet-list@2.0.0-alpha.5
 - @tiptap/extension-code-block@2.0.0-alpha.5
 - @tiptap/extension-code@2.0.0-alpha.5
 - @tiptap/extension-collaboration-cursor@2.0.0-alpha.5
 - @tiptap/extension-collaboration@2.0.0-alpha.5
 - @tiptap/extension-document@2.0.0-alpha.5
 - @tiptap/extension-dropcursor@2.0.0-alpha.5
 - @tiptap/extension-focus@2.0.0-alpha.5
 - @tiptap/extension-font-family@2.0.0-alpha.5
 - @tiptap/extension-gapcursor@2.0.0-alpha.5
 - @tiptap/extension-hard-break@2.0.0-alpha.5
 - @tiptap/extension-heading@2.0.0-alpha.5
 - @tiptap/extension-highlight@2.0.0-alpha.5
 - @tiptap/extension-history@2.0.0-alpha.5
 - @tiptap/extension-horizontal-rule@2.0.0-alpha.5
 - @tiptap/extension-image@2.0.0-alpha.5
 - @tiptap/extension-italic@2.0.0-alpha.5
 - @tiptap/extension-link@2.0.0-alpha.5
 - @tiptap/extension-list-item@2.0.0-alpha.5
 - @tiptap/extension-ordered-list@2.0.0-alpha.5
 - @tiptap/extension-paragraph@2.0.0-alpha.5
 - @tiptap/extension-strike@2.0.0-alpha.5
 - @tiptap/extension-task-item@2.0.0-alpha.6
 - @tiptap/extension-task-list@2.0.0-alpha.5
 - @tiptap/extension-text-align@2.0.0-alpha.5
 - @tiptap/extension-text-style@2.0.0-alpha.5
 - @tiptap/extension-text@2.0.0-alpha.5
 - @tiptap/extension-typography@2.0.0-alpha.5
 - @tiptap/extension-underline@2.0.0-alpha.5
 - @tiptap/html@2.0.0-alpha.4
 - @tiptap/starter-kit@2.0.0-alpha.6
 - @tiptap/vue-starter-kit@2.0.0-alpha.7
 - @tiptap/vue@2.0.0-alpha.5
2020-12-18 15:49:27 +01:00
Philipp Kühn
5a9b96aaf0 add basic mention extension 2020-12-17 17:13:35 +01:00
Philipp Kühn
c3d0f004d6 add basic suggestions package 2020-12-16 17:47:17 +01:00
Philipp Kühn
df0b2ef36a update dependencies 2020-12-16 17:10:47 +01:00
Philipp Kühn
5656a246d5 refactoring 2020-12-14 12:17:26 +01:00
Philipp Kühn
aef4bd88fc set parent component for vue node views 2020-12-14 12:05:46 +01:00
Philipp Kühn
5bce6db292 improve isEmpty 2020-12-08 21:15:17 +01:00
Philipp Kühn
d6e1838f99 fix y.js bug 2020-12-08 18:08:39 +01:00
Florian Wiech
4142637921
refactor: recreate extension exports 2020-12-07 21:32:50 +01:00
Florian Wiech
11de3a287f
refactor: restructure extensions 2020-12-07 21:09:02 +01:00
Hans Pagel
037658e701 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-12-04 13:27:02 +01:00
Hans Pagel
da404c3945 update y-websocket to fix the awareness states issue 2020-12-04 13:26:50 +01:00
Philipp Kühn
81af92a85c add multicolor option to highlight 2020-12-03 23:32:11 +01:00
Philipp Kühn
49dc46c445 change list item content 2020-12-03 15:11:47 +01:00
Philipp Kühn
cf47ceb4c6 Publish
- @tiptap/extension-task-item@2.0.0-alpha.5
2020-12-02 18:18:57 +01:00
Philipp Kühn
127d9f29ac fix a bug for task item 2020-12-02 18:13:16 +01:00
Philipp Kühn
a884cb81de Publish
- @tiptap/core@2.0.0-alpha.7
 - @tiptap/extension-blockquote@2.0.0-alpha.4
 - @tiptap/extension-bold@2.0.0-alpha.4
 - @tiptap/extension-bullet-list@2.0.0-alpha.4
 - @tiptap/extension-code-block@2.0.0-alpha.4
 - @tiptap/extension-code@2.0.0-alpha.4
 - @tiptap/extension-collaboration-cursor@2.0.0-alpha.4
 - @tiptap/extension-collaboration@2.0.0-alpha.4
 - @tiptap/extension-document@2.0.0-alpha.4
 - @tiptap/extension-dropcursor@2.0.0-alpha.4
 - @tiptap/extension-focus@2.0.0-alpha.4
 - @tiptap/extension-font-family@2.0.0-alpha.4
 - @tiptap/extension-gapcursor@2.0.0-alpha.4
 - @tiptap/extension-hard-break@2.0.0-alpha.4
 - @tiptap/extension-heading@2.0.0-alpha.4
 - @tiptap/extension-highlight@2.0.0-alpha.4
 - @tiptap/extension-history@2.0.0-alpha.4
 - @tiptap/extension-horizontal-rule@2.0.0-alpha.4
 - @tiptap/extension-image@2.0.0-alpha.4
 - @tiptap/extension-italic@2.0.0-alpha.4
 - @tiptap/extension-link@2.0.0-alpha.4
 - @tiptap/extension-list-item@2.0.0-alpha.4
 - @tiptap/extension-ordered-list@2.0.0-alpha.4
 - @tiptap/extension-paragraph@2.0.0-alpha.4
 - @tiptap/extension-strike@2.0.0-alpha.4
 - @tiptap/extension-task-item@2.0.0-alpha.4
 - @tiptap/extension-task-list@2.0.0-alpha.4
 - @tiptap/extension-text-align@2.0.0-alpha.4
 - @tiptap/extension-text-style@2.0.0-alpha.4
 - @tiptap/extension-text@2.0.0-alpha.4
 - @tiptap/extension-typography@2.0.0-alpha.4
 - @tiptap/extension-underline@2.0.0-alpha.4
 - @tiptap/html@2.0.0-alpha.3
 - @tiptap/starter-kit@2.0.0-alpha.5
 - @tiptap/vue-starter-kit@2.0.0-alpha.6
 - @tiptap/vue@2.0.0-alpha.4
2020-12-02 17:08:17 +01:00
Philipp Kühn
4d9e3f7622 fix lists 2020-12-02 16:29:17 +01:00
Hans Pagel
ac820de528 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-12-02 15:35:52 +01:00
Hans Pagel
12d994275c fix: retrieve awareness states after reconnect 2020-12-02 15:35:33 +01:00
Philipp Kühn
ae3e36e2ce improve isMarkActive 2020-12-02 14:39:25 +01:00
Philipp Kühn
cd46e5ebd2 fix tests 2020-12-02 12:05:35 +01:00
Philipp Kühn
88f89df479 extension name is required now 2020-12-02 09:44:46 +01:00
Philipp Kühn
143b309bdf add collab commands 2020-12-02 09:28:55 +01:00
Philipp Kühn
5b794c9137 improve isActive 2020-12-02 08:55:34 +01:00
Philipp Kühn
532eaa4e86 fix chain again 2020-12-01 23:32:39 +01:00
Philipp Kühn
30d5ab5f39 dont add focus and blur transactions to history 2020-12-01 21:58:29 +01:00
Philipp Kühn
5ae9d8cca4 fix history for collab demo 2020-12-01 14:55:11 +01:00
Philipp Kühn
d8322d2e2e fix chained commands 2020-12-01 14:44:53 +01:00
Philipp Kühn
1495573d6b fix bug 2020-12-01 13:08:11 +01:00
Philipp Kühn
96920e5c14 fix togglemark 2020-12-01 12:45:30 +01:00
Philipp Kühn
fe9f74ebdf refactoring 2020-12-01 09:20:25 +01:00
Philipp Kühn
bc39e922ca export some helpers 2020-12-01 09:16:46 +01:00
Philipp Kühn
f556f00518 refactoring 2020-12-01 09:11:58 +01:00
Philipp Kühn
81c0d02f5d Merge branch 'feature/invert-isactive' into main 2020-12-01 09:00:45 +01:00
Philipp Kühn
f6b8c92e5b fix markinputrule 2020-11-30 23:41:46 +01:00
Philipp Kühn
6f8632f643 fix toggleMark 2020-11-30 21:31:57 +01:00
Philipp Kühn
3afe5af21e invert nodeIsActive 2020-11-30 21:10:13 +01:00
Philipp Kühn
bdc5998bb1 invert markIsActive 2020-11-30 20:53:02 +01:00
Philipp Kühn
c0911c315c improve isActive for marks 2020-11-30 15:40:16 +01:00
Hans Pagel
f1f974b13a Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-11-30 14:14:06 +01:00
Hans Pagel
af708c4fb7 Merge branch 'main' of github.com:ueberdosis/tiptap-next into main
# Conflicts:
#	docs/src/demos/Examples/CollaborativeEditing/index.vue
2020-11-30 14:13:54 +01:00
Philipp Kühn
f6206b3df5 add all events to extensions 2020-11-30 14:12:36 +01:00
Hans Pagel
442eba8c96 refactor collaboration example 2020-11-30 14:12:19 +01:00
Philipp Kühn
1ceb54bc19 rename init to create 2020-11-30 13:56:42 +01:00
Philipp Kühn
6c39aea432 add destroy event 2020-11-30 13:50:06 +01:00
Hans Pagel
6f3517a5cf Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2020-11-30 13:35:57 +01:00
Hans Pagel
e2c5720a0d refactor the collaboration extensions 2020-11-30 13:35:49 +01:00