Commit Graph

2152 Commits

Author SHA1 Message Date
Courtland Allen
e311f9fc5e
Improve wording of menus.md 2023-08-06 18:25:34 -07:00
Patrick Baber
92688f1b16
update cloud docs (#4247) 2023-08-05 01:45:55 +02:00
Robin
1c5902131d
Fix HocusPocus typo in introduction.md (#4275) 2023-08-03 10:31:04 +02:00
Ben Lewis
7cf17d0b0c
Add support for custom selection builders (#4128)
* Add support for custom cursor builders

* Add documentation for selectionRender

---------

Co-authored-by: Ben Lewis <ben@engageli.com>
2023-08-03 10:30:28 +02:00
Martin Kriegeskorte
4bd507af56 docs: highlight ai 2023-07-30 21:39:45 -07:00
Martin Kriegeskorte
8c3ea97ca0 docs: add ai to docs 2023-07-30 20:08:55 -07:00
tsukinose
cf221995cc
docs: fix HTML tag
Fix p tag to h1 tag
2023-07-25 13:58:03 +02:00
svenadlung
bdc51d12b5 Merge branch 'main' into develop
# Conflicts:
#	CHANGELOG.md
#	demos/CHANGELOG.md
#	demos/package-lock.json
#	demos/package.json
#	demos/src/Examples/CollaborativeEditing/React/index.jsx
#	lerna.json
#	package-lock.json
#	packages/core/CHANGELOG.md
#	packages/core/package.json
#	packages/extension-blockquote/CHANGELOG.md
#	packages/extension-blockquote/package.json
#	packages/extension-bold/CHANGELOG.md
#	packages/extension-bold/package.json
#	packages/extension-bubble-menu/CHANGELOG.md
#	packages/extension-bubble-menu/package.json
#	packages/extension-bullet-list/CHANGELOG.md
#	packages/extension-bullet-list/package.json
#	packages/extension-character-count/CHANGELOG.md
#	packages/extension-character-count/package.json
#	packages/extension-code-block-lowlight/CHANGELOG.md
#	packages/extension-code-block-lowlight/package.json
#	packages/extension-code-block/CHANGELOG.md
#	packages/extension-code-block/package.json
#	packages/extension-code/CHANGELOG.md
#	packages/extension-code/package.json
#	packages/extension-collaboration-cursor/CHANGELOG.md
#	packages/extension-collaboration-cursor/package.json
#	packages/extension-collaboration/CHANGELOG.md
#	packages/extension-collaboration/package.json
#	packages/extension-color/CHANGELOG.md
#	packages/extension-color/package.json
#	packages/extension-document/CHANGELOG.md
#	packages/extension-document/package.json
#	packages/extension-dropcursor/CHANGELOG.md
#	packages/extension-dropcursor/package.json
#	packages/extension-floating-menu/CHANGELOG.md
#	packages/extension-floating-menu/package.json
#	packages/extension-focus/CHANGELOG.md
#	packages/extension-focus/package.json
#	packages/extension-font-family/CHANGELOG.md
#	packages/extension-font-family/package.json
#	packages/extension-gapcursor/CHANGELOG.md
#	packages/extension-gapcursor/package.json
#	packages/extension-hard-break/CHANGELOG.md
#	packages/extension-hard-break/package.json
#	packages/extension-heading/CHANGELOG.md
#	packages/extension-heading/package.json
#	packages/extension-highlight/CHANGELOG.md
#	packages/extension-highlight/package.json
#	packages/extension-history/CHANGELOG.md
#	packages/extension-history/package.json
#	packages/extension-horizontal-rule/CHANGELOG.md
#	packages/extension-horizontal-rule/package.json
#	packages/extension-image/CHANGELOG.md
#	packages/extension-image/package.json
#	packages/extension-italic/CHANGELOG.md
#	packages/extension-italic/package.json
#	packages/extension-link/CHANGELOG.md
#	packages/extension-link/package.json
#	packages/extension-list-item/CHANGELOG.md
#	packages/extension-list-item/package.json
#	packages/extension-mention/CHANGELOG.md
#	packages/extension-mention/package.json
#	packages/extension-ordered-list/CHANGELOG.md
#	packages/extension-ordered-list/package.json
#	packages/extension-paragraph/CHANGELOG.md
#	packages/extension-paragraph/package.json
#	packages/extension-placeholder/CHANGELOG.md
#	packages/extension-placeholder/package.json
#	packages/extension-strike/CHANGELOG.md
#	packages/extension-strike/package.json
#	packages/extension-subscript/CHANGELOG.md
#	packages/extension-subscript/package.json
#	packages/extension-superscript/CHANGELOG.md
#	packages/extension-superscript/package.json
#	packages/extension-table-cell/CHANGELOG.md
#	packages/extension-table-cell/package.json
#	packages/extension-table-header/CHANGELOG.md
#	packages/extension-table-header/package.json
#	packages/extension-table-row/CHANGELOG.md
#	packages/extension-table-row/package.json
#	packages/extension-table/CHANGELOG.md
#	packages/extension-table/package.json
#	packages/extension-task-item/CHANGELOG.md
#	packages/extension-task-item/package.json
#	packages/extension-task-list/CHANGELOG.md
#	packages/extension-task-list/package.json
#	packages/extension-text-align/CHANGELOG.md
#	packages/extension-text-align/package.json
#	packages/extension-text-style/CHANGELOG.md
#	packages/extension-text-style/package.json
#	packages/extension-text/CHANGELOG.md
#	packages/extension-text/package.json
#	packages/extension-typography/CHANGELOG.md
#	packages/extension-typography/package.json
#	packages/extension-underline/CHANGELOG.md
#	packages/extension-underline/package.json
#	packages/extension-youtube/CHANGELOG.md
#	packages/extension-youtube/package.json
#	packages/html/CHANGELOG.md
#	packages/html/package.json
#	packages/pm/CHANGELOG.md
#	packages/pm/package.json
#	packages/react/CHANGELOG.md
#	packages/react/package.json
#	packages/starter-kit/CHANGELOG.md
#	packages/starter-kit/package.json
#	packages/suggestion/CHANGELOG.md
#	packages/suggestion/package.json
#	packages/vue-2/CHANGELOG.md
#	packages/vue-2/package.json
#	packages/vue-3/CHANGELOG.md
#	packages/vue-3/package.json
2023-07-17 13:03:44 +02:00
Sebastian Schrama
849704c2d6 fixed wording 2023-07-11 11:12:17 -07:00
bdbch
d689e2d9c1
React context implementation for Tiptap (#4192)
* feat(react): add react context implementation

* chore(docs): updated react docs & demos for new context

* chore(docs): added slot docs

* chore(docs): fix typo

* chore(react): use correct editor package

* fix typo in react installation docs

* update react typings to latest version

* fix types

---------

Co-authored-by: bdbch <dominik@bdbch.com>
2023-07-11 18:20:43 +02:00
Patrick Baber
1fe94efa2d
add link to version 1 of the docs (#4197) 2023-07-10 23:58:33 +02:00
Rico
853650885b
feat(docs): added cdn installation guide (#4045)
* Update cdn.md

Added 3 examples of CDN usage.

* Update installation.md

Uncommented CDN line

* Update cdn.md

removed Skypack -- not reliable in testing with Codepen.

* Update cdn.md

removed esm.run. I couldn't solve the issue.
2023-07-07 15:35:07 +02:00
Dominik
7e38c0fa0a
New Cut Command & Position Mapping for insertContentAt (#4141)
* feature(core): add cut commandd and map positions for insertContent

* docs(core): added docs for cut command

* chore(demos): added demo for cut command

---------

Co-authored-by: bdbch <dominik@bdbch.com>
2023-07-07 13:17:13 +02:00
Hadi El Yakhni
c716ca199c
typo (#4175) 2023-07-07 10:57:06 +02:00
Patrick Baber
781cdfa54e
remove outdated screencasts (#4169) 2023-06-29 03:46:43 +02:00
Timo
b6183362a8
add missing editor getters (#4150) 2023-06-25 02:58:07 +02:00
svenadlung
238a3f0fde remove link to support packages 2023-06-24 12:13:28 -07:00
Jan Thurau
2a86ac0774
adds cloud docs 2023-06-14 22:01:37 +02:00
Jan Thurau
2cb2d379f1
adds overview page for /docs/tutorials 2023-06-12 21:45:39 +02:00
Jan Thurau
4ad21341f2
react docs 2023-06-02 18:26:24 +02:00
Jan Thurau
87925f2b91
docs: tutorials: adds react examples, makes it possible to add Lexical-React as a code type 2023-05-31 22:39:18 +02:00
Patrick Baber
614fc8082c
feat: add tiptap class
* update docs
* update demos
2023-05-25 13:45:06 +02:00
Jan Thurau
220d5646cd
docs: tiptap collab tutorial 2023-05-24 19:40:08 +02:00
Jan Thurau
c8eb9c3249
docs/posts/1: TiptapCollab -> Tiptap Collab 2023-05-24 17:52:32 +02:00
Jan Thurau
acf81b19b7
docs/posts/1: TiptapCollab -> Tiptap Collab 2023-05-24 17:51:52 +02:00
Jan Thurau
acaa0cd8d3
Merge pull request #3978 from xlei1123/main
Update js.md
2023-05-18 22:06:30 +02:00
Jan Thurau
dfae03bae8
Merge pull request #4041 from marcuslyons/patch-3
fix: missing word in toggle-node.md
2023-05-18 22:04:01 +02:00
Jan Thurau
8de3c7ccf9
Merge pull request #4040 from marcuslyons/patch-2
fix: typo in focus.md
2023-05-18 22:03:23 +02:00
Marcus Lyons
ac4a18cf05
Fix typo in vue.md 2023-05-18 06:37:13 -06:00
Jan Thurau
d0c78bae56
TiptapCollab blog post series: WIP 4 2023-05-16 19:35:02 +02:00
Jan Thurau
e7bdd34279
TiptapCollab blog post series: WIP 3 2023-05-15 21:17:02 +02:00
Jan Thurau
6e420b602c
TiptapCollab blog post series: WIP 2 2023-05-14 23:10:12 +02:00
Jan Thurau
e2f79e9d63
Merge pull request #4023 from ueberdosis/docs/tiptapCollabBlogSeries
TiptapCollab blog post series: first WIP
2023-05-14 21:38:02 +02:00
Martin Kriegeskorte
9cc6c67685 docs: add tiptap collab ctas 2023-05-12 12:14:35 +02:00
Marcus Lyons
1436f3e24e
fix: missing word in toggle-node.md 2023-05-11 11:56:36 -06:00
Marcus Lyons
64731e1a1a
fix: typo in focus.md 2023-05-11 10:00:31 -06:00
Marcus Lyons
a2a9822f24
fix: typo in commands.md 2023-05-10 16:50:14 -06:00
Jan Thurau
63a56639fc
TiptapCollab blog post series: first WIP 2023-05-07 21:14:57 +02:00
口袋
e5f61e88f1
Update js.md
Delete redundant the vue file
2023-04-24 08:28:36 +08:00
svenadlung
5a142fd41c update demo styles 2023-03-30 15:32:04 +02:00
svenadlung
1e4e8a80f2 docs: fix nodes list 2023-03-29 18:18:12 +02:00
Sven Adlung
5da7f20428
docs: prepare for stable release (#3892)
* docs: changelogs

* docs: about
2023-03-29 11:38:57 +02:00
Sven Adlung
1f2911b111
docs: remove pro extension callout from collab docs (#3883) 2023-03-27 15:42:43 +02:00
Sven Adlung
aed9cb0643
docs: update nodes and extensions lists (#3886) 2023-03-27 15:21:52 +02:00
Martin Kriegeskorte
3a9b775bda docs: link to support page 2023-03-21 17:50:19 +01:00
svenadlung
84ac1dc9c7 update docs 2023-03-15 17:05:59 +01:00
svenadlung
9d2e94a857 docs: update extension list 2023-03-15 13:39:13 +01:00
svenadlung
00deac42d3 docs: fix docs order and add new pro extensions 2023-03-15 11:58:41 +01:00
René Eschke
b2ec51374d
Adds attributes to toggleList (#3776)
* Adds attributes to toggleList

When dealing with different variants of bullet lists, I wanted to adopt the same technique I used for different paragraph variants. Since `wrapInList` is capable of receiving attributes, just like `setNode` is, I don't see any reason why `toggleList` should not be capable of the same. 

Here's my bullet list extension in action that is in need of attributes support.

```js
export const CustomBulletList = BulletList.extend({
  content: 'listItem*',

  addAttributes() {
    return {
      variant: {
        default: DEFAULT_LIST,

        renderHTML: attributes => {
          return {
            class: `list-${attributes.variant}`,
          };
        },
      },
    };
  },

  addCommands() {
    return {
      toggleBulletList: attributes => (c) => {
        return c.commands.toggleListCustom(this.name, this.options.itemTypeName, attributes);
      },
    };
  },
});
```

* Update toggle-list.md

* Update toggle-list.md
2023-03-03 09:59:45 +01:00
Dominik
e597809c11
docs: add extension cli note to contributing docs (#3793)
* docs: add extension cli note to contributing docs

* docs: add notes to CLI

* docs: fix rollup and vite naming
2023-02-27 21:22:34 +01:00
taras-turchenko-moc
1ac3070abc
add optionalSlashSlash to protocol options (#3675)
* add optionalSlashSlash to protocol options

* Update documentation

* rename optionalSlashSlash to optionalSlashes

* regenerate package-lock.json with node v16
2023-02-27 14:03:47 +01:00
Peter Fox
82625644be
Update php.md (#3618)
Changes are based on reading this thread https://github.com/ueberdosis/tiptap/issues/1515#issuecomment-896477157

This example relies on AlpineJS still and doing causes the editor to be wrapped in an observable/reactive layer. Moving the editor out of the returned object means it doesn't become a proxy object; otherwise, `editor.commands.setContent(content, false)` will already trigger an error `Range Error: Applying a mismatched transaction` and not work.
2023-02-24 15:14:28 +01:00
Hari Haran
36bb1e1041
feat: #3540 Ability to preserve marks on lists (#3541)
* feat: #3540 Ability to preserve marks on lists

* feat: preserveAttrs in list items

* `keepMarks` is working, but need help with `keepAttrs`

* fix: conflict

* avoid casting
2023-02-22 10:13:28 +01:00
Ed Pelc
5b5822a251
document removing or overriding link attributes (#3576)
The documentation mentions being able to override the `rel` on links but doesn't explain how. It also doesn't tell you how to remove the rel if needed(set to null).

Add an example of removing a default attribute and overriding one to a different value.
2023-02-18 18:39:13 +01:00
Sven Adlung
a66eb6b62a
Make y-prosemirror a peer dependency (extension-collaboration) (#3697)
* refactor(extension-collaboration): make y-prosemirror a peer dep

* docs: update installation of extension-collaboration

---------

Co-authored-by: Dominik <6538827+bdbch@users.noreply.github.com>
2023-02-07 10:20:37 +01:00
Sven Adlung
545ac62bdc
Update installation guides (#3698)
* docs: update installation guides

* docs: remove base setup

* docs: complete the prosemirror package documentation
2023-02-07 10:18:53 +01:00
James
523aa5ce44
Added CSS Required for Setup (#3711)
* Added CSS Setup Context

It was previously not clear that additional CSS was required to display placeholders.

* Fixed Typo.
2023-02-07 10:07:50 +01:00
Dominik Biedebach
ecd0ea38d5 remove peer deps link 2023-02-02 18:06:15 +01:00
Dominik
f387ad3dd4
feat(pm): new prosemirror package for dependency resolving
* chore:(core): migrate to tsup

* chore: migrate blockquote and bold to tsup

* chore: migrated bubble-menu and bullet-list to tsup

* chore: migrated more packages to tsup

* chore: migrate code and character extensions to tsup

* chore: update package.json to simplify build for all packages

* chore: move all packages to tsup as a build process

* chore: change ci build task

* feat(pm): add prosemirror meta package

* rfix: resolve issues with build paths & export mappings

* docs: update documentation to include notes for @tiptap/pm

* chore(pm): update tsconfig

* chore(packages): update packages

* fix(pm): add package export infos & fix dependencies

* chore(general): start moving to pm package as deps

* chore: move to tiptap pm package internally

* fix(demos): fix demos working with new pm package

* fix(tables): fix tables package

* fix(tables): fix tables package

* chore(demos): pinned typescript version

* chore: remove unnecessary tsconfig

* chore: fix netlify build

* fix(demos): fix package resolving for pm packages

* fix(tests): fix package resolving for pm packages

* fix(tests): fix package resolving for pm packages

* chore(tests): fix tests not running correctly after pm package

* chore(pm): add files to files array

* chore: update build workflow

* chore(tests): increase timeout time back to 12s

* chore(docs): update docs

* chore(docs): update installation guides & pm information to docs

* chore(docs): add link to prosemirror docs

* fix(vue-3): add missing build step

* chore(docs): comment out cdn link

* chore(docs): remove semicolons from docs

* chore(docs): remove unnecessary installation note

* chore(docs): remove unnecessary installation note
2023-02-02 17:37:33 +01:00
Mattias Reichel
e934b5e57e
Update schema.md (#3645)
The schema definition exmaple uses the node name `document` while the explaining text says that the node name is `doc`.
2023-01-27 14:39:24 +01:00
N0N1m3
3a04d9e4b5
fix(typo): typescript.md (#3657)
Add a forgotten quotation mark in the import and specify the language in md code block
2023-01-26 15:47:14 +01:00
Martin Kriegeskorte
cf47b2b08b docs: remove early access hint 2023-01-20 15:53:54 +01:00
Zaymon Antonio
acf833abec
🧹 Allow editor.setEditable to omit updates (#3301)
* 🧹 Allow `editor.setEditable` to omit updates

* 📚 Document change to `editor.setEditable`
2023-01-20 09:55:28 +01:00
Au
acca921184
Update sink-list-item.md (#3629)
correct text copy
2023-01-19 10:36:53 +01:00
Martin Kriegeskorte
7dc92014fd docs: update hocuspocus hints 2023-01-18 16:13:27 +01:00
Martin Kriegeskorte
69e24da87d docs: about & collab 2023-01-18 15:34:19 +01:00
svenadlung
62d42275c5 docs: remove sponsor box 2022-12-23 00:12:46 +01:00
svenadlung
2399a9c2ca docs: improve peer dependency hints 2022-12-23 00:00:57 +01:00
svenadlung
c519716720 docs: improve texts 2022-12-22 23:18:29 +01:00
svenadlung
96fce8a2fc docs: fix text 2022-12-22 23:17:37 +01:00
svenadlung
e367d5ecfc docs: explain peer dependencies 2022-12-22 23:15:57 +01:00
svenadlung
b05433272c docs: refactor installation docs 2022-12-22 22:46:43 +01:00
Martin Kriegeskorte
e82eacfee0 docs: fix typo in job description 2022-12-22 18:05:09 +01:00
Martin Kriegeskorte
a044c83434 docs: add job IllumIDesk 2022-12-22 17:48:12 +01:00
svenadlung
7fd639796f update sandboxes 2022-12-21 13:11:39 +01:00
Dominik Biedebach
5380758365 docs: add installation notes to extensions 2022-12-08 12:26:12 +01:00
Dominik Biedebach
898c74f7bf docs: remove unnecessary text in docs 2022-12-08 12:23:58 +01:00
Dominik Biedebach
3905a2627d docs: add note about starter-kit dependencies 2022-12-08 12:23:01 +01:00
Dominik Biedebach
347e7be175 docs(docs): update formatting on installation guide 2022-12-08 11:59:18 +01:00
Dominik Biedebach
dae0ba26f7 docs(docs): add new installation notes for peerDependencies 2022-12-08 11:49:22 +01:00
Jaga Santagostino
736f2e9510
Update menus.md (#3457) 2022-12-07 00:47:18 +01:00
Dominik
343ce756a8
feat(commands): add joinUp and joinDown command (#3455) 2022-11-25 20:37:25 +01:00
williamsk91
ea60900459
typo: custom-extensions.md completely (#3447) 2022-11-24 14:49:17 +01:00
Markus Krause
22cccc7f5d
Update jobs.md (#3432) 2022-11-21 11:49:23 +01:00
Taís Massaro
2afa8ad9eb
docs(svelte): fix link to get started with svelte (#3396)
* docs(svelte): fix link to get started with svelte

While going through the docs, I noticed the Svelte docs linked to the Vue docs on how to get started.

* docs(svelte): update sveltekit create command
2022-11-11 16:36:16 +01:00
svenadlung
5fb4d98c12 Merge branch 'main' of github.com:ueberdosis/tiptap
# Conflicts:
#	README.md
2022-11-07 21:42:04 +01:00
svenadlung
b43eecfcc1 docs: fix typos 2022-11-07 21:41:00 +01:00
Dominik Biedebach
3d04941c64 style(extension/bubble-menu): change delay option to updateDelay 2022-11-04 22:04:47 +01:00
Dominik Biedebach
5fa9be9a2c chore(docs): update documentation for youtube node 2022-11-04 16:52:09 +01:00
Dominik
cd5fd606d1
refactor(extension/bubble-menu): add debounce to bubble menu updates (#3385)
* refactor(extension/bubble-menu): add debounce to bubble menu updates

* fix: change default duration in react bubble menu demo
2022-11-04 16:39:41 +01:00
François Robichet
06af8b123a
fix(docs): typo (#3362) 2022-11-04 00:28:58 +01:00
Luis Cateura
c1cf33c7bf
Feature/youtube parameters (#3307)
* Fixed allowFullscreen not working correctly. Added autoplay and progress bar color parameters

* Added cc language preference, cc load policy, disable keyboard controls, end time and interface language parameters

* Added enable IFrame API, iv load policy, loop, modest branding, origin and playlist parameters

* Updated the youtube extension documentation

Co-authored-by: luis.feliu <luis.feliu@mentormate.com>
2022-10-17 17:28:30 +02:00
svenadlung
40b8967063 docs: add new job 2022-10-17 14:57:43 +02:00
Daniel Yuen
18ffa5e083
Fixed typo in docs (#3265)
Fixed typo in drawing.md docs.

want -> wanted
2022-10-06 16:01:48 +02:00
Niels Lanting
9ea1140458
docs: link YouTube node docs to proper GitHub url (#3283) 2022-10-06 15:55:30 +02:00
Dominik Biedebach
b896cc2439 docs(extension/mention): 📝 add mention of peer dependency in mention extension 2022-09-14 01:10:19 +02:00
Carlo Beltrame
06827dd052
Fix typo in docs (#3162) 2022-09-10 14:01:00 +02:00
Mohammad Hussain Nagaria
19d29297ef
fix: Typo (#3132) 2022-09-01 13:57:20 +02:00
Dominik
5fed0f2fc6
feature(core): add exit handling for marks (#2925)
* feat(core): add exit handling for marks

* docs(core): add information about exitable marks
2022-08-22 15:23:44 +02:00
Jeet Mandaliya
6a51faded7
docs(extensions): mention community extensions and discussion thread (#2991) 2022-08-22 12:59:09 +02:00