Skip to content

Commit

Permalink
chore: format all files
Browse files Browse the repository at this point in the history
  • Loading branch information
nperez0111 committed Nov 1, 2024
1 parent 0d2d722 commit 9f4c900
Show file tree
Hide file tree
Showing 709 changed files with 7,966 additions and 9,534 deletions.
2 changes: 1 addition & 1 deletion .changeset/big-wolves-design.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@tiptap/extension-placeholder": major
'@tiptap/extension-placeholder': major
---

Officially remove the `considerAnyAsEmpty` which has not been used since version 2.5
2 changes: 1 addition & 1 deletion .changeset/chatty-pianos-learn.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@tiptap/core": patch
'@tiptap/core': patch
---

preserve existing node attributes when running setNode
110 changes: 55 additions & 55 deletions .changeset/chilled-trees-agree.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
---
"@tiptap/extension-collaboration-cursor": major
"@tiptap/extension-code-block-lowlight": major
"@tiptap/extension-character-count": major
"@tiptap/extension-horizontal-rule": major
"@tiptap/extension-collaboration": major
"@tiptap/extension-floating-menu": major
"@tiptap/extension-ordered-list": major
"@tiptap/extension-table-header": major
"@tiptap/extension-bubble-menu": major
"@tiptap/extension-bullet-list": major
"@tiptap/extension-font-family": major
"@tiptap/extension-list-keymap": major
"@tiptap/extension-placeholder": major
"@tiptap/extension-superscript": major
"@tiptap/extension-blockquote": major
"@tiptap/extension-code-block": major
"@tiptap/extension-dropcursor": major
"@tiptap/extension-hard-break": major
"@tiptap/extension-table-cell": major
"@tiptap/extension-text-align": major
"@tiptap/extension-text-style": major
"@tiptap/extension-typography": major
"@tiptap/extension-gapcursor": major
"@tiptap/extension-highlight": major
"@tiptap/extension-list-item": major
"@tiptap/extension-paragraph": major
"@tiptap/extension-subscript": major
"@tiptap/extension-table-row": major
"@tiptap/extension-task-item": major
"@tiptap/extension-task-list": major
"@tiptap/extension-underline": major
"@tiptap/extension-document": major
"@tiptap/extension-heading": major
"@tiptap/extension-history": major
"@tiptap/extension-mention": major
"@tiptap/extension-youtube": major
"@tiptap/extension-italic": major
"@tiptap/extension-strike": major
"@tiptap/extension-color": major
"@tiptap/extension-focus": major
"@tiptap/extension-image": major
"@tiptap/extension-table": major
"@tiptap/extension-bold": major
"@tiptap/extension-code": major
"@tiptap/extension-link": major
"@tiptap/extension-text": major
"@tiptap/starter-kit": major
"@tiptap/suggestion": major
"@tiptap/react": major
"@tiptap/vue-2": major
"@tiptap/vue-3": major
"@tiptap/core": major
"@tiptap/html": major
"@tiptap/pm": major
"tiptap-demos": major
'@tiptap/extension-collaboration-cursor': major
'@tiptap/extension-code-block-lowlight': major
'@tiptap/extension-character-count': major
'@tiptap/extension-horizontal-rule': major
'@tiptap/extension-collaboration': major
'@tiptap/extension-floating-menu': major
'@tiptap/extension-ordered-list': major
'@tiptap/extension-table-header': major
'@tiptap/extension-bubble-menu': major
'@tiptap/extension-bullet-list': major
'@tiptap/extension-font-family': major
'@tiptap/extension-list-keymap': major
'@tiptap/extension-placeholder': major
'@tiptap/extension-superscript': major
'@tiptap/extension-blockquote': major
'@tiptap/extension-code-block': major
'@tiptap/extension-dropcursor': major
'@tiptap/extension-hard-break': major
'@tiptap/extension-table-cell': major
'@tiptap/extension-text-align': major
'@tiptap/extension-text-style': major
'@tiptap/extension-typography': major
'@tiptap/extension-gapcursor': major
'@tiptap/extension-highlight': major
'@tiptap/extension-list-item': major
'@tiptap/extension-paragraph': major
'@tiptap/extension-subscript': major
'@tiptap/extension-table-row': major
'@tiptap/extension-task-item': major
'@tiptap/extension-task-list': major
'@tiptap/extension-underline': major
'@tiptap/extension-document': major
'@tiptap/extension-heading': major
'@tiptap/extension-history': major
'@tiptap/extension-mention': major
'@tiptap/extension-youtube': major
'@tiptap/extension-italic': major
'@tiptap/extension-strike': major
'@tiptap/extension-color': major
'@tiptap/extension-focus': major
'@tiptap/extension-image': major
'@tiptap/extension-table': major
'@tiptap/extension-bold': major
'@tiptap/extension-code': major
'@tiptap/extension-link': major
'@tiptap/extension-text': major
'@tiptap/starter-kit': major
'@tiptap/suggestion': major
'@tiptap/react': major
'@tiptap/vue-2': major
'@tiptap/vue-3': major
'@tiptap/core': major
'@tiptap/html': major
'@tiptap/pm': major
'tiptap-demos': major
---

