Commit Graph

4803 Commits

Author SHA1 Message Date
Philipp Kühn
723b955cec
feat: Integrate input rules and paste rules into the core (#1997)
* refactoring

* improve link regex

* WIP: add new markPasteRule und linkify to image mark

* move copy of inputrule to core

* trigger codeblock inputrule on enter

* refactoring

* add regex match to markpasterulematch

* refactoring

* improve link regex

* WIP: add new markPasteRule und linkify to image mark

* move copy of inputrule to core

* trigger codeblock inputrule on enter

* refactoring

* add regex match to markpasterulematch

* update linkify

* wip

* wip

* log

* wip

* remove debug code

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* rename matcher

* add data to ExtendedRegExpMatchArray

* remove logging

* add code option to marks, prevent inputrules in code mark

* remove link regex

* fix codeblock inputrule on enter

* refactoring

* refactoring

* refactoring

* refactoring

* fix position bug

* add test

* export InputRule and PasteRule

* clean up link demo

* fix types
2021-10-08 15:02:09 +02:00
Philipp Kühn
ace4964d97 dependencies: update 2021-10-08 12:13:20 +02:00
Sven Adlung
cf97cdf6f0
demos: add React collaboration demo (#1991)
* Add react collab demo

* Update editor styles for react collaboration demo
2021-10-08 11:08:02 +02:00
hzpeng57
b2fa5d0eb9
docs: update styling (#1998) 2021-10-08 09:53:06 +02:00
Hans Pagel
e769063921 Merge branch 'main' of github.com:ueberdosis/tiptap
# Conflicts:
#	docs/api/extensions/unique-id.md
2021-10-07 21:03:01 +02:00
Hans Pagel
c5f025909e docs: remove most of the tables from the content (to improve the searchability) 2021-10-07 21:02:30 +02:00
Aron Buzinkay
8b82fbee80
Fixed typo in React installation guide (#1989) 2021-10-07 14:49:40 +02:00
Hans Pagel
5695d79c27
Update README.md 2021-10-07 14:48:09 +02:00
Hans Pagel
d70ba4e380
Update links.yaml 2021-10-07 13:17:21 +02:00
Aron Buzinkay
2be975ff1f
docs: Added Next.js installation guide & express setup for React (#1984)
* Added Next.js installation guide & express setup for React

* Update react.md

Co-authored-by: Hans Pagel <hanspagel@users.noreply.github.com>
2021-10-07 13:15:45 +02:00
David Krijgsman
9255a951a7
docs: Fix typo in hard-break.md (#1988) 2021-10-07 13:09:54 +02:00
Hans Pagel
25d3c57b70
Update README.md 2021-10-06 21:03:24 +02:00
dependabot[bot]
56d3b0b9b8
build(deps): bump actions/setup-node from 2.4.0 to 2.4.1 (#1978)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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-10-04 19:40:38 +02:00
Philipp Kühn
3a9d6201f0 Publish
- @tiptap/extension-collaboration-cursor@2.0.0-beta.22
 - @tiptap/extension-collaboration@2.0.0-beta.22
2021-10-04 06:54:34 +02:00
Philipp Kühn
2b16c2ea96 fix: fix plugin order for collab, fix #1973 2021-10-04 06:53:59 +02:00
Philipp Kühn
9e58f3ad55 docs: update content 2021-10-03 20:53:30 +02:00
Philipp Kühn
68fc3f862f Publish
- @tiptap/extension-collaboration@2.0.0-beta.21
2021-10-03 20:38:08 +02:00
Philipp Kühn
92b6c5bdce feat: add isChangeOrigin helper method 2021-10-03 20:33:33 +02:00
Philipp Kühn
4feb4ee36e Publish
- @tiptap/core@2.0.0-beta.118
 - @tiptap/html@2.0.0-beta.117
 - @tiptap/starter-kit@2.0.0-beta.117
2021-10-03 18:58:02 +02:00
Philipp Kühn
f8efdf797a fix: fix order of executed plugins, fix #1547 2021-10-03 18:55:33 +02:00
Philipp Kühn
dc868b3d2a Publish
- @tiptap/core@2.0.0-beta.117
 - @tiptap/extension-bubble-menu@2.0.0-beta.39
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.41
 - @tiptap/extension-floating-menu@2.0.0-beta.33
 - @tiptap/extension-gapcursor@2.0.0-beta.24
 - @tiptap/extension-hard-break@2.0.0-beta.21
 - @tiptap/extension-highlight@2.0.0-beta.21
 - @tiptap/extension-horizontal-rule@2.0.0-beta.21
 - @tiptap/html@2.0.0-beta.116
 - @tiptap/react@2.0.0-beta.78
 - @tiptap/starter-kit@2.0.0-beta.116
 - @tiptap/vue-2@2.0.0-beta.57
 - @tiptap/vue-3@2.0.0-beta.67
2021-10-02 23:20:38 +02:00
Philipp Kühn
7f7f93dc1b fix: fix reactive props, see #1728 2021-10-02 23:18:12 +02:00
Hans Pagel
9ed883edd4 docs: make all extenion settings a list 2021-10-02 01:20:09 +02:00
Hans Pagel
4487fb0d75 docs: make all node commands a list 2021-10-02 00:14:44 +02:00
Hans Pagel
2fccba79cb docs: make all tables with only HTMLAttributes as a setting a lis 2021-10-01 23:27:39 +02:00
Hans Pagel
86d8ecd238 docs: make all mark commands a list 2021-10-01 23:25:07 +02:00
Hans Pagel
d3aa7903bd docs: make all extension keyboard shortcuts a table 2021-10-01 23:13:49 +02:00
Hans Pagel
bf06eef9f6 docs: make the mark keyboard shortcuts a table 2021-10-01 23:04:47 +02:00
Hans Pagel
a89e2eed29 docs: make all node keyboard shortcuts a table 2021-10-01 22:57:27 +02:00
Hans Pagel
6863626a7a docs: update the blockquote page 2021-10-01 22:45:12 +02:00
Hans Pagel
ab21b304e0 docs: minor fixes 2021-10-01 22:25:12 +02:00
Hans Pagel
6dba36464f docs: update content 2021-10-01 22:10:59 +02:00
Hans Pagel
2f7f7ce0ec Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-01 21:42:45 +02:00
Hans Pagel
6bad741cd6 docs: update the setOptions usage example 2021-10-01 21:42:34 +02:00
Philipp Kühn
bfd19e2dff docs: fix example 2021-10-01 21:41:55 +02:00
Philipp Kühn
0a86626c6e docs: fix whitespace 2021-10-01 21:41:46 +02:00
Hans Pagel
6db0d340b8 docs: replace the editor methods table with a list of methods 2021-10-01 20:51:53 +02:00
Hans Pagel
daa368a4cd Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-01 18:07:14 +02:00
Hans Pagel
16eedcaf96 docs: fix link 2021-10-01 18:07:00 +02:00
Philipp Kühn
b37309005d Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.40
 - @tiptap/react@2.0.0-beta.77
2021-09-30 21:41:29 +02:00
Philipp Kühn
78ef673fc7 fix lint error 2021-09-30 21:39:13 +02:00
Philipp Kühn
5cdc10ce67 Merge branch 'main' of https://github.com/ueberdosis/tiptap
# Conflicts:
#	packages/extension-code-block-lowlight/src/lowlight-plugin.ts
2021-09-30 21:38:42 +02:00
Philipp Kühn
d4e70619ae fix lint error 2021-09-30 21:35:51 +02:00
philippkuehn
cf1e8ef184 ci: fix code style linting errors 2021-09-30 19:35:31 +00:00
MO
f79347e128
fix: compatibility with lowlight v2 (#1939) 2021-09-30 21:34:20 +02:00
Philipp Kühn
dead826250
fix: use ref to move contentDOM (#1960), fix #1942 2021-09-30 21:13:37 +02:00
Philipp Kühn
f9493c289f dependencies: update 2021-09-30 21:00:03 +02:00
Hans Pagel
b10f3eca40
Delete add-labels.yml 2021-09-30 16:27:45 +02:00
Philipp Kühn
fc9a8febbc demos: revert switch to modules only 2021-09-30 11:43:51 +02:00
Philipp Kühn
b2a08e4a78 Publish
- @tiptap/core@2.0.0-beta.116
 - @tiptap/html@2.0.0-beta.115
 - @tiptap/react@2.0.0-beta.76
 - @tiptap/starter-kit@2.0.0-beta.115
2021-09-30 09:44:29 +02:00