Philipp Kühn
59c296e6f7
demos: remove details experiment
2021-12-03 20:41:08 +01:00
Philipp Kühn
5a909500a7
demos: fix iOS bug for Vue version of CodeBlockLanguage demo
2021-12-03 11:31:33 +01:00
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
f7257a5119
dependencies: update
2021-12-02 21:06:13 +01:00
Hans Pagel
ac81bf0e96
setup: fix include dependencies config
2021-12-02 15:52:57 +01: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
6c34dec33a
fix: remove some magic strings
2021-12-02 14:58:15 +01:00
Philipp Kühn
fa18ffe6d7
update eslint config
2021-12-01 15:40:50 +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
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
f2f1c31522
dependencies: update
2021-11-17 19:23:04 +01:00
svenadlung
7325c759ca
Add TableOfContent demo for React
2021-11-16 22:31:34 +01:00
svenadlung
a7df47336c
Add GenerateHTML demo for React
2021-11-16 20:35:39 +01:00
svenadlung
d8ce6fdafd
Add GenerateJSON demo for React
2021-11-16 20:32:38 +01:00
svenadlung
d6286e5d5c
Add GenerateText demo for React
2021-11-16 20:28:31 +01:00
svenadlung
152b0d328e
Add ReadOnly demo for React
2021-11-16 19:27:54 +01:00
svenadlung
5fcd4beffb
ExportJSON React demo prettify fix
2021-11-16 19:14:21 +01:00
svenadlung
c2de06bb26
Add ExportJSON for React
2021-11-16 19:11:45 +01:00
svenadlung
7749eaa18a
Add ExportHTML demo for React
2021-11-16 18:47:41 +01:00
svenadlung
9956c9c51b
Add Mention demo for React
2021-11-16 18:26:28 +01:00
svenadlung
0ad3c48435
Add Link demo for React
2021-11-16 17:56:24 +01:00
svenadlung
c6071d5ab6
Add Underline demo for React
2021-11-16 17:47:55 +01:00
svenadlung
9bfeb70848
Add TextStyle demo for React
2021-11-16 17:47:47 +01:00
svenadlung
6b31c9c378
Add Subscript demo for React
2021-11-16 17:46:23 +01:00
svenadlung
61603c8323
Add Superscript demo for React
2021-11-16 17:46:15 +01:00
svenadlung
6ccbf8c7cb
Add Strike demo for React
2021-11-16 17:19:35 +01:00
svenadlung
3eca6a1987
Add Italic demo for React
2021-11-16 17:19:27 +01:00
svenadlung
2bb4edd533
Add Highlight demo for React
2021-11-16 16:24:35 +01:00
svenadlung
c8e1fcbf6b
Add Code demo for React
2021-11-16 16:14:37 +01:00
svenadlung
2eb9cc568e
Add Bold demo for React
2021-11-16 16:10:54 +01:00
svenadlung
709aa8c0ab
Add Table demo for React
2021-11-16 16:00:26 +01:00
Sven Adlung
dee562f5ef
Add Text demo for React
2021-11-16 15:49:38 +01:00
Sven Adlung
f2e6d3d8ef
Add TaskList and TaskItem demo for React
2021-11-16 15:42:40 +01:00
Sven Adlung
ddd5545e9a
Add Paragraph demo for React
2021-11-16 15:15:03 +01:00
Sven Adlung
cbc717334d
Add OrderedList demo for React
2021-11-16 15:12:43 +01:00
Sven Adlung
73120d79bb
Add ListItem demo for React
2021-11-16 15:08:58 +01:00
Sven Adlung
60957c2677
Add Image demo for React
2021-11-16 15:04:46 +01:00
Sven Adlung
7d6ecf31d8
Add HorizontaleRule demo for React
2021-11-16 14:56:07 +01:00
Sven Adlung
e8c76a75a0
Add Heading demo for React
2021-11-16 14:53:27 +01:00
Sven Adlung
5cc5965ec7
Add HardBreak demo for React
2021-11-16 14:50:12 +01:00
Sven Adlung
b0f447236b
Add Document demo for React
2021-11-16 14:47:03 +01:00
Sven Adlung
7f16b142cb
Add CodeBlockLowlight demo for React
2021-11-16 14:44:26 +01:00
Sven Adlung
74c416ae87
Add CodeBlock demo for React
2021-11-16 14:35:20 +01:00
Sven Adlung
33a4e0ca91
Add BulletList demo for React
2021-11-16 14:29:29 +01:00
Sven Adlung
f4c7f54f46
Add Blockquote demo for React
2021-11-16 14:22:00 +01:00
Sven Adlung
ecd7483278
Clean up Focus demo
2021-11-16 14:03:13 +01:00
Sven Adlung
ed94a920b5
Add missing index-file to FloatingMenu demo for React
2021-11-16 14:02:57 +01:00
Sven Adlung
e26fdb4d90
Add Focus demo for React
2021-11-16 13:57:39 +01:00
Sven Adlung
1cf0309f90
Add Dropcursor demo for React
2021-11-16 13:52:37 +01:00
Sven Adlung
d1b582cd92
Add CollaborationCursor demo for React
2021-11-16 13:49:57 +01:00
Sven Adlung
c1068aedcf
Add Collaboration extension demo for React
2021-11-16 13:44:05 +01:00
Sven Adlung
98fa684ed7
Add missing file for History demo
2021-11-16 13:20:43 +01:00
Sven Adlung
505c0016d9
Add History demo for React
2021-11-16 13:20:26 +01:00
Sven Adlung
23ce11f6cc
Add Gapcursor demo for React
2021-11-16 13:20:07 +01:00
svenadlung
bee9f2bf7e
ci: fix code style linting errors
2021-11-16 12:10:57 +00:00
Sven Adlung
61e14c0465
Merge branch 'main' of github.com:ueberdosis/tiptap
2021-11-16 13:09:41 +01:00
Sven Adlung
0ade9b0ad1
Add Typography demo for React
2021-11-16 13:08:37 +01:00
svenadlung
761a91f0bb
ci: fix code style linting errors
2021-11-16 12:04:44 +00:00
Sven Adlung
60fa25c1ca
Add TextAlign demo for React
2021-11-16 13:03:26 +01:00
Sven Adlung
2e9b3ac252
Clean up Drawing example
2021-11-15 18:17:15 +01:00
Sven Adlung
42b71abbd3
Add Placeholder demo for React
2021-11-15 18:16:58 +01:00
Sven Adlung
6b974d7808
Add FontFamily demo for React
2021-11-15 18:10:21 +01:00
Sven Adlung
780f35c4e0
Add Color demo for React
2021-11-15 17:55:30 +01:00
Sven Adlung
0333ca3928
Add Savvy React example
2021-11-15 17:19:36 +01:00
Sven Adlung
40624e7500
Add CharacterCount demo for React
2021-11-15 17:01:03 +01:00
Philipp Kühn
cd04758a49
demos: remove old emoji demo
2021-11-12 09:23:59 +01:00
Philipp Kühn
67d74830b4
fix tests
2021-11-08 21:32:06 +01:00
Philipp Kühn
4b793be8e4
dependencies: update
2021-11-08 11:23:32 +01:00
Philipp Kühn
18a9271611
dependencies: update
2021-11-05 11:52:49 +01:00
Philipp Kühn
1716737c35
demos: add disabled button styling
2021-11-03 21:27:20 +01:00
Hans Pagel
6edde418f7
docs: use new collab backend instance
2021-10-31 23:13:57 +01:00
Hans Pagel
b004f1e21d
Use the new storage feature for the CollaborationCursor
extension ( #2096 )
...
* extension-collaboration-cursor: make use of the new storage feature, deprecate users command and onUsers callback, clean up
* docs: update the jobs page
2021-10-28 10:00:16 +02:00
Philipp Kühn
9afadeb7fe
feat!: Replace defaultOptions
with addOptions
( #2088 )
...
* add new addOptions option
* replace defaultOptions with addOptions for all extensions
* replace defaultOptions with addOptions for all demos
* replace defaultOptions with addOptions in docs
* refactoring
* refactoring
* drop object support for addOptions
* fix optional options
* fix tests
2021-10-26 18:31:13 +02:00
Philipp Kühn
70f335c088
demos: improve mention styling
2021-10-26 16:22:31 +02:00
Philipp Kühn
641ae99701
demos: update suggestion styling
2021-10-26 00:00:30 +02:00
Philipp Kühn
4e9914341d
fix tests
2021-10-25 10:14:48 +02:00
Aron Buzinkay
2447217e39
test: Added tests for 'Menus' example ( #2052 )
2021-10-25 09:55:58 +02:00
Alexandru Văleanu
071cff2a56
test: Add unit tests for demos/src/Examples/Minimal/Vue ( #2047 )
2021-10-25 09:54:53 +02:00
Donovan Glover
57a5bed495
test: add savvy example tests ( #2043 )
2021-10-25 09:53:53 +02:00
Philipp Kühn
45778b81dd
dependencies: update
2021-10-25 09:51:33 +02:00
Philipp Kühn
a6f731af39
feat!: Add editor to items prop in suggestion plugin ( #2082 )
...
* add editor to items prop
* docs: update content
2021-10-25 09:42:41 +02:00
Philipp Kühn
c01afc6791
demos: fix styling
2021-10-25 09:19:56 +02:00
Philipp Kühn
da2d3d4165
demos: update collab rooms
2021-10-24 23:29:40 +02:00
Philipp Kühn
a6d6f4e7ae
add basic input styles
2021-10-24 19:17:52 +02:00
Philipp Kühn
7ffabf251c
feat: Add extension storage ( #2069 )
2021-10-22 08:52:54 +02:00
Hans Pagel
3fe97621e7
docs: update extension examples
2021-10-19 21:28:48 +02:00
Hans Pagel
71077f6d62
docs: update nodes examples
2021-10-19 21:18:32 +02:00
Hans Pagel
4b1848917d
docs: update mark examples
2021-10-19 20:59:51 +02:00
Philipp Kühn
e9ee6bc68e
demos: improve button styling
2021-10-16 00:08:48 +02:00
Philipp Kühn
b2dffc6013
demos: update suggestions styling
2021-10-15 18:38:14 +02:00
Philipp Kühn
93c4524d0e
fix tests
2021-10-15 15:52:59 +02:00
Hans Pagel
808d32f9a7
examples: fix styling of table examples
2021-10-15 14:49:12 +02:00
Philipp Kühn
a7e2f4397b
dependencies: update
2021-10-14 12:16:26 +02:00
Philipp Kühn
e79126d99b
demos: add whitespace
2021-10-14 09:42:31 +02:00
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