Commit Graph

4330 Commits

Author SHA1 Message Date
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
75c8e4d05f update yarn.lock 2021-04-16 00:13:54 +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
Hans Pagel
680ce9b7aa docs: update content 2021-04-15 19:50:42 +02:00
Hans Pagel
ef6bf3616e docs: add a word break experiment 2021-04-15 19:34:05 +02:00
Hans Pagel
f05e237346 docs: update content 2021-04-15 19:33:51 +02:00
Philipp Kühn
d194b90a61 wip: save hierachy within extension classes 2021-04-15 14:40:28 +02:00
Hans Pagel
2185554226 update redirects 2021-04-15 09:15:18 +02:00
Hans Pagel
605bc4b7fa Merge branch 'main' of github.com:ueberdosis/tiptap-next into main 2021-04-15 09:14:44 +02:00
Hans Pagel
0bb6106c55 update README.md 2021-04-15 09:14:31 +02:00
Andrew Scott
2466d3398f
Fix sending of emptystring class for Prosemirror decoration (#1004)
Prosemirror does not handle emptystring classes well for decorations when the decoration applies to a range that has other decorations. For example, both a spellchecking plugin and the tiptap highlighting plugin.

Furthermore, there is no reason to emit empty decorations, so this change resolves that issue as well.
2021-04-14 21:42:58 +02:00
Hans Pagel
ab9888fcc4
Update README.md 2021-04-14 21:22:42 +02:00
Hans Pagel
a71a084200 update README.md 2021-04-14 21:21:12 +02:00
Hans Pagel
a2dbaa7781 update README.md 2021-04-14 21:17:38 +02:00
Hans Pagel
2a9feecd4f
Update README.md 2021-04-14 20:34:33 +02:00
Hans Pagel
0e8de02bdd
Update README.md 2021-04-14 20:33:40 +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
b076405c32 update eslint config 2021-04-14 10:04:30 +02:00
Philipp Kühn
3fe70ee125 Merge branch 'main' of https://github.com/ueberdosis/tiptap-next 2021-04-14 10:01:13 +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
philippkuehn
1e9c322b7c ci: fix code style linting errors 2021-04-14 07:54:30 +00: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
8090bc63c1 fix tests 2021-04-11 21:59:06 +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
703afe91c0 add test 2021-04-11 18:34:38 +02:00
Philipp Kühn
ec61a37558 Merge branch 'issue/remove-code-block-with-backspace-after-blank-lines' of https://github.com/ueberdosis/tiptap-next 2021-04-11 18:29:26 +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