Commit Graph

1978 Commits

Author SHA1 Message Date
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