Commit Graph

2251 Commits

Author SHA1 Message Date
svenadlung
0622f974be docs: youtube 2022-07-06 13:37:27 +02:00
svenadlung
599b8cc014 docs: move youtube documentation to nodes 2022-07-06 13:20:33 +02:00
svenadlung
9e843539e0 docs: link youtube extension in docs 2022-07-04 13:57:16 +02:00
Chris Chapman
3bbbf493a9
docs: fix livewire attribute (#2928)
The `->wire('...')` alone will output the entire attribute string. We only want
the `->value()` portion.
2022-06-25 05:55:55 +02:00
Ricardo Amaral
482cb960d6
feat: Allow multiple prefix characters to trigger a suggestion (#2896)
* feat: Allow multiple prefix characters to trigger a suggestion

* review: Turn `allowedPrefixes` into an array instead
2022-06-21 23:17:26 +02:00
Sven Adlung
d9430e5163
docs: improve docs for youtube extension (#2902)
* docs: improve docs for youtube extension

* docs: improve docs for youtube extension

Co-authored-by: Dominik Biedebach <dominik@bdbch.com>
2022-06-20 19:20:41 +02:00
Dominik Biedebach
90dedbeabc docs: move youtube documentation into examples instead of experiments 2022-06-20 19:01:14 +02:00
Dominik
1c0554b7c0
feat(extension/youtube): new youtube embed extension (#2814)
* feat(extension/youtube):  new youtube embed extension

* fix(extension/youtube): remove wrong destroy call on undefined editor

* fix(extension/youtube): 🐛 fix youtu.be share urls not being recognized correctly

* style: remove stray console.log

* style: remove empty line

* docs(docs): update youtube docs

* Capitalize tiptap

* Capitalize Tiptap

* style(extension/youtube): ✏️ change youtube typing

Co-authored-by: Markus Krause <markus.krause@ueber.io>
2022-06-17 05:29:48 +02:00
Sven Adlung
4014af4c21
Merge pull request #2861 from ueberdosis/bdbch/210-docs-update
docs(docs): add missing documentation for commands
2022-06-08 14:47:39 +02:00
Lior539
a9d41c559a
Adding missing extensions from Grid (#2856)
There are 3 extensions that appear in the left hand menu but not in the grid. Namely BubbleMenu, FloatingMenu and StarterKit
2022-06-08 14:20:12 +02:00
Dominik Biedebach
e426e096f0 docs: remove stray spaces in docs 2022-06-08 13:07:12 +02:00
Dominik Biedebach
4abd7c8827 docs(docs): 📝 add missing documentation for commands 2022-06-08 12:41:14 +02:00
Dominik Biedebach
43f8843c3e docs(docs): 📝 add missing command docs 2022-06-08 12:15:59 +02:00
Enrique Alcántara
39f5e4c31e
Declare lowlight as a peerDependency (#2625)
Declare lowlight as a peerDependency to delegate
the control of which version of lowlight is used
to the client application

Co-authored-by: Enrique Alcantara <ealcantara@gitlab.com>
2022-06-06 19:33:52 +02:00
Shengchen Zhang
50083f3be1
Add support for custom protocols in extension-link (#2832) 2022-06-06 17:33:45 +02:00
svenadlung
47f2444128 Merge branch 'docs/about' 2022-05-23 09:34:14 +02:00
svenadlung
ee0a671ab0 docs: update about page 2022-05-23 09:23:07 +02:00
Kasper Nilsson
515300bb26 Respond to review feedback 2022-05-20 22:33:50 +02:00
Kasper Nilsson
2875fbe1c9 Make option a callback, update docs 2022-05-20 22:33:50 +02:00
Dominik Biedebach
23e67adfa7 feat(extension-link): add validate option to link extension
#2779
2022-05-16 12:00:25 +02:00
Felix Klein
ccc37d5f24 add support for CSP nonces in createStyleTag 2022-05-13 14:11:52 +02:00
Dominik Biedebach
80de6cdf18 refactor(global): remove yarn in favor for npm
re #2087
2022-05-13 10:18:12 +02:00
Markus Krause
95cefefc77 Update team 2022-05-11 16:49:38 +02:00
Patrick Baber
07e8c522ea update people 2022-05-10 19:42:23 +02:00
aguingand
02cf9fc867 Docs: fix file names in PHP installation 2022-04-14 00:22:31 +02:00
Philipp Kühn
a97a46fc51 feat: add allowBase64 option to image extension 2022-02-09 12:21:26 +01:00
Ricardo Amaral
7ce6687184
feat: Allow individual Typography rules to be disabled (#2449) 2022-02-04 10:14:00 +01:00
Angad Sethi
e9926438ea
docs: Typo in Focus Command Documentation of Editor (#2476)
A pretty small fix. The word `boolean` was misspelled.
2022-02-03 10:15:34 +01:00
Hans Pagel
e12b3ad80f docs: remove broken link 2022-01-27 23:43:05 +01:00
Hans Pagel
bd266000dc docs: add ueberdosis/tiptap-php 2022-01-27 23:04:05 +01:00
Philipp Kühn
0aa39f93cb feat: add selectTextblockStart and selectTextblockEnd commands 2022-01-25 10:35:39 +01:00
George Marios
5a58153457
docs: Nuxt specific corrections (#2410)
* Nuxt specific corrections

Minor adjustments so that the example doesn't need tinkering to run in latest default Nuxt installation.

Line 38: Nuxt does not use a src folder by default & convert name to multi-word to avoid naming convention errors.
Line 83: Removed id attribute from page container div. Nuxt adds its own id="app" to the app root container.
Line 85:  Convert name to multi-word to avoid naming convention errors.
Line 91: Fix typo client-only

* Refactor: Change component name to TiptapEditor

* docs: changed path notation for new component
2022-01-21 11:05:02 +01:00
Philipp Kühn
3215d8d6f8 docs: improve typescript docs, fix #2407 2022-01-20 11:53:45 +01:00
Hans Pagel
21c8a71f73 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2022-01-18 22:00:34 +01:00
Hans Pagel
ff1a01beae docs: add new job 2022-01-18 22:00:31 +01:00
Markus Krause
941ce64b28 docs: add icons for examples 2022-01-17 13:24:38 +01:00
Philipp Kühn
a35b7fbe2c feat: add exitOnTripleEnter and exitOnArrowDown options to CodeBlock extension 2022-01-05 10:21:23 +01:00
Aiyush-G
1c601f62cd
Update vue3.md (#2350)
npm run dev --> npm run serve
2022-01-04 23:34:27 +01:00
Britta Weiland
338d4b1589
docs: Fix typo in contributing.md (#2352) 2022-01-04 23:21:02 +01:00
Aiyush-G
5c4df33b63
Update vue3.md (#2349)
Gramatical Error:
You’re probably used to bind your data --> You’re probably used to binding your data
Note: addition of -ing
2022-01-04 19:57:12 +01:00
Philipp Kühn
6a94e2fa62 dependencies: update 2022-01-04 10:02:24 +01:00
Hans Pagel
983d8488b3 docs: update link to job description 2022-01-03 17:51:41 +01:00
nuro
989c027d95
docs: Added setup script syntax to Vue 3 install docs (#2324) 2022-01-03 11:35:03 +01:00
milahu
83ede65a49
typo (#2338) 2022-01-02 19:03:54 +01:00
hatef
ba3ea081cb
Fix typos in typescript.md (#2339)
Fix some minor typos.
2022-01-02 19:03:27 +01:00
Hans Pagel
f24c7828c2 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-12-17 18:46:22 +01:00
Hans Pagel
6ff0e8ed9c docs: add job 2021-12-17 18:46:20 +01:00
Philipp Kühn
318592ba22
demos: Add setup for plain js demos (#2288)
* add basic js demo

* improve js demos

* change demo button

* fix js demos on build

* add tailwind experiment

* docs: replace tailwind demo

Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-17 13:49:45 +01:00
Hans Pagel
c980bb2f5f Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-12-17 13:18:49 +01:00
Hans Pagel
5f4f52a1f4 docs: add new jobs 2021-12-17 13:18:47 +01:00
Igor Adrov
26e39e1544
docs: fix typo in floating menu docs (#2290) 2021-12-17 12:28:06 +01:00
Philipp Kühn
dd4bcb81f0 fix: allow null and undefined for CharacterCount limit, fix #2276 2021-12-14 19:26:13 +01:00
Philipp Kühn
3d7c8e642f feat: add itemTypeName option 2021-12-11 00:13:24 +01:00
Philipp Kühn
49a99a0410 docs: update content, fix #1821 2021-12-10 14:36:43 +01:00
Hans Pagel
2b44290d58 docs: add a job 2021-12-09 22:20:48 +01:00
Hans Pagel
d2165eb115 docs: update the guide on collaborative editing 2021-12-09 19:56:34 +01:00
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
Philipp Kühn
812c49bcb1 add trademark sign to docs and tests 2021-08-12 14:44:12 +02:00
Philipp Kühn
7a9ba85ba1 fix tests 2021-08-12 10:36:27 +02:00
Domantas
68029b0fbb
docs: disable history buttons when commands are not available (#1721) 2021-08-12 09:56:04 +02:00
Philipp Kühn
9ba61c1582
feat: add key option and shouldShow option to menus (fix #1480, fix #1043, fix #1268, fix #1503)
* add key option to bubble menu

* ignore react for now

* add shouldShow option to bubble menu extension

* improve types

* remove BubbleMenuPluginKey

* add key and shouldShow option to floating menu extension

* fix: don’t show floating menu within code block

* docs: add new menu options
2021-08-11 14:37:58 +02:00
Philipp Kühn
916852fdee docs: fix issue for character count example 2021-08-09 16:37:52 +02:00
castroCrea
aabdfd6f7d
fix: add CreateNodeFromContentOptions to insertContent (#1678)
*  Add CreateNodeFromContentOptions  to insertContent

* 📝 Add it to the doc
2021-08-09 15:40:17 +02:00
Philipp Kühn
463b7b1eb3 dependencies: update 2021-08-09 14:54:24 +02:00
Hans Lemuet
0c6b04f5b0
Fix typo (#1693) 2021-08-08 09:16:22 +02:00
Philipp Kühn
040a539f0f docs: move figure caption to top 2021-07-29 10:18:17 +02:00
Hans Pagel
47d1d3425c
Examples: Syntax highlighting for React (#1583)
* Docs: Syntax highlighting - add react example

* Docs: Clean up syntax highlighting demo, make use of functional component

* fix: focus view asynchronously, fix #1520

Co-authored-by: Sven Adlung <info@svenadlung.de>
Co-authored-by: Philipp Kühn <kontakt@philipp-kuehn.com>
2021-07-28 23:42:11 +02:00
Philipp Kühn
a1f1125c1a docs: add buttons for adding and removing generic figures 2021-07-28 11:22:57 +02:00
Philipp Kühn
73f1c50bca feat: add deleteNode command 2021-07-28 11:19:42 +02:00
Philipp Kühn
f25a65fb19 add generic figure experiment 2021-07-28 00:01:30 +02:00
Tomas Valenta
49dd5d85d5 Fix typo 2021-07-24 00:17:41 +02:00
Arthur McGregor
2d1e91a95b
Update docs with additional typography rules 2021-07-22 10:39:48 +12:00
Hans Pagel
572b31ee96
Merge pull request #1492 from sereneinserenade/main
Adding types to Linter and making the structure a bit easier
2021-07-20 13:54:24 +02:00
Hans Pagel
f1695ad3d6
Update linter.md 2021-07-20 13:53:21 +02:00
Hans Pagel
122f0821aa
Update index.vue 2021-07-16 04:39:17 +02:00
Philipp Kühn
2dcdec25e1 docs: add new collab rooms 2021-07-15 23:27:28 +02:00
William Park
3987e05764 Doc fix: Remove braces from isEmpty & isEditable
Hi! I've updated the docs to make it more clear that `editor.isEmpty` and `editor.isEditable` are bools rather than functions that need called. 

This is a quick fix and I'd recommend these maybe be moved out of the "methods" section of the docs, but as of right now there's no obvious section to move them to, and I don't want to make assumptions about what these should be called.
2021-07-15 19:55:53 +02:00
Markus Machatschek
2559ef1af1 Fix custom start for ordered lists 2021-07-15 13:28:33 +02:00
Hans Pagel
d52af5b71e docs: add keyboard shortcuts for Russian layouts to the docs 2021-07-14 23:51:30 +02:00
Markus Machatschek
b3cf55d686 Readd skipped tests
Fix lint issue
2021-07-14 23:49:45 +02:00
Markus Machatschek
a331d72383 Add russian undo/redo shortcuts and fix tests 2021-07-14 23:49:45 +02:00
Markus Machatschek
6ca7ebde55 Replace node-sass with dart sass and fix deprecation warning 2021-07-14 23:32:09 +02:00
Javier Martínez
3bb1addf29 Fix typo 2021-07-14 15:49:22 +02:00
Hans Pagel
2ebed3054f docs: update link demo, fix #1564 2021-07-10 23:56:29 +02:00
Hans Pagel
d466371d7e docs: fix typo 2021-07-10 23:28:53 +02:00
Hans Pagel
14cb62b46f experiments: add font color extension 2021-07-10 23:19:35 +02:00
Hans Pagel
2019eb6e20 docs: clean up experiments, add some notes here and there 2021-07-10 23:04:05 +02:00
Hans Pagel
5301e6f3d4 add experiments link again 2021-07-10 22:52:05 +02:00
Hans Pagel
2fefcf31da add og images, add json and xml feed, fix minor issues 2021-07-10 22:51:06 +02:00
Hans Pagel
2e40a827fb init blog (wip) 2021-07-09 18:24:23 +02:00
Hans Pagel
1b7ef80603 docs: update content 2021-07-09 18:09:29 +02:00
Philipp Kühn
6ea02176dc dependencies: update 2021-07-09 10:43:04 +02:00
Forrest O
3f733dde3c doc update: onSelection → onSelectionUpdate
live: https://www.tiptap.dev/guide/custom-extensions#events
2021-07-08 22:38:18 +02:00
Hans Pagel
9c64432fc8
Update focus.md 2021-06-29 22:12:51 +02:00
Philipp Kühn
72a33b7540 add react demo for minimal setup 2021-06-25 14:58:22 +02:00
Philipp Kühn
a0e52d9402 add react demo for long texts 2021-06-25 14:53:02 +02:00
Philipp Kühn
790d30df1f add react demo for tasks 2021-06-25 14:48:00 +02:00
Philipp Kühn
e5bac5043c add react demo for formatting 2021-06-25 12:00:39 +02:00
Philipp Kühn
ab4bfe4a8c add react demo for images 2021-06-25 11:53:37 +02:00
Philipp Kühn
2ff148d040 add react demo for tables 2021-06-25 11:39:27 +02:00
Philipp Kühn
68d64baf99 add react demo for markdown shortcuts 2021-06-25 11:28:28 +02:00
Phill Duffy
9abf46b371 Update introduction.md
Registeres to Registers
2021-06-24 22:44:53 +02:00
Tazio
6faf2feec4 VueRenderer documentation with version 3 2021-06-22 22:26:29 +02:00
Hans Pagel
b6e276f12a docs: describe selectAll 2021-06-22 21:35:39 +02:00
Hans Pagel
b226f77754 docs: update event page 2021-06-22 21:33:05 +02:00
Hans Pagel
50a793cd43 docs: update content 2021-06-22 21:28:20 +02:00
Hans Pagel
db8c9d50b2 docs: update link to ueberdosis 2021-06-22 11:40:51 +02:00
Carlo Beltrame
aa9409a027 Improve demo text for gapcursor 2021-06-21 12:27:12 +02:00
Carlo Beltrame
f94c61f77a Fix typo in gapcursor docs 2021-06-21 12:27:12 +02:00
Hans Pagel
ea9aabe1e8
Update document.md 2021-06-19 10:26:50 +02:00
Jeet Mandaliya
38ffcb3894 adding types to LinterPlugin.ts 2021-06-18 23:22:44 +05:30
Jeet Mandaliya
24a9692544 Merge remote-tracking branch 'upstream/main' 2021-06-18 23:14:05 +05:30
Philipp Kühn
b4e41afd17 fix: remove default types for textAlign extension, fix #1430
There are no default types for TextAlign extension anymore. You have to configure by yourself. Usually something like:

```js
TextAlign.configure({
  types: ['heading', 'paragraph'],
})
```
2021-06-18 12:33:18 +02:00
Philipp Kühn
7cb4c9f322 dependencies: update 2021-06-17 23:53:32 +02:00
Philipp Kühn
c8375aa294 docs: update rooms 2021-06-17 21:21:31 +02:00
shadow-light
f130f004fb Correct default for dropcursor color in docs 2021-06-16 16:19:53 +02:00
Hans Pagel
b4fc7a4d0a subscript: fix broken test 2021-06-15 00:16:03 +02:00
Philipp Kühn
3b78af44a0 feat: add renderLabel option to mention extension, see #1322 2021-06-14 16:40:17 +02:00
Philipp Kühn
c64761a9e5 BREAKING CHANGE: data-mention is not used to parse a mention id or label anymore 2021-06-14 16:22:09 +02:00
Philipp Kühn
dee90ff3cd docs: fix task list examples, fix #1417 2021-06-14 15:27:38 +02:00
Philipp Kühn
fe24b6d7de dependencies: udpate 2021-06-14 15:02:26 +02:00
Hans Pagel
2502932fa0 document keyboard shortcuts 2021-06-09 11:57:54 +02:00
Philipp Kühn
6b5c44c97a remove nested experiment 2021-06-09 10:53:20 +02:00
Jeet Mandaliya
962c124d09 adding types to linter extension and it's plugins 2021-06-09 02:11:37 +05:30
Hans Pagel
3f57a13d19 feature: add subscript and superscript extensions, docs and tests 2021-06-08 14:52:38 +02:00
Philipp Kühn
6d72bf6d42 dependencies: update 2021-06-07 23:57:24 +02:00
Jeet Mandaliya
cc696091c9 adding type definitions for Result in linter experimental extension 2021-06-07 14:34:30 +02:00
Hans Pagel
f7a7d23153 add a new job 2021-06-07 12:03:06 +02:00
Jeet Mandaliya
224bb31d82 adding type definitions for Result in linter experimental extension 2021-06-06 00:35:40 +05:30
Philipp Kühn
6212cb46d1 add figureToImage command 2021-06-04 23:58:00 +02:00
Philipp Kühn
3e6d3dca1f docs: update content 2021-06-04 22:58:34 +02:00
Philipp Kühn
592f62ed0e docs: update content 2021-06-04 22:40:36 +02:00
Philipp Kühn
ab5a81e3a8 use foreach command for imageToFigure 2021-06-04 22:26:18 +02:00
Philipp Kühn
af91b811bf refactoring 2021-06-04 15:55:05 +02:00
Philipp Kühn
e680544b7d refactoring 2021-06-04 15:17:52 +02:00
Philipp Kühn
be776e09f9 add imageToFigure command for figure experiment 2021-06-04 15:06:36 +02:00
Philipp Kühn
517ecc577b docs: disable some ligatures for typography docs, fix #1412 2021-06-04 09:56:32 +02:00
Philipp Kühn
c0068d4e67 refactoring 2021-06-04 00:09:47 +02:00
Philipp Kühn
478237dc61 refactoring 2021-06-04 00:05:24 +02:00
Philipp Kühn
53d7172ff1 improve cursor position for figure 2021-06-04 00:01:14 +02:00
Philipp Kühn
38f3601e6f Revert "feat: update lowlight to v2"
This reverts commit 7e96d98a21.
2021-06-03 21:20:36 +02:00
Philipp Kühn
03bfce7419 fix typo 2021-06-03 15:18:54 +02:00
Philipp Kühn
d21d556150 docs: add figure button 2021-06-03 15:10:27 +02:00
Philipp Kühn
c949fb6c7f remove log 2021-06-03 09:59:03 +02:00
Philipp Kühn
4d83e56ff5 debug 2021-06-03 09:51:30 +02:00
Hans Pagel
3593565835 docs: fix styling of frontpage demo 2021-06-03 09:39:38 +02:00
Hans Pagel
af3f96a07c Merge branch 'main' of github.com:ueberdosis/tiptap
# Bitte geben Sie eine Commit-Beschreibung ein, um zu erklären, warum dieser
# Merge erforderlich ist, insbesondere wenn es einen aktualisierten
# Upstream-Branch mit einem Thema-Branch zusammenführt.
#
# Zeilen, die mit '#' beginnen, werden ignoriert,
# und eine leere Beschreibung bricht den Commit ab.
2021-06-03 09:38:01 +02:00
Philipp Kühn
36dad2bbae feat: add setMeta command 2021-06-02 10:50:10 +02:00
Philipp Kühn
b3b297f5ce improve enter behavior for figure 2021-06-01 22:56:24 +02:00
Philipp Kühn
1838d097d0 docs: update content 2021-06-01 18:28:13 +02:00
Philipp Kühn
f5febda470 fix figure drag 2021-06-01 17:48:46 +02:00