Skip to content

Commit

Permalink
Bdbch/list improvements v2 (#30)
Browse files Browse the repository at this point in the history
* v2.0.0-beta.205

* fix(extension-bubble-menu): don't debounce without valid selection (#3501)

* refactor(extension-youtube): rename utility function name (#3498)

* Check if url exists (#3484)

* Update menus.md (#3457)

* docs(docs): add new installation notes for peerDependencies

* build(deps): bump minimatch from 3.0.4 to 3.1.2 in /demos (#3489)

Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](isaacs/minimatch@v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: change release from tag to release

* 2.0.0-beta.206

* docs(docs): update formatting on installation guide

* docs: add note about starter-kit dependencies

* docs: remove unnecessary text in docs

* docs: add installation notes to extensions

* fix(extension-table): add prosemirror-tables to peerDependencies

* v2.0.0-beta.207

* docs: rotate rooms

* docs: inject collaboration rooms in build process

* Custom text serializers should override text serializers defined in the schema (#3546)

* 2.0.0-beta.208

* v2.0.0-beta.209

* update sandboxes

* docs: add job IllumIDesk

* docs: fix typo in job description

* docs: refactor installation docs

* docs: explain peer dependencies

* docs: fix text

* docs: improve texts

* docs: improve peer dependency hints

* docs: remove sponsor box

* docs: about & collab

* docs: update hocuspocus hints

* Update sink-list-item.md (#3629)

correct text copy

* 🧹 Allow `editor.setEditable` to omit updates (#3301)

* 🧹 Allow `editor.setEditable` to omit updates

* 📚 Document change to `editor.setEditable`

* docs: remove early access hint

* Change Build Process to Lerna + tsup & prepare for prosemirror-meta package (#3555)

* 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

* chore: clean up and fix issues related to new build

* fix: fix demo build

* fix: fix demo build

* fix: fix tsconfig files to reference only one source

* fix: fix minor ts issues

* chore: add prettier

* fix(typo): typescript.md (#3657)

Add a forgotten quotation mark in the import and specify the language in md code block

* Update schema.md (#3645)

The schema definition exmaple uses the node name `document` while the explaining text says that the node name is `doc`.

* chore: set eslint as default formatter

* 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

* v2.0.0-beta.210

* update publish task

* update publish task

* update publish task

* update publish task

* remove peer deps link

* fix(bubble-menu): fix bubble menu imports

* v2.0.0-beta.211

* fix(collaboration): fix missing y-prosemirror dependency

* fix(core): fix broken types in definition file

* v2.0.0-beta.212

* fix(bubble-menu): change lodash to lodash-es for esbuild

* v2.0.0-beta.213

* 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.

* Update installation guides (#3698)

* docs: update installation guides

* docs: remove base setup

* docs: complete the prosemirror package documentation

* 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>

* refactor(extension-bubble-menu): remove lodash types, replace pm deps with tiptap/pm (#3696)

* Remove lodash dependencies in extension-floating-menu (#3695)

* refactor(extension-floating-menu): remove lodash dependencies

* fix: typo

---------

Co-authored-by: Dominik <6538827+bdbch@users.noreply.github.com>

* build(deps): bump cypress-io/github-action from 4.2.0 to 5.0.8 (#3707)

Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 4.2.0 to 5.0.8.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Commits](cypress-io/github-action@v4.2.0...v5.0.8)

---
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>

* build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#3687)

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/commits)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(bubble-menu): move from lodash-es back to lodash, use named import

* Move back from tsup/esbuild to rollup (#3720)

* fix: bring back global rollup config

* fix: add rollup build for packages except pm

* fix: rollup global build

* fix: fix memory leak on build

* fix(character-count): revert files

* fix: builds run individual per rollup and lerna

* chore: remove old rollup

* fix(blockquote): correct the main module path

* fix(character count): bump version number

* v2.0.0-beta.214

* fix: fix builds including prosemirror

* v2.0.0-beta.215

* fix(bubble-menu): fix lodash import

* integrate typesense

* v2.0.0-beta.216

* integrate typesense

* integrate typesense

* schedule typesearch scraper

* schedule typesearch scraper

* fix(bubble-menu): exclude lodash/debounce from externals

* v2.0.0-beta.217

* fix: Prevent drag event from being ignored (#3677)

* build(deps): bump actions/cache from 3.0.11 to 3.2.5 (#3741)

Bumps [actions/cache](https://github.com/actions/cache) from 3.0.11 to 3.2.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3.0.11...v3.2.5)

---
updated-dependencies:
- dependency-name: actions/cache
  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>

* build(deps): bump act10ns/slack from 1 to 2 (#3404)

Bumps [act10ns/slack](https://github.com/act10ns/slack) from 1 to 2.
- [Release notes](https://github.com/act10ns/slack/releases)
- [Changelog](https://github.com/act10ns/slack/blob/master/RELEASE.md)
- [Commits](act10ns/slack@v1...v2)

---
updated-dependencies:
- dependency-name: act10ns/slack
  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>

* build(deps): bump json5 from 1.0.1 to 1.0.2 (#3605)

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump json5 from 2.2.1 to 2.2.3 in /demos (#3607)

Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump actions/checkout from 3.0.2 to 3.3.0 (#3609)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.2 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3.0.2...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>

* 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](actions/upload-artifact@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>

* 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](actions/setup-node@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>

* Update regex to exclude channel URL unfurling (#3750)

* Fix type for BubbleMenu prop pluginKey (#3678)

* Extend `nodePasteRule` `find` type to most generic `PasteRuleFinder` (#3759)

* fix(extension-link): Click handler opens selected link instead of clicked link (#3732)

* fix(typography): dont create fractions in the middle of a string (#3762)

* v2.0.0-beta.218

* Use Tailwind CDN direclty? (#3643)

I realized that if I use Tailwind's CDN directly, you can have it react to dark mode directly.

* Override schema text serializers if provided in getText options (#3672)

* chore: add eslintcache (#3525)

* 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.

* 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

* 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>

* Export `createNodeFromContent` and other missing helpers (#3558)

* Queue flushSync microtask (#3533)

Do the same thing as ueberdosis/tiptap#3188

* 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](cypress-io/github-action@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>

* 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

* fix: move y-prosemirror to peer-deps (#3763)

Co-authored-by: Dominik <6538827+bdbch@users.noreply.github.com>

* fix: #3773 - Array for content breaks editor (#3786)

* fix: #3773 - Array for content breaks editor

* fix: lint warning

* Update php.md (#3618)

Changes are based on reading this thread ueberdosis/tiptap#1515 (comment)

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.

* add optionalSlashSlash to protocol options (#3675)

* add optionalSlashSlash to protocol options

* Update documentation

* rename optionalSlashSlash to optionalSlashes

* regenerate package-lock.json with node v16

* 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

* chore: allow new ReactComponentContent components to be created (#3782)

* chore: allow users to create new react nodeview editor content components

* style: remove trailing spaces

* fix(react): reset initialized when editorcontent is unmounting (#3781)

* fix(react): reset initialized when editorcontent is unmounting

* style: remove unneeded if statement

* 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

* 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

* 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](actions/cache@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>

* v2.0.0-beta.219

* fix(core):  fix destroyed view causing errors on dispatchTransaction (#3799)

* fix(tests): fix tests for lists

* v2.0.0-beta.209

* Only allow left mouse button to open links (#3777)

* Only allow left mouse button to open links

* fix lint errors

* core: only check doc.textBetween if other checks pass (#3778)

* fix: package-lock

* fix: use prose-base class for sm screens to prevent override of prose-invert (#3810)

* fix(core): fix linting issues

* 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

* fix(tests): add assertion for each valid/invalid link (#3815)

* fix(tests): add assertion for each valid/invalid link

* chore(tests): disable video generation

* feat(react): allow react renderer to assign attributes to react renderer element (#3812)

* fix(react): allow updating event handlers on editor (#3811)

* tests: increase timeout

* 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

* WIP - list backspace behaviour

* WIP - add handling when backspace is pressed at start of a list item

* WIP - fix undoInputRule

* 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](cypress-io/github-action@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>

* try to fix docs link order in menu

* fix inconsistent tiptap spelling

* docs: fix docs order and add new pro extensions

* docs: update extension list

* update docs

* fix: Ordered list start support broke in #3541 (#3833)

* fix: #3831

* fix: default attribute + predicate

* docs: link to support page

* refactor(extension-youtube): command types (#3842)

* build(deps): bump actions/checkout from 3.3.0 to 3.4.0 (#3864)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>

* build(deps): bump cypress-io/github-action from 5.2.0 to 5.5.0 (#3863)

Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 5.2.0 to 5.5.0.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Commits](cypress-io/github-action@v5.2.0...v5.5.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>

* build(deps-dev): bump webpack from 5.73.0 to 5.76.0 (#3855)

Bumps [webpack](https://github.com/webpack/webpack) from 5.73.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.73.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* temporary changes

* docs: consistent naming (#3882)

* feat(attributes): dynamic default (#3379)

* style(core): fix linting issues (#3884)

* Handle NodeViews in BubbleMenu positioning (#3881)

* fix(bubble-menu): use correct children of node view renderers for clientRect

* fix(bubble-menu): remove lodash

* fix(bubble-menu): support vue node views

* fix(demos): revert bubble menu demo

* chore: add Dev demo folder (#3887)

* ci: remove slack notifications (#3885)

* docs: update nodes and extensions lists (#3886)

* docs: remove pro extension callout from collab docs (#3883)

* Fixing reoccurring issue #3331 and improving related PR #3533 (#3862)

* Add custom paragraph example

* Remove unnecessary queueMicrotask

* Release Candidate Preparation (#3890)

* 2.0.0-rc.0

* chore: make fixed version dependencies while on rc

* 2.0.0-rc.1

* chore: add nnew release and prerelease actions (#3836)

* TiptapCollab

* Merge pull request #3895 from ueberdosis/feature/ttCollabProvider

Updates @hocuspocus/provider, moves demo to TiptapCollab

* fix(lists): improve list behaviour

* chore: change back to independent releases

* Collaboration: Fix history after late-registering plugins (#3901)

* fix(extension-collaboration): fix history after late-registering plugins

* fix(extension-collaboration): fix history after late-registering plugins

* chore: remove independent

* 2.0.0-rc.2

* chore: change peerDeps

* chore: update package-lock.json

* ci: remove slack notifications (#3898)

* ci: remove slack notifications

* clean up envs

* build(deps): bump actions/checkout from 3.4.0 to 3.5.0 (#3889)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>

* build(deps): bump cypress-io/github-action from 5.5.0 to 5.5.1 (#3888)

Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 5.5.0 to 5.5.1.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Commits](cypress-io/github-action@v5.5.0...v5.5.1)

---
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>

* build(deps): bump actions/cache from 3.2.6 to 3.3.1 (#3846)

Bumps [actions/cache](https://github.com/actions/cache) from 3.2.6 to 3.3.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3.2.6...v3.3.1)

---
updated-dependencies:
- dependency-name: actions/cache
  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>

* docs: prepare for stable release (#3892)

* docs: changelogs

* docs: about

* New Issue & Discussion Templates (#3907)

* chore: update github templates

* chore: add discussion templates

* chore: update issue templates

* chore: add pull request template

* chore: add pull request template

* chore: add pull request template

* feat(core): add editor to this context in schema functions (#3909)

* update lerna version

* v2.0.0-rc.3

* update packagelock

* v2.0.0

* update package-lock

* add new release script

* add rc as pre tag

* pin lerna version

* update package-lock

* update lerna

* chore: remove core from pm dependencies

* docs: fix nodes list

* chore: dont push new versions automatically

* package-lock update

* Updates @hocuspocus/provider to 2.0.1 (#3913)

* Updates @hocuspocus/provider to 2.0.1 (#3913)

* fix: Update peerDependencies to fix lerna version tasks (#3914)

* v2.1.0-rc.0

* revert version to 2.0.0

* dev: temporarily disable commits for release

* dev: set back lerna version

* disable commits for releases by default

* chore(core): add peerDeps

* chore(extension-blockquote): add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: revert 2.1.0 test changes

* chore: allow react 17 and upwards

* chore: update package-lock.json

* chore: move y-prosemirror to peerDeps

* chore: move y-prosemirror to dev deps

* chore: move y-prosemirror to dev deps

* Update clickHandler.ts (#3917)

Fix left click invalid

* Update clickHandler.ts (#3917)

Fix left click invalid

* fix: Update peerDependencies to fix lerna version tasks (#3914)

* v2.1.0-rc.0

* revert version to 2.0.0

* dev: temporarily disable commits for release

* dev: set back lerna version

* disable commits for releases by default

* chore(core): add peerDeps

* chore(extension-blockquote): add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: add peerDeps

* chore: revert 2.1.0 test changes

* chore: allow react 17 and upwards

* chore: update package-lock.json

* chore: move y-prosemirror to peerDeps

* chore: move y-prosemirror to dev deps

* chore: move y-prosemirror to dev deps

* v2.0.1

* update demo styles

* fix(list-item): improve delete behaviour

* Update CHANGELOG.md

* Update CHANGELOG.md

* feat: landingpage demo (#3925)

* feat: Tiptap collab demo styling

* feat: add box-shadow to collab demo

* fix(react): fix rebinding events not overwriting editor.on (#3935)

* fix(react): fix rebinding events not overwriting editor.on

* fix(react): move ref assignment inside if

* v2.0.2

* build(deps): bump cypress-io/github-action from 5.5.1 to 5.6.1 (#3933)

Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 5.5.1 to 5.6.1.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Commits](cypress-io/github-action@v5.5.1...v5.6.1)

---
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>

* fix: clear nodes when cursor at start of empty isolating parent (#3943)

* fix: clear nodes when cursor at start of empty isolating parent

* fix: dont break backspace behavior when childCount is over 1

* fix: check if parent is textblock

* fix: add strict pos check for parent isolating pos

* demo: add isolation clear demo

* v2.1.0-pre.0

* fix(bubble-menu): fix debounce not working with collab/collaboration cursor (#3956)

* v2.1.0-pre.1

* fix(bubble-menu): fix debounce not working with collab/collaboration cursor (#3956)

* v2.0.3

* Retain existing config when calling configure() on Marks and Extensions (#3822)

* fix(extension-link): fix link not being kept when pasting url with link (#3975)

* fix(extension-link): fix llinks not being kept when pasted text includes url

* fix(extension-link): fix links not being linked correctly on the correct pos

* fix(link): fix pasting behavior and move all to one plugin

* fix(link): dont do custom behavior if no links were pasted

* fix(link): copied text link should be kept

* fix(link): fix autolink overriding pasted links

* fix(link): fix links not pasting the correct link on selected text

* v2.1.0-rc.2

* fix(core): remove configure from extend functionality

* v2.1.0-rc.3

* chore: remove unused tests

* fix(link): fix links autolinking when not needed (#3989)

* v2.1.0-rc.4

* Update LICENSE.md

* fix: typo in commands.md

* feat: add tiptap class

* update docs
* update demos

* fix(extension-link): fix paste handling

* do not dispatch transaction without any links getting pasted
* prevent onPaste handling in code blocks

* v2.1.0-rc.5

* fix package-lock

* v2.1.0-rc.7

* v2.1.0-rc.8

* Update README.md

* refactor(lists): start refactoring lists code

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Dominik Biedebach <dominik.biedebach@ueber.io>
Co-authored-by: Sven Adlung <sven.adlung@ueber.io>
Co-authored-by: Gustavo Rocha <gugu.r.azevedo@gmail.com>
Co-authored-by: Jaga Santagostino <jagasantagostino@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Kriegeskorte <martin.kriegeskorte@ueber.io>
Co-authored-by: Tova Schreier <86614602+tovaschreier@users.noreply.github.com>
Co-authored-by: svenadlung <info@svenadlung.de>
Co-authored-by: Au <259848+vuau@users.noreply.github.com>
Co-authored-by: Zaymon Antonio <12402727+ZaymonFC@users.noreply.github.com>
Co-authored-by: Dominik <6538827+bdbch@users.noreply.github.com>
Co-authored-by: Dominik Biedebach <dominik@bdbch.com>
Co-authored-by: N0N1m3 <51912406+N0N1m3@users.noreply.github.com>
Co-authored-by: Mattias Reichel <mattias.reichel@gmail.com>
Co-authored-by: James <66140148+koffietiger@users.noreply.github.com>
Co-authored-by: Matthew Mullin <matthewmullin01@gmail.com>
Co-authored-by: Justin Maier <just.maier@gmail.com>
Co-authored-by: Ray Bateman <rumbcam@gmail.com>
Co-authored-by: Jie <jie.gillet@gmail.com>
Co-authored-by: James Taber <jmtaber129@gmail.com>
Co-authored-by: Rico <r@rico.wtf>
Co-authored-by: Harrison Lo <harrison0723@gmail.com>
Co-authored-by: Simon He <57086651+Simon-He95@users.noreply.github.com>
Co-authored-by: Ed Pelc <ed@freightchick.com>
Co-authored-by: Flamenco <Flamenco@users.noreply.github.com>
Co-authored-by: Ta'zirah Marwan <20166436+tazirahmb@users.noreply.github.com>
Co-authored-by: Jack Sleight <jacksleight@gmail.com>
Co-authored-by: Kyle Alwyn <kjalwyn@gmail.com>
Co-authored-by: Hari Haran <hharan618@gmail.com>
Co-authored-by: Peter Fox <peter.fox@peterfox.me>
Co-authored-by: taras-turchenko-moc <92873236+taras-turchenko-moc@users.noreply.github.com>
Co-authored-by: Abdullah Atta <thecodrr@protonmail.com>
Co-authored-by: Tim Raderschad <tim.raderschad@gmail.com>
Co-authored-by: René Eschke <rene@eschke.info>
Co-authored-by: Myles J <hi@mylesj.dev>
Co-authored-by: Kento Moriwaki <kentomoriwaki@gmail.com>
Co-authored-by: Jan Thurau <jan@janthurau.de>
Co-authored-by: jhsy <rest0000@126.com>
Co-authored-by: Nick Holden <nick.r.holden@gmail.com>
Co-authored-by: Philip Isik <github@philipisik.de>
Co-authored-by: Marcus Lyons <10541922+marcuslyons@users.noreply.github.com>
Co-authored-by: Patrick Baber <mail@patrickbaber.de>
  • Loading branch information
Show file tree
Hide file tree
Showing 760 changed files with 39,346 additions and 17,598 deletions.
51 changes: 51 additions & 0 deletions .github/DISCUSSION_TEMPLATE/community-extensions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
title: "Community Extension: "
body:
- type: markdown
attributes:
value: |
Hey! Thanks for your time and effort to create a new community extension! Please make sure to fill out the form below.
- type: textarea
id: description
attributes:
label: Description
description: Please describe how your extension works and what it 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 …"
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 …"
validations:
required: true
- type: dropdown
id: type
attributes:
label: Type
description: Please select the type of this extension.
options:
- "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 …"
validations:
required: false
36 changes: 36 additions & 0 deletions .github/DISCUSSION_TEMPLATE/feature-requests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
title: "Feature Request: "
labels:
- "Type: Feature Request"
body:
- type: markdown
attributes:
value: |
Thanks for your time to create a new feature request! Please make sure to fill out the form below.
- type: textarea
id: description
attributes:
label: Description
description: Please describe the feature you would like to see in Tiptap.
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 …"
validations:
required: true
- type: dropdown
id: type
attributes:
label: Type
description: Please select the type of this feature.
options:
- "New extension"
- "New feature"
- "New Tiptap API"
- "Other"
validations:
required: true
52 changes: 52 additions & 0 deletions .github/DISCUSSION_TEMPLATE/showcase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
title: "Community Extension: "
body:
- type: markdown
attributes:
value: |
Hey! Thanks for using Tiptap in your project. We hope you had a great experience. Please take a moment to share your project with us. We would love to see what you built with Tiptap.
- type: textarea
id: description
attributes:
label: Description
description: Please describe what your 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"
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 …"
validations:
required: true
- type: dropdown
id: type
attributes:
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"
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 …"
validations:
required: false
63 changes: 44 additions & 19 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,30 @@
name: Bug report
description: Create a report to help us improve tiptap
title: "[Bug]: "
description: You've found a bug within the editor core or one of the extensions? Feel free to create a bug report to help us fixing it.
assignees:
- bdbch
- svenadlung
labels:
- bug
- "Type: Bug"
- "Category: Open Source"
- "Status: New"
body:
- type: input
id: packages
attributes:
label: Which packages did you experience the bug in?
description: Please list all packages that you are using.
placeholder: core, extension-mention, react
validations:
required: true
- type: input
id: version
attributes:
label: What Tiptap version are you using?
description: Please list the version of all packages that you are using.
placeholder: 2.0.0
validations:
required: true
- type: textarea
id: problem
attributes:
Expand All @@ -11,31 +33,34 @@ body:
placeholder: "I’m always frustrated when …"
validations:
required: true
- type: textarea
id: environment
- type: dropdown
id: browser
attributes:
label: Which browser was this experienced in? Are any special extensions installed?
description: Please give us more information about your browser environment so we can reproduce the bug faster.
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: How can we reproduce the bug on our side?
description: Steps to reproduce the behavior
label: What browser are you using?
description: Please list the browser that you are using.
options:
- Chrome
- Firefox
- Safari
- Edge
- Other
validations:
required: true
- type: markdown
attributes:
value: |
Chances that we can fix your issue are way higher, if you can provide a CodeSandbox to reproduce the issue.
### CodeSandbox templates
* Vue: https://codesandbox.io/s/tiptap-vue-3-issue-template-tnlpv?file=/src/App.vue
* React: https://codesandbox.io/s/tiptap-react-issue-template-b4hmi?file=/src/App.js
- type: textarea
id: codesandbox
* Javascript: https://codesandbox.io/s/tiptap-js-fv1lyo
* React: https://codesandbox.io/s/tiptap-react-qidlsv
* Vue 2: https://codesandbox.io/s/tiptap-vue-2-25nq3g
* Vue 3: https://codesandbox.io/p/sandbox/tiptap-vue-3-ci7q9h
- type: input
id: sandbox
attributes:
label: Can you provide a CodeSandbox?
label: Code example
description: "Can you provide a CodeSandbox, Stackblitz, GitHub repository or any other kind of code example? This way, we can reproduce your issue faster."
placeholder: https://codesandbox.io/s/tiptap-react-issue-template-nwvwck?file=/src/App.js
validations:
required: false
- type: textarea
Expand Down
94 changes: 94 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report_pro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Bug report (Tiptap Pro)
title: "[PRO]: "
description: You are a Tiptap Pro user and have found a bug with one of the Tiptap Pro functionalities? Feel free to report your issue here
assignees:
- bdbch
- svenadlung
labels:
- "Type: Bug"
- "Category: Pro"
- "Status: New"
body:
- type: input
id: packages
attributes:
label: Which packages did you experience the bug in?
description: Please list all packages that you are using.
placeholder: core, extension-mention, react
validations:
required: true
- type: input
id: version
attributes:
label: What Tiptap version are you using?
description: Please list the version of all packages that you are using.
placeholder: 2.0.0
validations:
required: true
- type: textarea
id: problem
attributes:
label: What’s the bug you are facing?
description: A clear and concise description of what the bug is.
placeholder: "I’m always frustrated when …"
validations:
required: true
- type: dropdown
id: browser
attributes:
label: What browser are you using?
description: Please list the browser that you are using.
options:
- Chrome
- Firefox
- Safari
- Edge
- Other
validations:
required: true
- type: markdown
attributes:
value: |
### CodeSandbox templates
* Javascript: https://codesandbox.io/s/tiptap-js-fv1lyo
* React: https://codesandbox.io/s/tiptap-react-qidlsv
* Vue 2: https://codesandbox.io/s/tiptap-vue-2-25nq3g
* Vue 3: https://codesandbox.io/p/sandbox/tiptap-vue-3-ci7q9h
- type: input
id: sandbox
attributes:
label: Code example
description: "Can you provide a CodeSandbox, Stackblitz, GitHub repository or any other kind of code example? This way, we can reproduce your issue faster."
placeholder: https://codesandbox.io/s/tiptap-react-issue-template-nwvwck?file=/src/App.js
validations:
required: false
- type: textarea
id: expectation
attributes:
label: What did you expect to happen?
description: A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
id: context
attributes:
label: Anything to add? (optional)
description: "Add any other context, screenshots, videos or GIFs here."
- type: checkboxes
attributes:
label: Did you update your dependencies?
description: "Use `npm update` to update your dependencies."
options:
- label: Yes, I’ve updated my dependencies to use the latest version of all packages.
required: true
- type: checkboxes
attributes:
label: Are you sponsoring us?
options:
- label: Yes, I’m a sponsor. 💖
required: false
- type: markdown
attributes:
value: |
Thanks for taking the time to send us feedback!
19 changes: 14 additions & 5 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
blank_issues_enabled: false
contact_links:
- name: Discuss tiptap on GitHub
url: https://github.com/ueberdosis/tiptap/discussions/new
about: Help, discussion about best practices, or any other conversation that would benefit from being searchable
- name: Join the tiptap Discord server
- name: New Feature Request
url: https://github.com/ueberdosis/tiptap/discussions/new?category=feature-requests
about: You want to create a new feature request for Tiptap? Feel free to do so here.
- name: Help & Support
url: https://github.com/ueberdosis/tiptap/discussions/new?category=questions-help
about: You need help with Tiptap or have a question? Feel free to ask here.
- name: Join our Discord
url: https://discord.gg/WtJ49jGshW
about: Ccasual chit-chat with others using tiptap
about: You want to chat with other Tiptap users? Feel free to join our Discord server.
- name: Present your project
url: https://github.com/ueberdosis/tiptap/discussions/new?category=showcase
about: You built something awesome with Tiptap? Feel free to show it off here.
- name: Present your Tiptap extensions
url: https://github.com/ueberdosis/tiptap/discussions/new?category=community-extensions
about: You built a Tiptap extension? Feel free to show it off here.
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Feedback on the documentation
name: Documentation feedback
description: Share what we need to explain better
title: "[Documentation]: "
labels:
- documentation
- "Type: Documentation"
- "Category: Open Source"
- "Status: New"
assignees:
- bdbch
- svenadlung
body:
- type: input
id: url
Expand Down
Loading

0 comments on commit 2b4c7ca

Please sign in to comment.