Commit Graph

5066 Commits

Author SHA1 Message Date
Philipp Kühn
3d68981b47
feat: Add support for autolink (#2226)
* wip

* WIP

* add autolink implementation

* refactoring

* set keepOnSplit to false

* refactoring

* improve changed ranges detection

* move some helpers into core

Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-03 08:53:58 +01:00
Philipp Kühn
40a9404c94 add newline-after-var rule to eslint config 2021-12-03 00:03:39 +01:00
Philipp Kühn
6360278660 Publish
- @tiptap/core@2.0.0-beta.146
 - @tiptap/extension-bubble-menu@2.0.0-beta.51
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.59
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.32
 - @tiptap/extension-collaboration@2.0.0-beta.32
 - @tiptap/extension-floating-menu@2.0.0-beta.46
 - @tiptap/extension-focus@2.0.0-beta.38
 - @tiptap/extension-link@2.0.0-beta.30
 - @tiptap/extension-mention@2.0.0-beta.89
 - @tiptap/extension-placeholder@2.0.0-beta.45
 - @tiptap/extension-table@2.0.0-beta.44
 - @tiptap/html@2.0.0-beta.145
 - @tiptap/react@2.0.0-beta.97
 - @tiptap/starter-kit@2.0.0-beta.148
 - @tiptap/suggestion@2.0.0-beta.84
 - @tiptap/vue-2@2.0.0-beta.70
 - @tiptap/vue-3@2.0.0-beta.82
2021-12-02 21:07:43 +01:00
Philipp Kühn
f7257a5119 dependencies: update 2021-12-02 21:06:13 +01:00
Philipp Kühn
90b0929672 Publish
- @tiptap/core@2.0.0-beta.145
 - @tiptap/html@2.0.0-beta.144
 - @tiptap/starter-kit@2.0.0-beta.147
2021-12-02 20:06:08 +01:00
Philipp Kühn
ec4981cf42 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-12-02 20:04:48 +01:00
Philipp Kühn
20b6d79f33 fix: remove defaultOptions fallback, fix #2219 2021-12-02 20:04:45 +01:00
Hans Pagel
c91eaed570 docs: add new details node to the navigation 2021-12-02 18:02:48 +01:00
Hans Pagel
1a0ae48b6f Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-12-02 15:53:08 +01:00
Hans Pagel
ac81bf0e96 setup: fix include dependencies config 2021-12-02 15:52:57 +01:00
hanspagel
601c1e6706 ci: fix code style linting errors 2021-12-02 14:47:19 +00:00
Hans Pagel
21fed0fcce demos: remove indexeddb provider from example, use new websocket provider 2021-12-02 15:44:52 +01:00
Philipp Kühn
270543995c Publish
- @tiptap/core@2.0.0-beta.144
 - @tiptap/extension-blockquote@2.0.0-beta.26
 - @tiptap/extension-bold@2.0.0-beta.25
 - @tiptap/extension-bullet-list@2.0.0-beta.24
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.58
 - @tiptap/extension-code-block@2.0.0-beta.30
 - @tiptap/extension-code@2.0.0-beta.26
 - @tiptap/extension-heading@2.0.0-beta.24
 - @tiptap/extension-highlight@2.0.0-beta.31
 - @tiptap/extension-italic@2.0.0-beta.25
 - @tiptap/extension-link@2.0.0-beta.29
 - @tiptap/extension-list-item@2.0.0-beta.20
 - @tiptap/extension-mention@2.0.0-beta.88
 - @tiptap/extension-ordered-list@2.0.0-beta.25
 - @tiptap/extension-paragraph@2.0.0-beta.23
 - @tiptap/extension-strike@2.0.0-beta.27
 - @tiptap/extension-subscript@2.0.0-beta.10
 - @tiptap/extension-superscript@2.0.0-beta.10
 - @tiptap/extension-task-item@2.0.0-beta.30
 - @tiptap/extension-task-list@2.0.0-beta.24
 - @tiptap/extension-text-align@2.0.0-beta.29
 - @tiptap/extension-text-style@2.0.0-beta.23
 - @tiptap/extension-underline@2.0.0-beta.22
 - @tiptap/html@2.0.0-beta.143
 - @tiptap/react@2.0.0-beta.96
 - @tiptap/starter-kit@2.0.0-beta.146
2021-12-02 15:12:39 +01:00
Philipp Kühn
6c34dec33a fix: remove some magic strings 2021-12-02 14:58:15 +01:00
Jessica Chong
dedcf17d53
feat: Add as option and pass through to ReactRenderer (#2213)
* Add `as` option and pass through to ReactRenderer

* Fix type, oops

* type `as` as string
2021-12-02 14:13:03 +01:00
Philipp Kühn
fa18ffe6d7 update eslint config 2021-12-01 15:40:50 +01:00
dependabot[bot]
400e671454
Bump actions/setup-node from 2.4.1 to 2.5.0 (#2208)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.1...v2.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 15:24:41 +01:00
dependabot[bot]
2f3e9ed68e
Bump actions/cache from 2.1.5 to 2.1.7 (#2207)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.7.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-29 15:24:08 +01:00
Philipp Kühn
7a04a32f1a Publish
- @tiptap/core@2.0.0-beta.143
 - @tiptap/extension-task-item@2.0.0-beta.29
 - @tiptap/html@2.0.0-beta.142
 - @tiptap/starter-kit@2.0.0-beta.145
2021-11-25 17:19:02 +01:00
Philipp Kühn
e0f64904b6 feat: add scrollIntoView option to focus command, fix #2172 2021-11-25 17:18:30 +01:00
Florian Krüger
62197ce459
Add setEditable to the documentation of Editor (#2199) 2021-11-25 13:04:36 +01:00
Hans Pagel
b37b0921dd
Update contributing.md 2021-11-24 13:51:20 +01:00
Hans Pagel
6a880b677a
Update README.md 2021-11-23 20:44:18 +01:00
Hans Pagel
c65cc199a5
Update README.md 2021-11-23 20:43:57 +01:00
Hans Pagel
61596a6354
Update README.md 2021-11-23 20:43:43 +01:00
Sven Adlung
5af3e7abe0
Merge pull request #2186 from ueberdosis/demos/interactivity
Split vue and react variant for interactivity demo
2021-11-23 14:54:08 +01:00
Philipp Kühn
7c5223fc92 Publish
- @tiptap/core@2.0.0-beta.142
 - @tiptap/extension-blockquote@2.0.0-beta.25
 - @tiptap/html@2.0.0-beta.141
 - @tiptap/starter-kit@2.0.0-beta.144
2021-11-23 14:39:30 +01:00
Philipp Kühn
74a33264c0 fix: fix content expression for blockquote node, fix #1681 2021-11-23 14:38:23 +01:00
Philipp Kühn
403c147d4d feat: add defaultBlockAt helper 2021-11-23 14:32:54 +01:00
svenadlung
fc5757a857 Improve persisting of last clicked demo tab 2021-11-22 23:06:09 +01:00
svenadlung
3c1f04bfe7 Fix loading wrong source if memorized framework demo is not given 2021-11-22 22:29:59 +01:00
svenadlung
d434675f74 Refactor interactivity demos 2021-11-22 20:48:04 +01:00
svenadlung
bdb055187a Refactor interactivity demos 2021-11-22 20:36:56 +01:00
svenadlung
4e60147a57 Split vue and react variant for interactivity demo 2021-11-22 19:17:25 +01:00
svenadlung
a55aa5fd17 Demo previews: Memorize active tab 2021-11-22 18:05:40 +01:00
svenadlung
996a2326c8 Demo previews: Make React the first tab by default 2021-11-22 17:33:02 +01:00
Philipp Kühn
53f6ad47bc Publish
- @tiptap/core@2.0.0-beta.141
 - @tiptap/extension-color@2.0.0-beta.9
 - @tiptap/html@2.0.0-beta.140
 - @tiptap/starter-kit@2.0.0-beta.143
2021-11-22 10:17:43 +01:00
Philipp Kühn
eb88567a74 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-11-22 10:17:08 +01:00
Philipp Kühn
3c571c9a3f feat: add 'all' option to focus command, fix #2181 2021-11-22 10:17:06 +01:00
Apaar Gupta
bc242fe342
fix: Export type ColorOptions (#2180) 2021-11-21 21:27:01 +01:00
Philipp Kühn
cd14731612 fix: improve default gapcursor position when surrounded by margins 2021-11-18 14:02:53 +01:00
Philipp Kühn
5844a8893c Publish
- @tiptap/core@2.0.0-beta.140
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.57
 - @tiptap/html@2.0.0-beta.139
 - @tiptap/react@2.0.0-beta.95
 - @tiptap/starter-kit@2.0.0-beta.142
2021-11-18 12:53:18 +01:00
Philipp Kühn
077f726f27 docs: update content 2021-11-18 12:50:07 +01:00
Philipp Kühn
7ea55279a3 refactoring 2021-11-18 12:46:21 +01:00
aguingand
3158c37324
feat: Allow array of extensions for enableInputRules and enablePasteRules options (#2119) 2021-11-18 12:44:34 +01:00
Philipp Kühn
7e1ca4c8bd refactoring 2021-11-18 12:38:02 +01:00
Jon Noronha
10fea3b44e
fix: Ignore iOS mutations when unfocused (#2170) 2021-11-18 12:37:21 +01:00
Enrique Alcántara
6e25e99c7a
fix: Remove console.log statement (#2168)
Co-authored-by: Enrique Alcantara <ealcantara@gitlab.com>
2021-11-18 12:13:55 +01:00
Philipp Kühn
c9dc1e1ec3 feat: add className option to ReactRenderer, see #2166 2021-11-18 09:58:38 +01:00
Philipp Kühn
abe932384c Publish
- @tiptap/core@2.0.0-beta.139
 - @tiptap/extension-bubble-menu@2.0.0-beta.50
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.56
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.31
 - @tiptap/extension-collaboration@2.0.0-beta.31
 - @tiptap/extension-dropcursor@2.0.0-beta.25
 - @tiptap/extension-floating-menu@2.0.0-beta.45
 - @tiptap/extension-focus@2.0.0-beta.37
 - @tiptap/extension-mention@2.0.0-beta.87
 - @tiptap/extension-placeholder@2.0.0-beta.44
 - @tiptap/extension-table@2.0.0-beta.43
 - @tiptap/html@2.0.0-beta.138
 - @tiptap/react@2.0.0-beta.94
 - @tiptap/starter-kit@2.0.0-beta.141
 - @tiptap/suggestion@2.0.0-beta.83
 - @tiptap/vue-2@2.0.0-beta.69
 - @tiptap/vue-3@2.0.0-beta.81
2021-11-17 19:25:46 +01:00