svenadlung
1e4e8a80f2
docs: fix nodes list
2023-03-29 18:18:12 +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
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
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
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
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
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
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
svenadlung
2399a9c2ca
docs: improve peer dependency hints
2022-12-23 00:00:57 +01:00
Dominik Biedebach
5380758365
docs: add installation notes to extensions
2022-12-08 12:26:12 +01:00
Dominik
343ce756a8
feat(commands): add joinUp and joinDown command ( #3455 )
2022-11-25 20:37:25 +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
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
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
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
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
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
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
Patrick Baber
07e8c522ea
update people
2022-05-10 19:42:23 +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
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
Philipp Kühn
a35b7fbe2c
feat: add exitOnTripleEnter and exitOnArrowDown options to CodeBlock extension
2022-01-05 10:21:23 +01:00
Philipp Kühn
6a94e2fa62
dependencies: update
2022-01-04 10:02:24 +01:00
milahu
83ede65a49
typo ( #2338 )
2022-01-02 19:03:54 +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
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
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
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
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
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
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
Hans Pagel
f45c8d0ca7
docs: use regular case for Tiptap
2021-10-19 22:30:45 +02:00
Hans Pagel
53f815a53c
docs: replace embeds with just the URL
2021-10-18 18:01:47 +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
0edc57245c
docs: add descriptions to all extensions
2021-10-14 00:13:50 +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
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
6bad741cd6
docs: update the setOptions usage example
2021-10-01 21:42:34 +02:00