Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ueberdosis/tiptap
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.1.16
Choose a base ref
...
head repository: ueberdosis/tiptap
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.2.0
Choose a head ref

Commits on Aug 18, 2023

  1. Copy the full SHA
    fa121d6 View commit details
  2. docs(react): add documentation for contentDOMElementTag (#4348)

    * docs(react): add documentation for contentDOMElementTag
    * fix naming for node view in react docs
    bdbch authored Aug 18, 2023
    Copy the full SHA
    84b9899 View commit details
  3. Copy the full SHA
    ff929b1 View commit details
  4. docs: Improve introducing examples in the documentation (#4334)

    * skip 'like that' when we don't need it anyway
    
    * change to 'like this' because it is before the example instead of after
    lode authored Aug 18, 2023
    Copy the full SHA
    d31e49b View commit details
  5. Copy the full SHA
    4415191 View commit details
  6. v2.2.0-rc.0

    bdbch committed Aug 18, 2023
    Copy the full SHA
    f315706 View commit details
  7. feature(html): allow caller to specify a document implementation in…

    … `generateHTML()` (#4047)
    
    * allow caller to specify a document implementation
    * fix up lint errors
    srsudar authored Aug 18, 2023
    Copy the full SHA
    2a2eb71 View commit details
  8. v2.2.0-rc.1

    bdbch committed Aug 18, 2023
    Copy the full SHA
    3cefcf1 View commit details
  9. merge main

    bdbch committed Aug 18, 2023
    Copy the full SHA
    f99c4f6 View commit details
  10. v2.2.0-rc.2

    bdbch committed Aug 18, 2023
    Copy the full SHA
    d5ce8e5 View commit details
  11. revert package-lock

    bdbch committed Aug 18, 2023
    Copy the full SHA
    38167be View commit details
  12. v2.2.0-rc.3

    bdbch committed Aug 18, 2023
    Copy the full SHA
    9dc6b8f View commit details

Commits on Aug 22, 2023

  1. Update nuxt.md

    y0ngdev authored Aug 22, 2023
    Copy the full SHA
    e2bfcf6 View commit details

Commits on Aug 28, 2023

  1. Copy the full SHA
    f7fdaa1 View commit details
  2. Copy the full SHA
    d665723 View commit details

Commits on Aug 31, 2023

  1. Copy the full SHA
    a1164fc View commit details

Commits on Sep 4, 2023

  1. Copy the full SHA
    4b7f8d7 View commit details
  2. Copy the full SHA
    7832b96 View commit details

Commits on Sep 14, 2023

  1. build(deps): bump cypress-io/github-action from 5.8.3 to 6.5.0 (#4440)

    Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 5.8.3 to 6.5.0.
    - [Release notes](https://github.com/cypress-io/github-action/releases)
    - [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
    - [Commits](cypress-io/github-action@v5.8.3...v6.5.0)
    
    ---
    updated-dependencies:
    - dependency-name: cypress-io/github-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 14, 2023
    Copy the full SHA
    79ac61a View commit details
  2. build(deps): bump actions/cache from 3.3.1 to 3.3.2 (#4438)

    Bumps [actions/cache](https://github.com/actions/cache) from 3.3.1 to 3.3.2.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
    - [Commits](actions/cache@v3.3.1...v3.3.2)
    
    ---
    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>
    dependabot[bot] authored Sep 14, 2023
    Copy the full SHA
    930b937 View commit details
  3. build(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 (#4439)

    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.2 to 3.1.3.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@v3.1.2...v3.1.3)
    
    ---
    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>
    dependabot[bot] authored Sep 14, 2023
    Copy the full SHA
    8f8cdc0 View commit details
  4. fix: add missing attributes in extension-link (#4429)

    Despite `rel` and `class` already being defined as an attribute in `addAttributes()`, the interface was missing these two particular attributes so it wasn't accessible when using TypeScript without workarounds.
    Manueljlin authored Sep 14, 2023
    Copy the full SHA
    0578265 View commit details
  5. Sync develop with main

    Sync develop branch with main – develop (RC) releases won't generate CHANGELOG.md entries anymore.
    bdbch committed Sep 14, 2023
    Copy the full SHA
    a5f7fe0 View commit details
  6. sync with main

    bdbch committed Sep 14, 2023
    Copy the full SHA
    b2f74f2 View commit details

Commits on Sep 15, 2023

  1. merge main with develop

    bdbch committed Sep 15, 2023
    Copy the full SHA
    39cf697 View commit details

Commits on Sep 20, 2023

  1. merge main into develop

    bdbch committed Sep 20, 2023
    Copy the full SHA
    b5cb360 View commit details

Commits on Sep 22, 2023

  1. 2
    Copy the full SHA
    520ce79 View commit details

Commits on Sep 29, 2023

  1. feat(extension/youtube): Allow youtube shorts urls to be embedded

    Youtube uses /shorts/ for their shorts video. The /embed url works with these id's, the regex did not support them though.
    
    This updates the videoId regex to also support the /shorts/ urls.
    arendjantetteroo authored Sep 29, 2023
    Copy the full SHA
    4d79cb8 View commit details
  2. Copy the full SHA
    b359f13 View commit details

Commits on Oct 10, 2023

  1. build(deps-dev): bump postcss from 8.4.27 to 8.4.31 (#4511)

    Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
    - [Release notes](https://github.com/postcss/postcss/releases)
    - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
    - [Commits](postcss/postcss@8.4.27...8.4.31)
    
    ---
    updated-dependencies:
    - dependency-name: postcss
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 10, 2023
    Copy the full SHA
    b89e132 View commit details
  2. build(deps-dev): bump postcss from 8.4.14 to 8.4.31 in /demos (#4508)

    Bumps [postcss](https://github.com/postcss/postcss) from 8.4.14 to 8.4.31.
    - [Release notes](https://github.com/postcss/postcss/releases)
    - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
    - [Commits](postcss/postcss@8.4.14...8.4.31)
    
    ---
    updated-dependencies:
    - dependency-name: postcss
      dependency-type: direct:development
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Oct 10, 2023
    Copy the full SHA
    6d8577e View commit details
  3. [Bug]: HTML output of Table is missing colgroup element (#4281)

    * [Bug]: HTML output of Table is missing colgroup element
    Fixes #4280
    
    * Fixed typo and added some documentation
    diginikkari authored Oct 10, 2023
    Copy the full SHA
    6b2edc5 View commit details
  4. Copy the full SHA
    fda6310 View commit details
  5. v2.2.0-rc.4

    bdbch committed Oct 10, 2023
    Copy the full SHA
    42039c0 View commit details

Commits on Oct 12, 2023

  1. Pass onFirstRender option to ySyncPlugin

    here is an option called `onFirstRender` in the `CollaborationOptions` type; however, it is not used anywhere. This commit passes the option to the Yjs' sync plugin.
    furkan3ayraktar committed Oct 12, 2023
    Copy the full SHA
    0c4bff5 View commit details

Commits on Oct 16, 2023

  1. change wildly to widely

    hkuffel authored Oct 16, 2023
    Copy the full SHA
    57af6ba View commit details

Commits on Nov 17, 2023

  1. Merge pull request #4536 from hkuffel/develop

    change wildly to widely
    janthurau authored Nov 17, 2023
    Copy the full SHA
    c5d1eaa View commit details
  2. Merge pull request #4366 from y0ngdev/y0ngdev-patch-2

    Update nuxt.md
    janthurau authored Nov 17, 2023
    Copy the full SHA
    ad18fed View commit details
  3. Merge pull request #4530 from furkan3ayraktar/fix-on-first-render-in-…

    …extension-collaboration
    
    Pass onFirstRender option to ySyncPlugin
    janthurau authored Nov 17, 2023
    Copy the full SHA
    58c78d7 View commit details
  4. fixes tests in marks/link

    janthurau committed Nov 17, 2023
    Copy the full SHA
    6485a5f View commit details
  5. fix

    janthurau committed Nov 17, 2023
    Copy the full SHA
    4dfd839 View commit details
  6. Merge pull request #4639 from ueberdosis/feature/fixMarksLinkTests

    fixes tests in marks/link
    janthurau authored Nov 17, 2023
    Copy the full SHA
    a383297 View commit details
  7. build(deps): bump cypress-io/github-action from 6.5.0 to 6.6.0

    Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 6.5.0 to 6.6.0.
    - [Release notes](https://github.com/cypress-io/github-action/releases)
    - [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
    - [Commits](cypress-io/github-action@v6.5.0...v6.6.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>
    dependabot[bot] authored Nov 17, 2023
    Copy the full SHA
    f71f178 View commit details
  8. build(deps-dev): bump axios from 1.3.4 to 1.6.2

    Bumps [axios](https://github.com/axios/axios) from 1.3.4 to 1.6.2.
    - [Release notes](https://github.com/axios/axios/releases)
    - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
    - [Commits](axios/axios@v1.3.4...v1.6.2)
    
    ---
    updated-dependencies:
    - dependency-name: axios
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    dependabot[bot] authored Nov 17, 2023
    Copy the full SHA
    61c4c15 View commit details
  9. Added CSS.escape to font-family.ts

    Added CSS.escape to renderHTML. Prevents invalid css when using fonts with numbers in their names, like https://fonts.google.com/specimen/Exo+2
    SanderLeenders authored and janthurau committed Nov 17, 2023
    Copy the full SHA
    ddc78a6 View commit details
  10. Copy the full SHA
    3383db8 View commit details
  11. Merge pull request #4640 from ueberdosis/dependabot/npm_and_yarn/axio…

    …s-1.6.2
    
    build(deps-dev): bump axios from 1.3.4 to 1.6.2
    janthurau authored Nov 17, 2023
    Copy the full SHA
    acd5eb7 View commit details
  12. Merge pull request #4603 from ueberdosis/dependabot/github_actions/cy…

    …press-io/github-action-6.6.0
    
    build(deps): bump cypress-io/github-action from 6.5.0 to 6.6.0
    janthurau authored Nov 17, 2023
    Copy the full SHA
    5645ebc View commit details
  13. chore: upgrades y-prosemirror to ^1.2.1. It used to be locked to 1.0.…

    …20 because of a bug, but that got fixed in 1.1.3
    janthurau committed Nov 17, 2023
    Copy the full SHA
    f397bf8 View commit details
  14. fixes typing issue

    janthurau committed Nov 17, 2023
    Copy the full SHA
    6e12777 View commit details
Showing with 6,737 additions and 18,228 deletions.
  1. +11 −11 .github/workflows/build.yml
  2. +1 −1 .github/workflows/docsearch.yml
  3. +2 −2 .github/workflows/release.yml
  4. +74 −2 CHANGELOG.md
  5. +48 −53 README.md
  6. +89 −0 demos/CHANGELOG.md
  7. +1,165 −1,475 demos/package-lock.json
  8. +7 −6 demos/package.json
  9. 0 demos/src/Commands/InsertContent/{Vue → React}/index.html
  10. +3 −0 demos/src/{Issues/2720 → Commands/InsertContent}/React/index.jsx
  11. +16 −2 demos/src/{Issues/2720 → Commands/InsertContent}/React/index.spec.js
  12. 0 demos/src/{Issues/2720 → Commands/InsertContent}/React/styles.scss
  13. +0 −102 demos/src/Commands/InsertContent/Vue/index.vue
  14. +8 −4 demos/src/Experiments/CollaborationAnnotation/Vue/extension/AnnotationPlugin.ts
  15. +2 −0 demos/src/Experiments/IsolatingClear/React/index.jsx
  16. +1 −1 demos/src/Experiments/OnUpdateRerender/Vue/TiptapComponent.vue
  17. +0 −1 demos/src/Experiments/OnUpdateRerender/Vue/index.vue
  18. +1 −1 demos/src/Extensions/Placeholder/React/styles.scss
  19. 0 demos/src/Issues/2720/React/index.html
  20. +3 −1 demos/src/Marks/Link/React/index.jsx
  21. +2 −2 demos/src/Marks/Link/React/index.spec.js
  22. +2 −2 demos/src/Marks/Link/Vue/index.spec.js
  23. +2 −2 demos/src/Nodes/Table/React/index.spec.js
  24. +2 −2 demos/src/Nodes/Table/Vue/index.spec.js
  25. +1 −1 demos/src/Nodes/Youtube/React/index.jsx
  26. +1 −1 demos/src/Nodes/Youtube/Vue/index.vue
  27. +27 −0 docs/api.md
  28. +1 −1 docs/api/commands.md
  29. +8 −0 docs/api/commands/join-textblock-backward.md
  30. +8 −0 docs/api/commands/join-textblock-forward.md
  31. +1 −1 docs/api/editor.md
  32. +11 −0 docs/api/extensions/placeholder.md
  33. +339 −0 docs/api/nodepos.md
  34. +17 −3 docs/api/nodes/mention.md
  35. +1 −1 docs/api/nodes/youtube.md
  36. +8 −0 docs/api/utilities/suggestion.md
  37. +0 −252 docs/cloud.md
  38. +65 −0 docs/collaboration/getting-started.md
  39. +17 −0 docs/collaboration/guides.md
  40. +5 −5 docs/{tutorials → collaboration/guides}/jwt-authentication.md
  41. +6 −8 .../{tutorials/get-started-with-tiptap-collab.md → collaboration/guides/simple-collaboration-app.md}
  42. +9 −0 docs/collaboration/introduction.md
  43. +239 −0 docs/collaboration/management-api.md
  44. +23 −0 docs/collaboration/webhook.md
  45. +26 −0 docs/guide.md
  46. +2 −2 docs/guide/custom-extensions.md
  47. +1 −1 docs/guide/menus.md
  48. +10 −0 docs/guide/node-views/react.md
  49. +1 −1 docs/guide/node-views/vue.md
  50. +1 −1 docs/guide/output.md
  51. +2 −2 docs/guide/styling.md
  52. +334 −340 docs/links.yaml
  53. +0 −19 docs/tutorials.md
  54. +2 −2 docsearch.config.json
  55. +1 −1 lerna.json
  56. +1,400 −15,678 package-lock.json
  57. +52 −0 packages/core/CHANGELOG.md
  58. +2 −2 packages/core/package.json
  59. +22 −1 packages/core/src/Editor.ts
  60. +2 −2 packages/core/src/Extension.ts
  61. +2 −2 packages/core/src/Mark.ts
  62. +2 −2 packages/core/src/Node.ts
  63. +201 −0 packages/core/src/NodePos.ts
  64. +2 −0 packages/core/src/commands/index.ts
  65. +18 −0 packages/core/src/commands/joinTextblockBackward.ts
  66. +18 −0 packages/core/src/commands/joinTextblockForward.ts
  67. +0 −1 packages/core/src/helpers/createChainableState.ts
  68. +1 −1 packages/core/src/helpers/getMarksBetween.ts
  69. +1 −0 packages/core/src/index.ts
  70. +1 −0 packages/core/src/types.ts
  71. +1 −3 packages/core/src/utilities/elementFromString.ts
  72. +36 −0 packages/extension-blockquote/CHANGELOG.md
  73. +2 −2 packages/extension-blockquote/package.json
  74. +36 −0 packages/extension-bold/CHANGELOG.md
  75. +2 −2 packages/extension-bold/package.json
  76. +36 −0 packages/extension-bubble-menu/CHANGELOG.md
  77. +3 −3 packages/extension-bubble-menu/package.json
  78. +36 −0 packages/extension-bullet-list/CHANGELOG.md
  79. +2 −2 packages/extension-bullet-list/package.json
  80. +36 −0 packages/extension-character-count/CHANGELOG.md
  81. +3 −3 packages/extension-character-count/package.json
  82. +36 −0 packages/extension-code-block-lowlight/CHANGELOG.md
  83. +4 −4 packages/extension-code-block-lowlight/package.json
  84. +36 −0 packages/extension-code-block/CHANGELOG.md
  85. +3 −3 packages/extension-code-block/package.json
  86. +36 −0 packages/extension-code/CHANGELOG.md
  87. +2 −2 packages/extension-code/package.json
  88. +39 −0 packages/extension-collaboration-cursor/CHANGELOG.md
  89. +2 −2 packages/extension-collaboration-cursor/package.json
  90. +1 −1 packages/extension-collaboration-cursor/src/collaboration-cursor.ts
  91. +36 −0 packages/extension-collaboration/CHANGELOG.md
  92. +3 −3 packages/extension-collaboration/package.json
  93. +7 −3 packages/extension-collaboration/src/collaboration.ts
  94. +36 −0 packages/extension-color/CHANGELOG.md
  95. +3 −3 packages/extension-color/package.json
  96. +36 −0 packages/extension-document/CHANGELOG.md
  97. +2 −2 packages/extension-document/package.json
  98. +36 −0 packages/extension-dropcursor/CHANGELOG.md
  99. +3 −3 packages/extension-dropcursor/package.json
  100. +36 −0 packages/extension-floating-menu/CHANGELOG.md
  101. +3 −3 packages/extension-floating-menu/package.json
  102. +36 −0 packages/extension-focus/CHANGELOG.md
  103. +3 −3 packages/extension-focus/package.json
  104. +36 −0 packages/extension-font-family/CHANGELOG.md
  105. +3 −3 packages/extension-font-family/package.json
  106. +1 −1 packages/extension-font-family/src/font-family.ts
  107. +36 −0 packages/extension-gapcursor/CHANGELOG.md
  108. +3 −3 packages/extension-gapcursor/package.json
  109. +36 −0 packages/extension-hard-break/CHANGELOG.md
  110. +2 −2 packages/extension-hard-break/package.json
  111. +36 −0 packages/extension-heading/CHANGELOG.md
  112. +2 −2 packages/extension-heading/package.json
  113. +36 −0 packages/extension-highlight/CHANGELOG.md
  114. +2 −2 packages/extension-highlight/package.json
  115. +39 −0 packages/extension-history/CHANGELOG.md
  116. +3 −3 packages/extension-history/package.json
  117. +1 −4 packages/extension-history/src/history.ts
  118. +36 −0 packages/extension-horizontal-rule/CHANGELOG.md
  119. +3 −3 packages/extension-horizontal-rule/package.json
  120. +36 −0 packages/extension-image/CHANGELOG.md
  121. +2 −2 packages/extension-image/package.json
  122. +36 −0 packages/extension-italic/CHANGELOG.md
  123. +2 −2 packages/extension-italic/package.json
  124. +44 −0 packages/extension-link/CHANGELOG.md
  125. +3 −3 packages/extension-link/package.json
  126. +9 −5 packages/extension-link/src/helpers/clickHandler.ts
  127. +36 −0 packages/extension-list-item/CHANGELOG.md
  128. +2 −2 packages/extension-list-item/package.json
  129. +36 −0 packages/extension-list-keymap/CHANGELOG.md
  130. +2 −2 packages/extension-list-keymap/package.json
  131. +36 −0 packages/extension-mention/CHANGELOG.md
  132. +4 −4 packages/extension-mention/package.json
  133. +45 −12 packages/extension-mention/src/mention.ts
  134. +36 −0 packages/extension-ordered-list/CHANGELOG.md
  135. +2 −2 packages/extension-ordered-list/package.json
  136. +36 −0 packages/extension-paragraph/CHANGELOG.md
  137. +2 −2 packages/extension-paragraph/package.json
  138. +84 −0 packages/extension-placeholder/CHANGELOG.md
  139. +3 −3 packages/extension-placeholder/package.json
  140. +61 −4 packages/extension-placeholder/src/placeholder.ts
  141. +36 −0 packages/extension-strike/CHANGELOG.md
  142. +2 −2 packages/extension-strike/package.json
  143. +36 −0 packages/extension-subscript/CHANGELOG.md
  144. +2 −2 packages/extension-subscript/package.json
  145. +36 −0 packages/extension-superscript/CHANGELOG.md
  146. +2 −2 packages/extension-superscript/package.json
  147. +36 −0 packages/extension-table-cell/CHANGELOG.md
  148. +2 −2 packages/extension-table-cell/package.json
  149. +36 −0 packages/extension-table-header/CHANGELOG.md
  150. +2 −2 packages/extension-table-header/package.json
  151. +36 −0 packages/extension-table-row/CHANGELOG.md
  152. +2 −2 packages/extension-table-row/package.json
  153. +39 −0 packages/extension-table/CHANGELOG.md
  154. +3 −3 packages/extension-table/package.json
  155. +1 −0 packages/extension-table/src/index.ts
  156. +20 −2 packages/extension-table/src/table.ts
  157. +50 −0 packages/extension-table/src/utilities/createColGroup.ts
  158. +36 −0 packages/extension-task-item/CHANGELOG.md
  159. +3 −3 packages/extension-task-item/package.json
  160. +36 −0 packages/extension-task-list/CHANGELOG.md
  161. +2 −2 packages/extension-task-list/package.json
  162. +36 −0 packages/extension-text-align/CHANGELOG.md
  163. +2 −2 packages/extension-text-align/package.json
  164. +36 −0 packages/extension-text-style/CHANGELOG.md
  165. +2 −2 packages/extension-text-style/package.json
  166. +36 −0 packages/extension-text/CHANGELOG.md
  167. +2 −2 packages/extension-text/package.json
  168. +36 −0 packages/extension-typography/CHANGELOG.md
  169. +2 −2 packages/extension-typography/package.json
  170. +36 −0 packages/extension-underline/CHANGELOG.md
  171. +2 −2 packages/extension-underline/package.json
  172. +39 −0 packages/extension-youtube/CHANGELOG.md
  173. +2 −2 packages/extension-youtube/package.json
  174. +1 −1 packages/extension-youtube/src/utils.ts
  175. +36 −0 packages/html/CHANGELOG.md
  176. +4 −4 packages/html/package.json
  177. +13 −3 packages/html/src/getHTMLFromFragment.ts
  178. +36 −0 packages/pm/CHANGELOG.md
  179. +19 −19 packages/pm/package.json
  180. +39 −0 packages/react/CHANGELOG.md
  181. +5 −5 packages/react/package.json
  182. +34 −11 packages/react/src/EditorContent.tsx
  183. +7 −3 packages/react/src/ReactNodeViewRenderer.tsx
  184. +36 −0 packages/starter-kit/CHANGELOG.md
  185. +20 −20 packages/starter-kit/package.json
  186. +36 −0 packages/suggestion/CHANGELOG.md
  187. +3 −3 packages/suggestion/package.json
  188. +3 −1 packages/suggestion/src/suggestion.ts
  189. +36 −0 packages/vue-2/CHANGELOG.md
  190. +5 −5 packages/vue-2/package.json
  191. +36 −0 packages/vue-3/CHANGELOG.md
  192. +5 −5 packages/vue-3/package.json
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -23,15 +23,15 @@ jobs:
node-version: [16]

steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.7.0
uses: actions/setup-node@v4.0.0
with:
node-version: ${{ matrix.node-version }}

- name: Load cached dependencies
uses: actions/cache@v3.3.1
uses: actions/cache@v3.3.2
id: cache
with:
path: |
@@ -79,10 +79,10 @@ jobs:
#- { name: "Demos/Overview", spec: "./demos/src/Overview/**/*.spec.{js,ts}" }

steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.7.0
uses: actions/setup-node@v4.0.0
with:
node-version: ${{ matrix.node-version }}

@@ -96,7 +96,7 @@ jobs:

- name: Test ${{ matrix.test-spec.name }}
id: cypress
uses: cypress-io/github-action@v5.8.3
uses: cypress-io/github-action@v6.6.0
with:
cache-key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
start: npm run start
@@ -107,15 +107,15 @@ jobs:
quiet: true

- name: Export screenshots (on failure only)
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v3.1.3
if: failure()
with:
name: cypress-screenshots
path: tests/cypress/screenshots
retention-days: 7

- name: Export screen recordings (on failure only)
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v3.1.3
if: failure()
with:
name: cypress-videos
@@ -132,15 +132,15 @@ jobs:
node-version: [16]

steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.7.0
uses: actions/setup-node@v4.0.0
with:
node-version: ${{ matrix.node-version }}

- name: Load cached dependencies
uses: actions/cache@v3.3.1
uses: actions/cache@v3.3.2
id: cache
with:
path: |
2 changes: 1 addition & 1 deletion .github/workflows/docsearch.yml
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ jobs:
docsearch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.1

- name: Run DocSearch Scraper
shell: bash
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -13,8 +13,8 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/setup-node@v3.7.0
- uses: actions/checkout@v4.1.1
- uses: actions/setup-node@v4.0.0
with:
node-version: 16
registry-url: https://registry.npmjs.org/
76 changes: 74 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,80 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [2.2.0](https://github.com/ueberdosis/tiptap/compare/v2.1.16...v2.2.0) (2024-01-29)


### Bug Fixes

* **core:** fix new lines being added via elementFromString ([#4767](https://github.com/ueberdosis/tiptap/issues/4767)) ([b7a2504](https://github.com/ueberdosis/tiptap/commit/b7a2504f16f46563537c890930cb2c332c256175))
* fix bug [#4785](https://github.com/ueberdosis/tiptap/issues/4785) ([#4836](https://github.com/ueberdosis/tiptap/issues/4836)) ([f3cba1e](https://github.com/ueberdosis/tiptap/commit/f3cba1e0b0288156c1427437e5a0b9e03cd67e63))
* fix imports, fix demos, unpin y-prosemirror ([681aa57](https://github.com/ueberdosis/tiptap/commit/681aa577bff500015c3f925e300c55a71c73efaf))
* fix newline stripping via insertContent ([8954007](https://github.com/ueberdosis/tiptap/commit/8954007b2b92b040d69b26a0866ae58fabf5e512))



# [2.2.0-rc.8](https://github.com/ueberdosis/tiptap/compare/v2.1.14...v2.2.0-rc.8) (2024-01-08)


### Bug Fixes

* **core:** fix options now being empty ([fc67cb1](https://github.com/ueberdosis/tiptap/commit/fc67cb1b7166c1ab6b6e0174539c9e29c364eace))



# [2.2.0-rc.7](https://github.com/ueberdosis/tiptap/compare/v2.2.0-rc.6...v2.2.0-rc.7) (2023-11-27)


### Bug Fixes

* **core:** set defaultOptions to undefined by default ([448b433](https://github.com/ueberdosis/tiptap/commit/448b433ee7847bfba4cd803d8c8820763ceedafc))



# [2.2.0-rc.6](https://github.com/ueberdosis/tiptap/compare/v2.2.0-rc.5...v2.2.0-rc.6) (2023-11-23)


### Reverts

* Revert "fix/react-renderer-node-attrs (#4321)" ([a4af83c](https://github.com/ueberdosis/tiptap/commit/a4af83ca52c8e020f88990af53981591559205a9)), closes [#4321](https://github.com/ueberdosis/tiptap/issues/4321)
* Revert "autolink improvement" ([ef10ae5](https://github.com/ueberdosis/tiptap/commit/ef10ae53b2a3854fceefc2999e166ed1fe4e9b32))



# [2.2.0-rc.4](https://github.com/ueberdosis/tiptap/compare/v2.1.11...v2.2.0-rc.4) (2023-10-10)


### Bug Fixes

* add missing attributes in extension-link ([#4429](https://github.com/ueberdosis/tiptap/issues/4429)) ([0578265](https://github.com/ueberdosis/tiptap/commit/0578265bfe548a7f574cdbe055ef07b9029d8797))
* **history:** use correct shortcuts for undo/redo ([520ce79](https://github.com/ueberdosis/tiptap/commit/520ce790c3dff2d0774211fe30fdce1905655b09))


### Features

* **extension/youtube:** Allow youtube shorts urls to be embedded ([4d79cb8](https://github.com/ueberdosis/tiptap/commit/4d79cb85c93353cdb5ead518da63cf8f9fa71497))



# [2.2.0-rc.3](https://github.com/ueberdosis/tiptap/compare/v2.2.0-rc.2...v2.2.0-rc.3) (2023-08-18)



# [2.2.0-rc.1](https://github.com/ueberdosis/tiptap/compare/v2.2.0-rc.0...v2.2.0-rc.1) (2023-08-18)



# [2.2.0-rc.0](https://github.com/ueberdosis/tiptap/compare/v2.1.5...v2.2.0-rc.0) (2023-08-18)


### Features

* **placeholder:** allow editor-is-empty class on any node ([#4335](https://github.com/ueberdosis/tiptap/issues/4335)) ([ff929b1](https://github.com/ueberdosis/tiptap/commit/ff929b179de930619005a773bb4186ae2aa2ec58))





## [2.1.16](https://github.com/ueberdosis/tiptap/compare/v2.1.15...v2.1.16) (2024-01-10)


@@ -49,9 +123,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

## [2.1.13](https://github.com/ueberdosis/tiptap/compare/v2.1.12...v2.1.13) (2023-11-30)


### Bug Fixes

* **react:** fix performance regression because of select/deselect ([#4661](https://github.com/ueberdosis/tiptap/issues/4661)) ([ad7f659](https://github.com/ueberdosis/tiptap/commit/ad7f659ed08a6a7c57056b78edbded014549f2dc))


101 changes: 48 additions & 53 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Tiptap
A headless, framework-agnostic and extendable rich text editor, based on [ProseMirror](https://github.com/ProseMirror/prosemirror).
# Tiptap Editor
The Tiptap Editor is a headless, framework-agnostic rich text editor that's customizable and extendable through extensions. Its headless nature means it comes without a set user interface, offering full design freedom (for a jumpstart, see linked [UI templates](#examples-codesandbox-and-ui-templates) below). Tiptap is based on the highly reliable [ProseMirror](https://github.com/ProseMirror/prosemirror) library.

Tiptap Editor is complemented by the collaboration open-source backend [Hocuspocus](https://github.com/ueberdosis/hocuspocus). Both the Editor and Hocuspocus form the foundation of the [Tiptap Suite](https://tiptap.dev/).

[![Build Status](https://github.com/ueberdosis/tiptap/workflows/build/badge.svg)](https://github.com/ueberdosis/tiptap/actions)
[![Version](https://img.shields.io/npm/v/@tiptap/core.svg?label=version)](https://www.npmjs.com/package/@tiptap/core)
@@ -8,102 +10,95 @@ A headless, framework-agnostic and extendable rich text editor, based on [ProseM
[![Chat](https://img.shields.io/badge/chat-on%20discord-7289da.svg?sanitize=true)](https://discord.gg/WtJ49jGshW)
[![Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub)](https://github.com/sponsors/ueberdosis)

## Examples
Have a look at the [examples to see Tiptap in action](https://tiptap.dev/examples).
### How does the Tiptap Editor work?

- **Headless Framework:** Tiptap does not rely on a user interface. So there is no need for class overrides or code hacks. If you do need an example UI feel free to browse our [UI templates](#examples-codesandbox-and-ui-templates) linked below.
- **Framework-agnostic:** The Tiptap Editor is designed to work across different frontend frameworks. This means whether you're using Vue, React, or plain JavaScript, Tiptap integrates without compatibility issues.
- **Extension based:** Extensions in Tiptap allow for a tailored editing experience, from simple text styling to advanced features like drag-and-drop block editing. You have the option to choose from over 100 extensions available in the [documentation](https://tiptap.dev/docs/editor/extensions) and [community](https://github.com/ueberdosis/awesome-tiptap/#community-extensions) to enhance your editor's functionality.
- **Customize your UX:** The editor was built to give you control to define your own [extensions](https://tiptap.dev/docs/editor/guide/custom-extensions) and [nodes](https://tiptap.dev/docs/editor/api/nodes).


### Editor Pro Extensions
The **Pro Extensions** are a set of advanced functionalities that enhance the capabilities of the Tiptap Editor. They are additional features that can be integrated into the base editor to provide more sophisticated editing options.

Key functionalities include collaborative editing, which allows multiple users to edit documents simultaneously, drag-and-drop file management for easier handling of documents and media, and unique node ID assignment. Review the docs right [here](https://tiptap.dev/docs/editor/extensions).

Pro Extensions are free with a [Tiptap account](https://cloud.tiptap.dev/pro-extensions). Once signed up, review the guide in your account.

### Make your editor collaborative
Interested in collaborative editing? Check out our open-source package [Hocuspocus](https://github.com/ueberdosis/hocuspocus) - a collaboration backend built around the CRDT power of [Yjs](https://github.com/yjs/yjs). Hocuspocus serves as the backbone for the [Tiptap Suite](https://tiptap.dev/).

## Documentation
The full documentation is available on [www.tiptap.dev](https://tiptap.dev/installation).
For more detailed information, make sure to check out our [documentation](https://tiptap.dev/docs/editor/installation). If you encounter any problems or have suggestions for our system, please open an issue.

### Examples, CodeSandbox and UI Templates
Have a look at the [examples to see Tiptap in action](https://tiptap.dev/examples) or review and fork our codesandboxes.
- [Basic example of the Tiptap editor.](https://codesandbox.io/p/devbox/editor-9x9dkd?embed=1&file=%2Fsrc%2FApp.js)
- [Collaboration ready Tiptap CodeSandbox](https://codesandbox.io/p/devbox/collaboration-4stk94)
- React notion-like block editor template: [Demo](https://templates.tiptap.dev/)

## Community
## About Tiptap
Tiptap is a collection of developer components based on open-source technology, forming the basis of our advanced, paid features. It includes the open-source editor component, collaboration features, Content AI, and Tiptap Cloud. We are developing open-source products that also shape our paid features. We're committed to improving both, ensuring quality and reliability in every update.

For more details, visit the Tiptap [documentation](https://tiptap.dev/docs/editor/introduction) or [website](https://tiptap.dev/).

### Community
For help, discussion about best practices, or any other conversation that would benefit from being searchable:

[Discuss Tiptap on GitHub](https://github.com/ueberdosis/tiptap/discussions)

## Sponsors 💖
### Sponsors 💖
<table>
<tr>
<td align="center">
<a href="https://rimsys.io/">
<img src="https://unavatar.io/github/rimsys" width="100"><br>
<strong>Rimsys</strong>
</a>
</td>
<td align="center">
<a href="https://www.complish.app/">
<img src="https://uploads-ssl.webflow.com/5fa93d27380666789a1cbbd3/5fae50824b4d2d06f3d2898f_Frame%20374.png" width="100"><br>
<img src="https://uploads-ssl.webflow.com/5fa93d27380666789a1cbbd3/5fae50824b4d2d06f3d2898f_Frame%20374.png" width="25"><br>
<strong>Complish</strong>
</a>
</td>
<td align="center">
<a href="https://www.gamma.app/">
<img src="https://unavatar.io/gamma.app" width="100"><br>
<strong>Gamma</strong>
</a>
</td>
<td align="center">
<a href="https://www.storyblok.com/">
<img src="https://unavatar.io/github/storyblok" width="100"><br>
<img src="https://unavatar.io/github/storyblok" width="25"><br>
<strong>Storyblok</strong>
</a>
</td>
<td align="center">
<a href="https://posthog.com/">
<img src="https://unavatar.io/github/posthog" width="100"><br>
<img src="https://unavatar.io/github/posthog" width="25"><br>
<strong>PostHog</strong>
</a>
</td>
</tr>
</table>

<table>
<tr>
<td align="center" width="100">
<a href="https://reflect.app/">
<img src="https://unavatar.io/reflect.app" width="50"><br>
<img src="https://unavatar.io/reflect.app" width="25"><br>
<strong>Reflect</strong>
</a>
</td>
<td align="center" width="100">
<a href="https://bitcrowd.net/">
<img src="https://unavatar.io/bitcrowd.net" width="50"><br>
<strong>Bitcrowd</strong>
</a>
</td>
<td align="center" width="100">
<a href="https://ziffmedia.com/">
<img src="https://unavatar.io/github/ziffmedia" width="50"><br>
<img src="https://unavatar.io/github/ziffmedia" width="25"><br>
<strong>Ziff Media</strong>
</a>
</td>
<td align="center" width="100">
<a href="https://incytestudios.com/">
<img src="https://unavatar.io/github/incyte" width="50"><br>
<strong>Incyte Studios</strong>
</a>
</td>
<td align="center" width="100">
<a href="https://dotcms.com/">
<img src="https://unavatar.io/github/dotcms" width="50"><br>
<strong>dotCMS</strong>
</a>
</td>
<td align="center" width="100">
<a href="https://www.basewell.com/">
<img src="https://unavatar.io/github/Basewell" width="50"><br>
<img src="https://unavatar.io/github/Basewell" width="25"><br>
<strong>Basewell</strong>
</a>
</td>
</tr>
</table>

[iFixit](https://www.ifixit.com/), [@shodgson](https://github.com/shodgson), [Markee Co.](https://markee.io/), [Makelog](https://www.makelog.com/), [Zephir](https://zephir.ch/), [IT Xpert AG](https://itxpert.ch/), [ApostropheCMS](https://apostrophecms.com/), [Novadiscovery](http://www.novadiscovery.com/), [Omics Data Automation](https://www.omicsautomation.com), [Gretel](https://github.com/gretelapp#:~:text=http%3A//www.gretel.co), [Flow Mobile](https://www.flowmobile.app/), [Ycode](https://www.ycode.com/), [DocIQ](https://www.dociq.io/) and [hundreds of awesome inviduals](https://github.com/sponsors/ueberdosis).
<table>

</table>

Using Tiptap in production? Invest in the future of Tiptap and [become a sponsor!](https://github.com/sponsors/ueberdosis)
[iFixit](https://www.ifixit.com/), [ApostropheCMS](https://apostrophecms.com/), [Novadiscovery](http://www.novadiscovery.com/), [Omics Data Automation](https://www.omicsautomation.com), [Flow Mobile](https://www.flowmobile.app/), [DocIQ](https://www.dociq.io/) and [hundreds of awesome inviduals](https://github.com/sponsors/ueberdosis).

## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Contributing
Feel like adding some magic of your own to Tiptap Editor Core? We welcome contributions! Please see our [CONTRIBUTING](CONTRIBUTING.md) guidelines for how to get started.

## Contributors
### Contributors
[Sam Willis](https://github.com/samwillis),
[Brian Hung](https://github.com/BrianHung),
[Dirk Holtwick](https://github.com/holtwick),
Loading