sync develop with main (#6330)

* sync develop with main

* added changesets
This commit is contained in:
bdbch 2025-05-07 20:17:54 +02:00 committed by GitHub
parent e28aacb736
commit 8c690025c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
59 changed files with 697 additions and 1 deletions

View File

@ -0,0 +1,63 @@
---
'@tiptap/extension-character-count': patch
'@tiptap/extension-table-header': patch
'@tiptap/extension-list-keymap': patch
'@tiptap/extension-placeholder': patch
'@tiptap/extension-dropcursor': patch
'@tiptap/extension-table-cell': patch
'@tiptap/extension-gapcursor': patch
'@tiptap/extension-list-item': patch
'@tiptap/extension-table-row': patch
'@tiptap/extension-task-item': patch
'@tiptap/extension-task-list': patch
'@tiptap/extension-code-block-lowlight': patch
'@tiptap/extension-collaboration-caret': patch
'@tiptap/extension-history': patch
'@tiptap/extension-focus': patch
'@tiptap/extension-horizontal-rule': patch
'tiptap-2-migrate-imports': patch
'@tiptap/extension-collaboration': patch
'@tiptap/extension-floating-menu': patch
'@tiptap/extension-ordered-list': patch
'@tiptap/extension-bubble-menu': patch
'@tiptap/extension-bullet-list': patch
'@tiptap/extension-font-family': patch
'@tiptap/extension-superscript': patch
'@tiptap/extension-blockquote': patch
'@tiptap/extension-code-block': patch
'@tiptap/extension-hard-break': patch
'@tiptap/extension-text-align': patch
'@tiptap/extension-text-style': patch
'@tiptap/extension-typography': patch
'@tiptap/extension-highlight': patch
'@tiptap/extension-paragraph': patch
'@tiptap/extension-subscript': patch
'@tiptap/extension-underline': patch
'@tiptap/extension-document': patch
'@tiptap/extension-heading': patch
'@tiptap/extension-mention': patch
'@tiptap/extension-youtube': patch
'@tiptap/extension-italic': patch
'@tiptap/extension-strike': patch
'@tiptap/extension-color': patch
'@tiptap/extension-image': patch
'@tiptap/extension-table': patch
'@tiptap/static-renderer': patch
'@tiptap/extension-bold': patch
'@tiptap/extension-code': patch
'@tiptap/extension-link': patch
'@tiptap/extension-list': patch
'@tiptap/extension-text': patch
'@tiptap/starter-kit': patch
'@tiptap/extensions': patch
'@tiptap/suggestion': patch
'@tiptap/react': patch
'@tiptap/vue-2': patch
'@tiptap/vue-3': patch
'@tiptap/core': patch
'@tiptap/html': patch
'@tiptap/pm': patch
'tiptap-demos': patch
---
Synced beta with stable features

View File

@ -65,6 +65,12 @@ export default () => {
>
Toggle Right
</button>
<button
onClick={() => editor.chain().focus().toggleTextAlign('right').run()}
className={editor.isActive({ textAlign: 'right' }) ? 'is-active' : ''}
>
Toggle Right
</button>
<button
onClick={() => editor.chain().focus().toggleHeading({ level: 1 }).run()}
className={editor.isActive({ level: 1 }) ? 'is-active' : ''}

View File

@ -94,7 +94,7 @@ context('/src/Extensions/TextAlign/React/', () => {
cy.get('.tiptap').find('p').should('have.css', 'text-align', 'right')
cy.get('button:nth-child(6)').click()
cy.get('.tiptap').find('p').should('have.css', 'text-align', 'start')
cy.get('.tiptap').find('p').should('not.have.css', 'text-align', 'right')
})
it('aligns the text left when pressing the keyboard shortcut', () => {

View File

@ -99,6 +99,16 @@ context('/src/Extensions/TextAlign/Vue/', () => {
cy.get('.tiptap').find('p').should('have.css', 'text-align', 'start')
})
it('toggle the text to right on the 6th button', () => {
cy.get('button:nth-child(6)').click()
cy.get('.tiptap').find('p').should('have.css', 'text-align', 'right')
cy.get('button:nth-child(6)').click()
cy.get('.tiptap').find('p').should('not.have.css', 'text-align', 'right')
})
it('aligns the text left when pressing the keyboard shortcut', () => {
cy.get('.tiptap')
.trigger('keydown', { modKey: true, shiftKey: true, key: 'l' })

View File

@ -33,6 +33,12 @@
>
Toggle Right
</button>
<button
@click="editor.chain().focus().toggleTextAlign('right').run()"
:class="{ 'is-active': editor.isActive({ textAlign: 'right' }) }"
>
Toggle Right
</button>
</div>
</div>
<editor-content :editor="editor" />

View File

@ -67,6 +67,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -63,6 +63,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -96,6 +96,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -63,6 +63,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -67,6 +67,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -368,6 +368,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -372,6 +372,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -65,6 +65,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -190,6 +190,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -190,6 +190,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -190,6 +190,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -64,6 +64,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -368,6 +368,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -638,6 +638,22 @@
- 0ec0af6: fix(core): findDuplicates - use Array.from when converting Set
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
### Patch Changes
- 8147cc7: Fixes a bug where you could not unregister multiple plugins.
## 2.11.7
### Patch Changes
- e23882d: Clone dragged node before dragging to get correct drag preview image
## 2.11.6
### Patch Changes

View File

@ -63,6 +63,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -63,6 +63,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -122,6 +122,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -368,6 +368,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -71,6 +71,14 @@
- @tiptap/extension-code-block@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -67,6 +67,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -67,6 +67,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -75,6 +75,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -73,6 +73,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -63,6 +63,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/extension-text-style@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -63,6 +63,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -126,6 +126,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -63,6 +63,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/extension-text-style@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -63,6 +63,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -67,6 +67,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -63,6 +63,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -67,6 +67,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -67,6 +67,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -63,6 +63,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -75,6 +75,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -131,6 +131,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -368,6 +368,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
### Patch Changes

View File

@ -63,6 +63,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -63,6 +63,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -65,6 +65,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -65,6 +65,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -196,6 +196,18 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
### Patch Changes
- a44a311: Added new export for TableView class
## 2.11.6
## 2.11.5

View File

@ -68,6 +68,18 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
### Patch Changes
- ab7a2ae: Added new `toggleTextAlign` command to TextAlign extension to make toggling text alignments easier to handle
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -189,6 +189,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -63,6 +63,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -63,6 +63,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -63,6 +63,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -63,6 +63,14 @@
- Updated dependencies [0ec0af6]
- @tiptap/core@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
### Patch Changes

View File

@ -68,6 +68,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -52,6 +52,18 @@
## 3.0.0-next.0
## 2.12.0
### Minor Changes
- 896f767: Update prosemirror-changeset library to support token encoders
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
### Patch Changes

View File

@ -446,6 +446,34 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
### Patch Changes
- @tiptap/extension-bubble-menu@2.12.0
- @tiptap/extension-floating-menu@2.12.0
## 2.11.9
### Patch Changes
- @tiptap/extension-bubble-menu@2.11.9
- @tiptap/extension-floating-menu@2.11.9
## 2.11.8
### Patch Changes
- @tiptap/extension-bubble-menu@2.11.8
- @tiptap/extension-floating-menu@2.11.8
## 2.11.7
### Patch Changes
- @tiptap/extension-bubble-menu@2.11.7
- @tiptap/extension-floating-menu@2.11.7
## 2.11.6
### Patch Changes

View File

@ -445,6 +445,113 @@
- @tiptap/extension-strike@3.0.0-next.0
- @tiptap/extension-text@3.0.0-next.0
## 2.12.0
### Patch Changes
- Updated dependencies [896f767]
- @tiptap/pm@2.12.0
- @tiptap/core@2.12.0
- @tiptap/extension-blockquote@2.12.0
- @tiptap/extension-bold@2.12.0
- @tiptap/extension-bullet-list@2.12.0
- @tiptap/extension-code@2.12.0
- @tiptap/extension-code-block@2.12.0
- @tiptap/extension-document@2.12.0
- @tiptap/extension-dropcursor@2.12.0
- @tiptap/extension-gapcursor@2.12.0
- @tiptap/extension-hard-break@2.12.0
- @tiptap/extension-heading@2.12.0
- @tiptap/extension-history@2.12.0
- @tiptap/extension-horizontal-rule@2.12.0
- @tiptap/extension-italic@2.12.0
- @tiptap/extension-list-item@2.12.0
- @tiptap/extension-ordered-list@2.12.0
- @tiptap/extension-paragraph@2.12.0
- @tiptap/extension-strike@2.12.0
- @tiptap/extension-text@2.12.0
- @tiptap/extension-text-style@2.12.0
## 2.11.9
### Patch Changes
- @tiptap/core@2.11.9
- @tiptap/extension-blockquote@2.11.9
- @tiptap/extension-bold@2.11.9
- @tiptap/extension-bullet-list@2.11.9
- @tiptap/extension-code@2.11.9
- @tiptap/extension-code-block@2.11.9
- @tiptap/extension-document@2.11.9
- @tiptap/extension-dropcursor@2.11.9
- @tiptap/extension-gapcursor@2.11.9
- @tiptap/extension-hard-break@2.11.9
- @tiptap/extension-heading@2.11.9
- @tiptap/extension-history@2.11.9
- @tiptap/extension-horizontal-rule@2.11.9
- @tiptap/extension-italic@2.11.9
- @tiptap/extension-list-item@2.11.9
- @tiptap/extension-ordered-list@2.11.9
- @tiptap/extension-paragraph@2.11.9
- @tiptap/extension-strike@2.11.9
- @tiptap/extension-text@2.11.9
- @tiptap/extension-text-style@2.11.9
- @tiptap/pm@2.11.9
## 2.11.8
### Patch Changes
- Updated dependencies [8147cc7]
- @tiptap/core@2.11.8
- @tiptap/extension-blockquote@2.11.8
- @tiptap/extension-bold@2.11.8
- @tiptap/extension-bullet-list@2.11.8
- @tiptap/extension-code@2.11.8
- @tiptap/extension-code-block@2.11.8
- @tiptap/extension-document@2.11.8
- @tiptap/extension-dropcursor@2.11.8
- @tiptap/extension-gapcursor@2.11.8
- @tiptap/extension-hard-break@2.11.8
- @tiptap/extension-heading@2.11.8
- @tiptap/extension-history@2.11.8
- @tiptap/extension-horizontal-rule@2.11.8
- @tiptap/extension-italic@2.11.8
- @tiptap/extension-list-item@2.11.8
- @tiptap/extension-ordered-list@2.11.8
- @tiptap/extension-paragraph@2.11.8
- @tiptap/extension-strike@2.11.8
- @tiptap/extension-text@2.11.8
- @tiptap/extension-text-style@2.11.8
- @tiptap/pm@2.11.8
## 2.11.7
### Patch Changes
- Updated dependencies [e23882d]
- @tiptap/core@2.11.7
- @tiptap/extension-blockquote@2.11.7
- @tiptap/extension-bold@2.11.7
- @tiptap/extension-bullet-list@2.11.7
- @tiptap/extension-code@2.11.7
- @tiptap/extension-code-block@2.11.7
- @tiptap/extension-document@2.11.7
- @tiptap/extension-dropcursor@2.11.7
- @tiptap/extension-gapcursor@2.11.7
- @tiptap/extension-hard-break@2.11.7
- @tiptap/extension-heading@2.11.7
- @tiptap/extension-history@2.11.7
- @tiptap/extension-horizontal-rule@2.11.7
- @tiptap/extension-italic@2.11.7
- @tiptap/extension-list-item@2.11.7
- @tiptap/extension-ordered-list@2.11.7
- @tiptap/extension-paragraph@2.11.7
- @tiptap/extension-strike@2.11.7
- @tiptap/extension-text@2.11.7
- @tiptap/extension-text-style@2.11.7
- @tiptap/pm@2.11.7
## 2.11.6
### Patch Changes

View File

@ -126,6 +126,14 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
## 2.11.9
## 2.11.8
## 2.11.7
## 2.11.6
## 2.11.5

View File

@ -142,6 +142,34 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
### Patch Changes
- @tiptap/extension-bubble-menu@2.12.0
- @tiptap/extension-floating-menu@2.12.0
## 2.11.9
### Patch Changes
- @tiptap/extension-bubble-menu@2.11.9
- @tiptap/extension-floating-menu@2.11.9
## 2.11.8
### Patch Changes
- @tiptap/extension-bubble-menu@2.11.8
- @tiptap/extension-floating-menu@2.11.8
## 2.11.7
### Patch Changes
- @tiptap/extension-bubble-menu@2.11.7
- @tiptap/extension-floating-menu@2.11.7
## 2.11.6
### Patch Changes

View File

@ -441,6 +441,34 @@
- @tiptap/core@3.0.0-next.0
- @tiptap/pm@3.0.0-next.0
## 2.12.0
### Patch Changes
- @tiptap/extension-bubble-menu@2.12.0
- @tiptap/extension-floating-menu@2.12.0
## 2.11.9
### Patch Changes
- @tiptap/extension-bubble-menu@2.11.9
- @tiptap/extension-floating-menu@2.11.9
## 2.11.8
### Patch Changes
- @tiptap/extension-bubble-menu@2.11.8
- @tiptap/extension-floating-menu@2.11.8
## 2.11.7
### Patch Changes
- @tiptap/extension-bubble-menu@2.11.7
- @tiptap/extension-floating-menu@2.11.7
## 2.11.6
### Patch Changes