Commit Graph

5466 Commits

Author SHA1 Message Date
Philipp Kühn
aa25d362f9 refactoring 2021-09-27 23:03:23 +02:00
Hans Pagel
c2b1231f35
New example for custom documents (to force a heading on the top) (#1948)
* examples: add a custom document example, with a heading on top

* add link to the new example

* fix example page
2021-09-27 23:02:13 +02:00
Hans Pagel
6a4bd8c3b5 Merge branch 'main' of github.com:ueberdosis/tiptap 2021-09-27 22:34:23 +02:00
Hans Pagel
f37316f688 docs: update content 2021-09-27 22:34:06 +02:00
Philipp Kühn
c85df80126 demos: move to module only 2021-09-23 22:25:54 +02:00
Philipp Kühn
724b90d8d6 Publish
- @tiptap/vue-3@2.0.0-beta.63
2021-09-23 09:53:44 +02:00
Philipp Kühn
19840f3b25 fix: add support for scoped styles, fix #1931 2021-09-23 09:53:11 +02:00
Philipp Kühn
ec619a0f96 Publish
- @tiptap/core@2.0.0-beta.112
 - @tiptap/extension-hard-break@2.0.0-beta.17
 - @tiptap/html@2.0.0-beta.111
 - @tiptap/react@2.0.0-beta.72
 - @tiptap/starter-kit@2.0.0-beta.111
2021-09-23 09:42:22 +02:00
Philipp Kühn
377bbb177d feat: setHardBreak now keeps splittable marks by default, fix #1934 2021-09-23 09:34:47 +02:00
Philipp Kühn
6c8ff4dc67 docs: remove hint to reduce isActive checks since we don’t need that anymore 2021-09-23 08:40:15 +02:00
Philipp Kühn
1b71080a11 dependencies: update 2021-09-22 22:56:54 +02:00
Philipp Kühn
e5c765c8e4 refactoring 2021-09-22 22:45:27 +02:00
Philipp Kühn
f4e3b07672 Merge branch 'main' into feature/add-moby-dick 2021-09-22 21:50:50 +02:00
Philipp Kühn
c91b2f29be refactoring 2021-09-22 21:14:07 +02:00
Philipp Kühn
fd88f66b1c demos: update book example 2021-09-22 20:52:05 +02:00
Philipp Kühn
5cb3972983 add moby dick 2021-09-22 20:43:10 +02:00
Philipp Kühn
f096209a77 Publish
- @tiptap/core@2.0.0-beta.111
 - @tiptap/extension-bubble-menu@2.0.0-beta.35
 - @tiptap/extension-floating-menu@2.0.0-beta.29
 - @tiptap/html@2.0.0-beta.110
 - @tiptap/react@2.0.0-beta.71
 - @tiptap/starter-kit@2.0.0-beta.110
 - @tiptap/vue-2@2.0.0-beta.53
 - @tiptap/vue-3@2.0.0-beta.62
2021-09-22 19:48:15 +02:00
Philipp Kühn
fcca1e6f4d fix: improve performance for isActive method, see #1930 2021-09-22 19:43:55 +02:00
Markus Machatschek
6fa886273f Fix 'Edit on Github' link url in docs 2021-09-22 16:18:55 +02:00
Kane Cohen
33420f4ae0
fix: Fix "destory" method in view plugins. (#1882) 2021-09-22 13:28:52 +02:00
philippkuehn
39e1be59bb ci: fix code style linting errors 2021-09-22 11:00:24 +00:00
Nokola
8ee0d67b83
fix: nodeInputRule() support for group match (#1574)
* Fix: nodeInputRule() support for group match

Fixes in nodeInputRule()
- add support for "first group match, if any" similar to https://prosemirror.net/docs/ref/#inputrules
- fix issue where rewriting includes extra unnecessary character from the match

* Insert last typed in nodeInputRule group match
2021-09-22 12:59:25 +02:00
Jake Dolan
ce6de2bba4 Update upgrade-guide.md
The commands toggleHardBreak(), toggleHorizontalRule(), toggleParagraph() do not exist. 

Updating the documentation to reflect the existing commands setHardBreak(), setHorizontalRule(), setParagraph().
2021-09-22 11:55:55 +02:00
Philipp Kühn
7c57d97cde Publish
- @tiptap/core@2.0.0-beta.110
 - @tiptap/html@2.0.0-beta.109
 - @tiptap/starter-kit@2.0.0-beta.109
2021-09-22 00:06:36 +02:00
Philipp Kühn
5773b2f99c Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-09-22 00:03:43 +02:00
Philipp Kühn
bad16d9f3a fix: call selectAll on 'cmd+a', set a TextSelection instead of AllSelection, fix #1908 2021-09-22 00:03:32 +02:00
Hans Pagel
c9b099bc78 Merge branch 'main' of github.com:ueberdosis/tiptap 2021-09-22 00:02:44 +02:00
Hans Pagel
edf724c450 docs: remove impressum & privacy policy 2021-09-22 00:02:13 +02:00
Philipp Kühn
31b269dd5a demos: fix rendering bug for task items, fix #1531 2021-09-21 23:43:49 +02:00
Philipp Kühn
6e205d3dbe demos: fix rendering of taskItem 2021-09-21 23:22:21 +02:00
Philipp Kühn
41dddb0fcd Publish
- @tiptap/core@2.0.0-beta.109
 - @tiptap/extension-gapcursor@2.0.0-beta.20
 - @tiptap/extension-highlight@2.0.0-beta.17
 - @tiptap/html@2.0.0-beta.108
 - @tiptap/react@2.0.0-beta.70
 - @tiptap/starter-kit@2.0.0-beta.108
2021-09-21 20:33:19 +02:00
Philipp Kühn
1faa2fc386 dependencies: update 2021-09-21 20:30:23 +02:00
Philipp Kühn
f90992edc4 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-09-21 20:21:42 +02:00
Philipp Kühn
0255dbdfcd refactoring 2021-09-21 20:21:36 +02:00
Flávio Carvalho
4178281a74 feat: add enableCoreExtensions flag (#1923) 2021-09-21 20:21:36 +02:00
Philipp Kühn
532e7003ce refactoring 2021-09-21 20:21:12 +02:00
Flávio Carvalho
2785278e83
Add enableCoreExtensions flag (#1923) 2021-09-21 19:20:38 +02:00
Hans Pagel
5cb63406a8 docs: update content 2021-09-21 17:43:58 +02:00
domnantas
d434f3865a docs: Add link to editor props section 2021-09-21 17:41:21 +02:00
domnantas
8a9178c1ad docs: Simplify Editor props description 2021-09-21 17:41:21 +02:00
domnantas
27f8986866 docs: Clear up Prosemirror EditorProps usage 2021-09-21 17:41:21 +02:00
Jan Vissers
047ef8c8c9
fix: Use pasteRegex in addPasteRules (#1922)
Seems like inputRegex was used in addPasteRules by mistake (?)
2021-09-21 17:27:26 +02:00
Philipp Kühn
e7a6c1f303 Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.39
2021-09-21 09:30:35 +02:00
Enrique Alcántara
54be0e570e
fix: Allow extending code-block-lowlight (#1917)
Use the extension name when initializing the
LowlightPlugin. In this way, several extensions
can make use of the same plugin

Co-authored-by: Enrique Alcantara <ealcantara@gitlab.com>
2021-09-21 09:26:11 +02:00
Philipp Kühn
071acd643b Publish
- @tiptap/vue-3@2.0.0-beta.61
2021-09-20 23:59:38 +02:00
Philipp Kühn
60e7755b7f fix: fix expose error when using new setup syntax (fix #1914) 2021-09-20 23:57:48 +02:00
Philipp Kühn
067d61c5dd Publish
- @tiptap/core@2.0.0-beta.108
 - @tiptap/extension-mention@2.0.0-beta.74
 - @tiptap/html@2.0.0-beta.107
 - @tiptap/react@2.0.0-beta.69
 - @tiptap/starter-kit@2.0.0-beta.107
 - @tiptap/suggestion@2.0.0-beta.71
2021-09-20 11:23:21 +02:00
Ruben Robles
4a6c3cbaac
fix: Add type for async items on suggestions (fix TS strict types complaining) (#1912) 2021-09-20 11:02:40 +02:00
Philipp Kühn
cc586ce036 demos: fix parsing url query 2021-09-20 10:05:13 +02:00
Philipp Kühn
a0e5eac9cc fix typo 2021-09-20 09:44:38 +02:00