Commit Graph

2045 Commits

Author SHA1 Message Date
Hans Pagel
c2ca5103d4 docs: add some more information to the parseHTML docs, fix #1860 2021-12-09 19:18:36 +01:00
Hans Pagel
8df15676d0 docs: remove commercial use banner, fix #2202 2021-12-09 19:06:54 +01:00
Philipp Kühn
5daa870b09
feat: add some improvements to CharacterCount extension (#2256), fix #1049, fix #1550, fix #1839, fix #2245
* fix a bug when exceeding the character limit

* find a better way to limit the doc size

* check paste events

* add storage method

* refactoring

* use textBetween instead of textContent

* return early if no limit is set

* add words method to storage

* show word count in charactercount demo

Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-08 21:26:30 +01:00
Ahmet Enes Duruer
f0b363c475
docs: remove wrong type="context" tag (#2240)
This example doesn't compile because in Svelte 3 there is no `type="context"`, there is only `context="module". Even if you use `context="module"` it is supposed to give an error because there is no `onMount` and `onDestroy` in module context.  Removing this tag from the Script element will fix the issue.
2021-12-06 22:03:49 +01:00
Philipp Kühn
59c296e6f7 demos: remove details experiment 2021-12-03 20:41:08 +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
Hans Pagel
c91eaed570 docs: add new details node to the navigation 2021-12-02 18:02:48 +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
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
Philipp Kühn
3c571c9a3f feat: add 'all' option to focus command, fix #2181 2021-11-22 10:17:06 +01:00
Philipp Kühn
077f726f27 docs: update content 2021-11-18 12:50:07 +01:00
Philipp Kühn
4a135b2290 docs: add missing includeChildren option 2021-11-12 09:20:50 +01:00
Hans Pagel
7a2b02bfcf docs: add the emoji extension 2021-11-11 12:47:22 +01:00
George Mandis
8f8450be62
Update image.md (#2154)
docs: Typo fix in docs
2021-11-10 07:30:41 +01:00
Rafi Miller
38b533dc48
docs: Update events.md (#2152)
missing closing parens
2021-11-09 23:15:17 +01:00
Hans Pagel
696cfcbd8b Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-11-09 11:56:36 +01:00
Hans Pagel
7e476ec617 docs: remove Yarn instructions 2021-11-09 11:56:27 +01:00
Philipp Kühn
0f94bcd591 feat: add defaultLanguage option to CodeBlockLowlight extension, fix #2121 2021-11-05 14:00:44 +01:00
Hans Pagel
345abcc00c docs: update the next.js guide, fix #2115 2021-11-02 17:07:42 +01:00
Hans Pagel
8b091e8413 docs: fix screencast links 2021-10-29 17:53:12 +02:00
Hans Pagel
51aa314034 Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-29 17:49:04 +02:00
Hans Pagel
b5f4a2970a docs: update the installation page 2021-10-29 17:48:50 +02:00
Hans Pagel
5aed8b02e0 docs: add a minimal changelog page 2021-10-29 17:48:38 +02: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
Arnaud Thomas D
85cec0d4da
docs: fix typo (#2093) 2021-10-27 17:32:42 +02:00
Hans Pagel
bb56d98982 Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-27 14:04:54 +02:00
Hans Pagel
3f505fc674 docs: add new job 2021-10-27 14:04:06 +02:00
Hans Pagel
28e2da9ad8 docs: update content 2021-10-27 13:55:14 +02:00
Philipp Kühn
e28b770f60 docs: update content 2021-10-26 18:43:58 +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
Phoenix Gao
2fff9c264b
docs: Fix menu example in doc (#2089) 2021-10-26 16:23:48 +02:00
Hans Pagel
1eb67a1686 docs: update content 2021-10-26 11:51:46 +02:00
Hans Pagel
7c46e3d4d9 docs: add new job 2021-10-26 11:50:43 +02:00
Hans Pagel
afc110a253 Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-26 11:37:15 +02:00
Hans Pagel
2d902a2d7d docs: add a link to the collaborative editing screencast 2021-10-26 11:36:53 +02:00
Chris Sev
5551c47600
fixing onUpdate example (#2084) 2021-10-25 23:09:31 +02:00
Hans Pagel
b97e6d5aff Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-25 14:24:23 +02:00
Hans Pagel
546ef1afd9 docs: update React installation guide 2021-10-25 14:24:02 +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
ac273e13c8 docs: update content 2021-10-22 11:23:33 +02:00
Philipp Kühn
06d674a7f6 docs: update content 2021-10-22 11:18:54 +02:00
Philipp Kühn
7ffabf251c
feat: Add extension storage (#2069) 2021-10-22 08:52:54 +02:00
Hans Pagel
6987505fda docs: update React installation guide 2021-10-21 13:03:04 +02:00
Hans Pagel
f25a063df0 docs: update the React installation guide 2021-10-21 12:21:59 +02:00
Hans Pagel
f45c8d0ca7 docs: use regular case for Tiptap 2021-10-19 22:30:45 +02:00
Hans Pagel
4b1848917d docs: update mark examples 2021-10-19 20:59:51 +02:00
Hans Pagel
53f815a53c docs: replace embeds with just the URL 2021-10-18 18:01:47 +02:00
Hans Pagel
286bdd1c91 docs: rename about page 2021-10-16 15:47:52 +02:00
Hans Pagel
15d41943a4 docs: update content 2021-10-15 22:48:57 +02:00
Martin Kriegeskorte
0a5d4b6658 docs: add icons for extensions 2021-10-14 21:20:21 +02:00
Hans Pagel
5410cd5f31 docs: wording 2021-10-14 14:00:40 +02:00
Hans Pagel
8c32dab55c docs: wording 2021-10-14 11:56:18 +02:00
Hans Pagel
4183499ff9 docs: fix typos 2021-10-14 10:46:09 +02:00
Hans Pagel
e37639ac6d Merge branch 'main' of github.com:ueberdosis/tiptap 2021-10-14 00:14:05 +02:00
Hans Pagel
0edc57245c docs: add descriptions to all extensions 2021-10-14 00:13:50 +02:00
Philipp Kühn
f74f1ac885 docs: update content 2021-10-13 20:53:25 +02:00
Yashu Mittal
a2e534607c
docs: correct the wording (#2012)
correct the wording in "Create a new component" section
2021-10-10 12:36:30 +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
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
Philipp Kühn
9e58f3ad55 docs: update content 2021-10-03 20:53:30 +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
16eedcaf96 docs: fix link 2021-10-01 18:07:00 +02:00
Hans Pagel
6d339733a4 docs: update the upgrade guide 2021-09-28 23:35:40 +02:00
Hans Pagel
190cc99637 Merge branch 'main' of github.com:ueberdosis/tiptap 2021-09-28 20:24:57 +02:00
Hans Pagel
7413919c0b docs: update content 2021-09-28 20:24:50 +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
Hans Pagel
6a4bd8c3b5 Merge branch 'main' of github.com:ueberdosis/tiptap 2021-09-27 22:34:23 +02:00
Hans Pagel
f37316f688 docs: update content 2021-09-27 22:34:06 +02:00
Philipp Kühn
377bbb177d feat: setHardBreak now keeps splittable marks by default, fix #1934 2021-09-23 09:34:47 +02:00
Philipp Kühn
6c8ff4dc67 docs: remove hint to reduce isActive checks since we don’t need that anymore 2021-09-23 08:40:15 +02:00
Philipp Kühn
fd88f66b1c demos: update book example 2021-09-22 20:52:05 +02:00
Jake Dolan
ce6de2bba4 Update upgrade-guide.md
The commands toggleHardBreak(), toggleHorizontalRule(), toggleParagraph() do not exist. 

Updating the documentation to reflect the existing commands setHardBreak(), setHorizontalRule(), setParagraph().
2021-09-22 11:55:55 +02:00
Hans Pagel
edf724c450 docs: remove impressum & privacy policy 2021-09-22 00:02:13 +02:00
Hans Pagel
5cb63406a8 docs: update content 2021-09-21 17:43:58 +02:00
domnantas
d434f3865a docs: Add link to editor props section 2021-09-21 17:41:21 +02:00
domnantas
8a9178c1ad docs: Simplify Editor props description 2021-09-21 17:41:21 +02:00
domnantas
27f8986866 docs: Clear up Prosemirror EditorProps usage 2021-09-21 17:41:21 +02:00
Carlo Beltrame
59e38750fc
docs: Fix usage example of CollaborationCursor (#1911) 2021-09-20 09:41:10 +02:00
Philipp Kühn
67c33644d3 fix some demos with hidden source 2021-09-18 23:01:30 +02:00
Philipp Kühn
5e5c40e2ed test something 2021-09-18 22:58:38 +02:00
Philipp Kühn
b2d8fd730a maybe fix collab demos 2021-09-18 22:53:21 +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
Hans Pagel
30d3a066aa docs: update content 2021-09-16 22:23:39 +02:00
Hans Pagel
bb70946817 docs: update the simplified node view example, fix #1669 2021-09-16 22:12:14 +02:00
Hans Pagel
727e09fc72 docs: add link to the ParseRule properties, see #1860 2021-09-16 22:07:35 +02:00
Hans Pagel
106a9345ca docs: explain getAttrs, fix #1860 2021-09-16 22:06:15 +02:00
Hans Pagel
5a8d609181 docs: update the introduction, fix #1435 2021-09-16 20:46:39 +02:00
Hans Pagel
b901669803 docs: improve the link mark example, fix #1277 2021-09-16 20:34:21 +02:00
Hans Pagel
63d8e84451 docs: remove toc heading 2021-09-16 16:11:03 +02:00
Hans Pagel
e7caee037e docs: replace ContentMissing component 2021-09-16 16:04:15 +02:00
Philipp Kühn
2f15a11572 remove gridsome 2021-09-16 14:41:25 +02:00
Hans Pagel
3c176f6e3e docs: clean up 2021-09-16 14:31:54 +02:00
Philipp Kühn
2ec53efb91 dependencies: update 2021-09-14 21:29:00 +02:00
Hans Pagel
5ca860a21a docs: fix navigation again 2021-09-14 17:19:21 +02:00
Hans Pagel
8f96e4c86d docs: fix navigation 2021-09-14 17:07:52 +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
Hans Pagel
e1b1905d6d
Update alpine.md 2021-09-07 22:50:22 +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
Carlo Beltrame
a03aa2c232 Add missing comma in example 2021-09-06 21:43:25 +02:00
hanspagel
73a278a5d3 docs: update menu page 2021-08-30 23:55:43 +02:00
hanspagel
7bf44a146a Merge branch 'main' of https://github.com/ueberdosis/tiptap.git 2021-08-30 23:46:01 +02:00
Hans Pagel
7c9c268087 docs: reformat the typography table 2021-08-30 18:02:41 +02:00
Hans Pagel
acaae09162 docs: add unique id extension 2021-08-30 18:01:17 +02:00
hanspagel
f9f6306180 docs: fix typo 2021-08-27 23:49:22 +02:00
hanspagel
0977621148 docs: minor text updates 2021-08-27 23:47:51 +02:00
hanspagel
195d79c9bb docs: a few minor tweaks to the installation guide 2021-08-27 23:25:25 +02:00
Hans Pagel
b85d555b57 remove mention extension from starter kit list, fix #1809 2021-08-27 12:31:19 +02:00
Hans Pagel
83e2d4d3e2 docs: update jobs 2021-08-26 21:05:33 +02:00
Hans Pagel
c66679bb8b docs: fix list of starter kit extensions, fix #1803 2021-08-26 20:57:47 +02:00
Philipp Kühn
02ec031ca0 add loader to demos 2021-08-26 18:15:31 +02:00
Philipp Kühn
629b2c4713 Merge branch 'docs/vite-demos' 2021-08-26 16:23:33 +02:00
Philipp Kühn
97fdd484e7 remove demos from gridsome 2021-08-26 15:49:53 +02:00
Philipp Kühn
c5f3d0161b fix build 2021-08-26 15:15:47 +02:00
Philipp Kühn
956b381f8d replace demo component with custom element 2021-08-25 23:10:20 +02:00
domnantas
96a7310b9d docs: add tests for color picker demo 2021-08-24 23:40:16 +02:00
domnantas
001c30b1f8 docs: add color picker to color extension demo 2021-08-24 23:40:16 +02:00
Philipp Kühn
b642df0ed2 dependencies: update 2021-08-24 23:39:53 +02:00
Hans Pagel
0dd924e69d docs: use front matter to enable table of contents 2021-08-24 11:24:10 +02:00
Hans Pagel
415235e2b5 setup: move navigation structure file to the docs folder 2021-08-23 23:17:59 +02:00
Philipp Kühn
00dc5ad1f1 docs: update content 2021-08-20 11:11:41 +02:00
Hans Pagel
f5ebaeac3c
packages: add a new color extension to set the text color (#1744) 2021-08-19 10:37:51 +02:00
Sibiraj
0488479d68
Update alpine docs (#1733) 2021-08-16 20:57:45 +02:00
Philipp Kühn
7cf3350a83 fix: add pluginKey option to suggestion plugin, fix #1282 2021-08-13 13:14:54 +02:00
Philipp Kühn
1127f0efcb docs: add escape event handler for closing tippy, see #1282 2021-08-13 13:10:34 +02:00
Philipp Kühn
89d26f7cba fix: rename key to pluginKey for menus 2021-08-13 12:33:06 +02:00