Commit Graph

571 Commits

Author SHA1 Message Date
Philipp Kühn
f9059a372f demos: move suggestion to its own file 2021-10-13 14:53:40 +02:00
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
Philipp Kühn
2d129459ca fix tests 2021-08-26 14:07:37 +02:00
Philipp Kühn
ebfcdf3958 add some overview list styling 2021-08-26 10:52:15 +02:00
Philipp Kühn
25b36a6cb3 redirect demos 2021-08-26 10:06:14 +02:00
Philipp Kühn
43274cd9aa change max-height for demos 2021-08-26 09:46:29 +02:00
Philipp Kühn
a1c9535041 change max-height for collab demo 2021-08-26 09:45:29 +02:00
Philipp Kühn
acbaa41ee0 add missing emoji demo 2021-08-25 23:12:53 +02:00
Philipp Kühn
d050ee164f add global active styling for buttons 2021-08-25 21:18:36 +02:00
Philipp Kühn
e0016c40e9 migrate beforeDestroy to beforeUnmount 2021-08-25 18:36:11 +02:00
Philipp Kühn
8a5a491d8e add GuideNodeViews demos 2021-08-25 18:32:54 +02:00
Philipp Kühn
b1a87e4ad6 add GuideGettingStarted demos 2021-08-25 18:27:05 +02:00
Philipp Kühn
f99357b9a3 add GuideContent demos 2021-08-25 18:21:37 +02:00
Philipp Kühn
b95c81baff add overview demos 2021-08-25 18:18:15 +02:00
Philipp Kühn
7dd4e38af5 add node demos 2021-08-25 18:15:10 +02:00
Philipp Kühn
502b533f60 add mark demos 2021-08-25 18:07:36 +02:00
Philipp Kühn
88804668ff add extension demos 2021-08-25 18:03:42 +02:00
Philipp Kühn
6ab708b1a2 add experiment demos 2021-08-25 17:53:02 +02:00
Philipp Kühn
2498c24186 fix some demos 2021-08-25 12:29:46 +02:00
Philipp Kühn
a68a2a62a3 fix remix url 2021-08-25 12:23:47 +02:00
Philipp Kühn
4607a2dbd5 add example demos 2021-08-25 12:13:46 +02:00
Philipp Kühn
15c7e1955a add basic vite setup 2021-08-25 11:52:20 +02:00