We are now building packages with tsup which does not support UMD builds, please repackage if you require UMD builds
14 changes: 7 additions & 7 deletions .changeset/dirty-bats-look.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
"@tiptap/extension-floating-menu": major
"@tiptap/extension-bubble-menu": major
"@tiptap/extension-mention": major
"@tiptap/suggestion": major
"@tiptap/react": major
"@tiptap/vue-2": major
"@tiptap/vue-3": major
'@tiptap/extension-floating-menu': major
'@tiptap/extension-bubble-menu': major
'@tiptap/extension-mention': major
'@tiptap/suggestion': major
'@tiptap/react': major
'@tiptap/vue-2': major
'@tiptap/vue-3': major
---

Removed tippy.js and replaced it with [Floating UI](https://floating-ui.com/) - a newer, more lightweight and customizable floating element library.
Expand Down
2 changes: 1 addition & 1 deletion .changeset/fresh-coats-relate.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@tiptap/core": minor
'@tiptap/core': minor
---

Previously, only a json representation of the node could be inserted into the editor. This change allows for the insertion of Prosemirror `Node`s and `Fragment`s directly into the editor through the `insertContentAt`, `setContent` and `insertContent` commands.
2 changes: 1 addition & 1 deletion .changeset/funny-otters-protect.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@tiptap/core": patch
'@tiptap/core': patch
---

Addresses a bug with `insertContentAt`'s `simulatedPasteRules` option where it could only accept text and not Prosemirror `Node` and `Content`
4 changes: 2 additions & 2 deletions .changeset/green-wolves-arrive.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
"@tiptap/core": major
'@tiptap/core': major
---

Fix `getPos` type in `NodeViewRendererProps` to potentially be `undefined`

Breaking change: Types may flag uses of getPos where an `undefined` possibility isn't handled.
Why this change was made: To ensure the type reflects the real functionality of this function.
How to update: Ensure that the return value of `getPos` exists before making use of the value.
How to update: Ensure that the return value of `getPos` exists before making use of the value.
2 changes: 1 addition & 1 deletion .changeset/happy-vans-smash.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@tiptap/core": patch
'@tiptap/core': patch
---

Updates the types of `addOptions` and `addStorage` to have the parent be possibly undefined which is the most accurate typing
2 changes: 1 addition & 1 deletion .changeset/lazy-needles-train.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@tiptap/core": major
'@tiptap/core': major
---

`insertContent` and `insertContentAt` commands should not split text nodes like paragraphs into multiple nodes when the inserted content is at the beginning of the text to avoid empty nodes being created
2 changes: 1 addition & 1 deletion .changeset/perfect-rice-vanish.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@tiptap/react": minor
'@tiptap/react': minor
---

Throw an error in development mode if immediatelyRender is not set in SSR mode
2 changes: 1 addition & 1 deletion .changeset/serious-coins-fail.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@tiptap/extension-mention": patch
'@tiptap/extension-mention': patch
---

add zero-width space to resolve cursor selection issue
2 changes: 1 addition & 1 deletion .changeset/two-rats-watch.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@tiptap/extension-table": patch
'@tiptap/extension-table': patch
---

enforce cellMinWidth even on column not resized by the user, fixes #5435
2 changes: 1 addition & 1 deletion .changeset/weak-books-eat.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"@tiptap/starter-kit": major
'@tiptap/starter-kit': major
---

We have now added the Link, ListKeymap, and Underline extensions to the starter kit for a smoother onboarding experience
Expand Down
20 changes: 10 additions & 10 deletions .github/DISCUSSION_TEMPLATE/community-extensions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: "Community Extension: "
title: 'Community Extension: '
body:
- type: markdown
attributes:
Expand All @@ -9,23 +9,23 @@ body:
attributes:
label: Description
description: Please describe how your extension works and what it does.
placeholder: "My extension does …"
placeholder: 'My extension does …'
validations:
required: true
- type: textarea
id: installation
attributes:
label: Installation
description: Please describe how users can install your extension.
placeholder: "npm install …"
placeholder: 'npm install …'
validations:
required: true
- type: textarea
id: usage
attributes:
label: Usage
description: Please describe how users can use your extension in their editor.
placeholder: "To use my extension you have to …"
placeholder: 'To use my extension you have to …'
validations:
required: true
- type: dropdown
Expand All @@ -34,18 +34,18 @@ body:
label: Type
description: Please select the type of this extension.
options:
- "Node"
- "Mark"
- "Prosemirror plugin"
- "Package or Kit"
- "Other"
- 'Node'
- 'Mark'
- 'Prosemirror plugin'
- 'Package or Kit'
- 'Other'
validations:
required: true
- type: textarea
id: other
attributes:
label: Other
description: Feel free to add any other information about your extension.
placeholder: "I hope you like …"
placeholder: 'I hope you like …'
validations:
required: false
16 changes: 8 additions & 8 deletions .github/DISCUSSION_TEMPLATE/feature-requests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
title: "Feature Request: "
title: 'Feature Request: '
labels:
- "Type: Feature Request"
- 'Type: Feature Request'
body:
- type: markdown
attributes:
Expand All @@ -11,15 +11,15 @@ body:
attributes:
label: Description
description: Please describe the feature you would like to see in Tiptap.
placeholder: "I wish there was an extension for …"
placeholder: 'I wish there was an extension for …'
validations:
required: true
- type: textarea
id: use-case
attributes:
label: Use Case
description: Please describe the use case for this feature.
placeholder: "I want to use this feature for …"
placeholder: 'I want to use this feature for …'
validations:
required: true
- type: dropdown
Expand All @@ -28,9 +28,9 @@ body:
label: Type
description: Please select the type of this feature.
options:
- "New extension"
- "New feature"
- "New Tiptap API"
- "Other"
- 'New extension'
- 'New feature'
- 'New Tiptap API'
- 'Other'
validations:
required: true
22 changes: 11 additions & 11 deletions .github/DISCUSSION_TEMPLATE/showcase.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: "Community Extension: "
title: 'Community Extension: '
body:
- type: markdown
attributes:
Expand All @@ -9,23 +9,23 @@ body:
attributes:
label: Description
description: Please describe what your project is about
placeholder: "My project is about …"
placeholder: 'My project is about …'
validations:
required: true
- type: input
id: url
attributes:
label: URL
description: If possible share the URL of your project.
placeholder: "https://example.com"
placeholder: 'https://example.com'
validations:
required: false
- type: textarea
id: about
attributes:
label: About
description: Feel free to talk about how you used Tiptap in your project, what you liked about it, what you didn't like about it, and what you would like to see in the future.
placeholder: "If used Tiptap to …"
placeholder: 'If used Tiptap to …'
validations:
required: true
- type: dropdown
Expand All @@ -34,19 +34,19 @@ body:
label: Type
description: Please select the type of your project.
options:
- "Chat Application"
- "Commenting Application"
- "Content Management System"
- "Document Editor"
- "Document Editor with Collaboration"
- "Other"
- 'Chat Application'
- 'Commenting Application'
- 'Content Management System'
- 'Document Editor'
- 'Document Editor with Collaboration'
- 'Other'
validations:
required: true
- type: textarea
id: other
attributes:
label: Other
description: Feel free to add any other information about your project.
placeholder: "I hope you like …"
placeholder: 'I hope you like …'
validations:
required: false
Loading

0 comments on commit 9f4c900

Please sign in to comment.