Commit Graph

1930 Commits

Author SHA1 Message Date
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
Philipp Kühn
faddc873ad Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-06-01 17:44:42 +02:00
Philipp Kühn
fa8711e2a8 add nested editor experiment 2021-06-01 17:44:40 +02:00
Hans Pagel
51255c1a8b docs: add a new job 2021-06-01 17:10:20 +02:00
Hans Pagel
639eb5cf4d docs: add a introduction page 2021-06-01 17:06:44 +02:00
Hans Pagel
87611d812a experiments: add a figure + figcaption node 2021-06-01 16:58:50 +02:00
Philipp Kühn
9d49dd3113 dependencies: update 2021-05-31 20:49:49 +02:00
Philipp Kühn
7e96d98a21 feat: update lowlight to v2 2021-05-31 20:49:42 +02:00
Philipp Kühn
afc6ecd2f2 dependencies: update 2021-05-29 20:14:06 +02:00
Jonathan
e7fefff466
Wording improvement
Just a tiny improvement to the wording used
2021-05-28 23:03:23 +01:00
Philipp Kühn
a24e33350c test: fix text align tests 2021-05-28 15:35:05 +02:00
Hans Pagel
ee9ff28d31 docs: update content 2021-05-28 11:45:52 +02:00
Hans Pagel
c17c473219 docs: wording 2021-05-28 09:57:43 +02:00
Hans Pagel
b6235d7266 experiments: add a priority to the collaboration annotation experiment 2021-05-28 09:55:37 +02:00
Hans Pagel
5858871ca8 docs: update content 2021-05-27 22:19:11 +02:00
Hans Pagel
98b0e3fe5e docs: add content for the focus and setTextSelection command 2021-05-27 21:37:47 +02:00
Philipp Kühn
03d213ba8b dependencies: update 2021-05-27 18:52:37 +02:00
Philipp Kühn
61094d9028 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-05-27 18:33:18 +02:00
Philipp Kühn
c1e2edce46 docs: fix demo 2021-05-27 18:13:17 +02:00
Hans Pagel
fd6f3fed4c docs: update content 2021-05-27 10:53:34 +02:00
MoPaMo
e304cb5dca
Make HTML in docs valid
You were missing an `<html>`-starter tag,  so users who copy-pasted the code would have experienced errors - not a very good first impression…
(Furthermore, I changed `<!doctype html>` to `<!DOCTYPE html>`since that's just more common)
2021-05-26 12:52:45 +02:00
Hans Pagel
9e83413967 docs: add a jobs page 2021-05-20 18:34:15 +02:00