svenadlung
00deac42d3
docs: fix docs order and add new pro extensions
2023-03-15 11:58:41 +01:00
svenadlung
928bd36f5f
fix inconsistent tiptap spelling
2023-03-13 19:07:22 +01:00
svenadlung
61a46ee6d0
try to fix docs link order in menu
2023-03-13 19:06:41 +01:00
dependabot[bot]
998e6bbe79
build(deps): bump cypress-io/github-action from 5.0.9 to 5.2.0 ( #3835 )
...
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action ) from 5.0.9 to 5.2.0.
- [Release notes](https://github.com/cypress-io/github-action/releases )
- [Commits](https://github.com/cypress-io/github-action/compare/v5.0.9...v5.2.0 )
---
updated-dependencies:
- dependency-name: cypress-io/github-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 15:49:54 +01:00
Dominik Biedebach
d71dc59beb
WIP - fix undoInputRule
2023-03-04 02:40:52 +01:00
Dominik Biedebach
4ab1bbe64a
WIP - add handling when backspace is pressed at start of a list item
2023-03-04 02:17:52 +01:00
Dominik Biedebach
0b7120c21b
WIP - list backspace behaviour
2023-03-03 17:43:29 +01:00
Dominik
43970fd496
Improve Cypress Test runner performance with parallelization ( #3817 )
...
* test: only run integration tests
* test: only run integration tests
* test: try using test spec matrix
* test: try using test spec matrix
* test: try using test spec matrix
* test: try using test spec matrix
* test: try using test spec matrix
* tests: update test branches
2023-03-03 14:42:11 +01:00
Dominik Biedebach
668c2a6592
tests: increase timeout
2023-03-03 13:00:14 +01:00
Dominik
6283cee5c7
fix(react): allow updating event handlers on editor ( #3811 )
2023-03-03 11:35:53 +01:00
Dominik
1615d7a9bb
feat(react): allow react renderer to assign attributes to react renderer element ( #3812 )
2023-03-03 11:35:24 +01:00
Dominik
f5895c63c4
fix(tests): add assertion for each valid/invalid link ( #3815 )
...
* fix(tests): add assertion for each valid/invalid link
* chore(tests): disable video generation
2023-03-03 11:35:05 +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 Biedebach
10a4a46584
fix(core): fix linting issues
2023-03-03 09:57:49 +01:00
Tim Raderschad
bdc4980343
fix: use prose-base class for sm screens to prevent override of prose-invert ( #3810 )
2023-03-03 00:31:41 +01:00
Dominik Biedebach
1f5e23acd8
fix: package-lock
2023-03-03 00:03:39 +01:00
Abdullah Atta
dd6547da42
core: only check doc.textBetween if other checks pass ( #3778 )
2023-03-02 17:01:36 +01:00
Abdullah Atta
dd3c7618ac
Only allow left mouse button to open links ( #3777 )
...
* Only allow left mouse button to open links
* fix lint errors
2023-03-02 17:00:23 +01:00
Dominik Biedebach
da5c5864ed
v2.0.0-beta.209
2023-02-28 11:11:02 +01:00
Dominik Biedebach
02eec8aaef
fix(tests): fix tests for lists
2023-02-28 10:57:01 +01:00
Dominik
3c07ca0b9c
fix(core): fix destroyed view causing errors on dispatchTransaction ( #3799 )
2023-02-28 10:50:43 +01:00
Dominik Biedebach
26a1d96099
v2.0.0-beta.219
2023-02-27 21:42:53 +01:00
dependabot[bot]
d7ed8af98b
build(deps): bump actions/cache from 3.2.5 to 3.2.6 ( #3795 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3.2.5...v3.2.6 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 21:23:49 +01:00
Dominik
f869507396
fix: update typings for node view decorations ( #3783 )
...
* fix: update typings for node view decorations
* fix(core): update types for NodeView
* fix(core): declare props.decorations as decorationWithType
2023-02-27 21:23:30 +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
Dominik
38b7e412bb
fix(react): reset initialized when editorcontent is unmounting ( #3781 )
...
* fix(react): reset initialized when editorcontent is unmounting
* style: remove unneeded if statement
2023-02-27 19:33:42 +01:00
Dominik
acf186d2ac
chore: allow new ReactComponentContent components to be created ( #3782 )
...
* chore: allow users to create new react nodeview editor content components
* style: remove trailing spaces
2023-02-27 19:31:40 +01:00
Dominik
0300630a5b
fix(core): allow insertContentAt and insertContent text node arrays ( #3790 )
...
* fix(core): allow insertContentAt and insertContent to handle array of text nodes
* fix(core): allow insertContent via json including a text content
2023-02-27 19:26:14 +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
89cc59a837
fix : #3773 - Array for content breaks editor ( #3786 )
...
* fix : #3773 - Array for content breaks editor
* fix: lint warning
2023-02-24 15:03:20 +01:00
Sven Adlung
8bf8fd2452
fix: move y-prosemirror to peer-deps ( #3763 )
...
Co-authored-by: Dominik <6538827+bdbch@users.noreply.github.com>
2023-02-22 10:14:19 +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
dependabot[bot]
10f90695e8
build(deps): bump cypress-io/github-action from 5.0.8 to 5.0.9 ( #3766 )
...
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action ) from 5.0.8 to 5.0.9.
- [Release notes](https://github.com/cypress-io/github-action/releases )
- [Commits](https://github.com/cypress-io/github-action/compare/v5.0.8...v5.0.9 )
---
updated-dependencies:
- dependency-name: cypress-io/github-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 14:38:43 +01:00
Kyle Alwyn
aa4389883a
Queue flushSync microtask ( #3533 )
...
Do the same thing as https://github.com/ueberdosis/tiptap/pull/3188
2023-02-18 22:47:11 +01:00
Jack Sleight
26c349848e
Export createNodeFromContent
and other missing helpers ( #3558 )
2023-02-18 22:44:32 +01:00
Ta'zirah Marwan
125caf4965
Add Plugin Key to placeholder component. ( #3652 )
...
* Add Plugin Key to placeholder component.
Key added to fix error duplicate plugin when using `Placeholder` component.
* Add PluginKey import
---------
Co-authored-by: Dominik <6538827+bdbch@users.noreply.github.com>
2023-02-18 21:33:33 +01:00
Flamenco
c8f8295146
Add onFirstRender callback option ( #3600 )
...
* Added onFirstRender callback option
This PR is a simple forwarding of a very useful callback from the ySyncPlugin.
* Fix invalid function name
2023-02-18 18:41:00 +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
Simon He
5c9c85070e
chore: add eslintcache ( #3525 )
2023-02-18 18:27:02 +01:00
Harrison Lo
c2f8347025
Override schema text serializers if provided in getText options ( #3672 )
2023-02-18 18:26:49 +01:00
Rico
cb84d9a396
Use Tailwind CDN direclty? ( #3643 )
...
I realized that if I use Tailwind's CDN directly, you can have it react to dark mode directly.
2023-02-18 17:44:47 +01:00
Dominik Biedebach
1b3d0f5ecb
v2.0.0-beta.218
2023-02-18 17:42:09 +01:00
Dominik
7ad54ea86a
fix(typography): dont create fractions in the middle of a string ( #3762 )
2023-02-18 17:41:37 +01:00
James Taber
6997bcad6b
fix(extension-link): Click handler opens selected link instead of clicked link ( #3732 )
2023-02-18 17:19:04 +01:00
Jie
a81019a6b7
Extend nodePasteRule
find
type to most generic PasteRuleFinder
( #3759 )
2023-02-18 16:48:45 +01:00
Ray Bateman
d8967a7d63
Fix type for BubbleMenu prop pluginKey ( #3678 )
2023-02-18 16:47:19 +01:00
Justin Maier
4cd35d438c
Update regex to exclude channel URL unfurling ( #3750 )
2023-02-18 15:06:34 +01:00
dependabot[bot]
4b1fb1c60d
build(deps): bump actions/setup-node from 3.5.1 to 3.6.0 ( #3613 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3.5.1...v3.6.0 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 15:06:11 +01:00
dependabot[bot]
2ff6a0162e
build(deps): bump actions/upload-artifact from 3.1.0 to 3.1.2 ( #3610 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3.1.0...v3.1.2 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 15:05:36 +01:00