Commit Graph

70 Commits

Author SHA1 Message Date
Jake Dolan
e5027c8309
Changing use InputRule to textInputRule for Savvy example (#2007) 2021-10-09 08:17:56 +02:00
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
Hans Pagel
6863626a7a docs: update the blockquote page 2021-10-01 22:45:12 +02:00
Philipp Kühn
f9493c289f dependencies: update 2021-09-30 21:00:03 +02:00
Philipp Kühn
fc9a8febbc demos: revert switch to modules only 2021-09-30 11:43:51 +02:00
Philipp Kühn
e0f77b8fd6 dependencies: update 2021-09-30 09:41:27 +02:00
Philipp Kühn
50b6e6c1c6 demos: fix debug output 2021-09-28 20:40:31 +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
Philipp Kühn
c85df80126 demos: move to module only 2021-09-23 22:25:54 +02:00
Philipp Kühn
1b71080a11 dependencies: update 2021-09-22 22:56:54 +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
Markus Machatschek
6fa886273f Fix 'Edit on Github' link url in docs 2021-09-22 16:18:55 +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
1faa2fc386 dependencies: update 2021-09-21 20:30:23 +02:00
Philipp Kühn
cc586ce036 demos: fix parsing url query 2021-09-20 10:05:13 +02:00
Philipp Kühn
69076f256e dependencies: update 2021-09-20 09:41:58 +02:00
Philipp Kühn
020ddce3df demos: add dependency txt for vite setup 2021-09-20 09:32:17 +02:00
Philipp Kühn
34f40ebfc9 demos: fix dependency 2021-09-20 09:14:11 +02:00
Philipp Kühn
80b859be8e refactoring 2021-09-18 22:59:00 +02:00
Philipp Kühn
5de76f4bf1 demos: update wording 2021-09-18 22:38:27 +02:00
Philipp Kühn
e0348df8f8 dependencies: update 2021-09-18 21:05:42 +02:00
Philipp Kühn
9d22467b81 refactoring 2021-09-18 20:26:00 +02:00
Philipp Kühn
569aa15c4f Merge branch 'main' of https://github.com/ueberdosis/tiptap into docs/remove-gridsome
# Conflicts:
#	docs/experiments/collaboration-annotation.md
#	docs/experiments/global-drag-handle.md
2021-09-17 23:45:04 +02:00
Philipp Kühn
ddc4986df1 check ts correctly on demo build 2021-09-17 23:44:01 +02:00
Philipp Kühn
35ab0aa521 add vite-plugin-checker 2021-09-17 21:18:50 +02:00
Philipp Kühn
de7f769ca3 change react.tsx to react.ts 2021-09-17 13:55:06 +02:00
Philipp Kühn
1a43d2992f improve typescript setup 2021-09-17 12:43:26 +02:00
Philipp Kühn
2a0a365d45 fix types for demos 2021-09-16 21:30:09 +02:00
Hans Pagel
b901669803 docs: improve the link mark example, fix #1277 2021-09-16 20:34:21 +02:00
Philipp Kühn
2f15a11572 remove gridsome 2021-09-16 14:41:25 +02:00
Philipp Kühn
80570e2805 fix shiki worker 2021-09-14 23:02:58 +02:00
Philipp Kühn
86ad5e0b19 fix lint errors 2021-09-14 23:02:43 +02:00
Philipp Kühn
53e8ba1b7b demos: move shiki to worker 2021-09-14 22:28:49 +02:00
Philipp Kühn
2ec53efb91 dependencies: update 2021-09-14 21:29:00 +02:00
Philipp Kühn
fe6a3e7491
feat: add getText() and generateText() methods (fix #1428) (#1875)
* move getTextBetween method

* add getText method

* refactoring

* refactoring

* refactoring

* move renderText to schema, add generateText method

* add GenerateText demo

* docs: update

* remove demo from html page
2021-09-09 23:51:05 +02:00
Philipp Kühn
8a3b47a529 feat: parseHTML for attributes should return the value instead of an object now, fix #1863 2021-09-08 23:53:44 +02:00
Gregory Cadars
99ea9c87da
docs: Horizontal rule demo: add selected style (#1848) 2021-09-08 09:48:33 +02:00
Philipp Kühn
707ba29fa5 docs: use functional component for mention list 2021-09-07 23:22:11 +02:00
Lia Va
67ce72a9ee
docs: change this.value to value in the vue examples with custom v-model (#1813) 2021-09-07 11:23:43 +02:00
Philipp Kühn
8d15436c28 dependencies: update 2021-09-06 22:43:40 +02:00
Philipp Kühn
e0d7b01b1c docs: improve types 2021-08-26 23:40:31 +02:00
Philipp Kühn
afd021fffa fix a bug 2021-08-26 23:28:52 +02:00
Philipp Kühn
8670891ae8 add missing dep 2021-08-26 23:12:20 +02:00
Philipp Kühn
4492d069bb improve demo styling 2021-08-26 23:03:31 +02:00
Philipp Kühn
2407732df4 change demo styling 2021-08-26 18:28:40 +02:00
Philipp Kühn
121616537b prebundle some deps in vite 2021-08-26 16:23:19 +02:00