Commit Graph

5445 Commits

Author SHA1 Message Date
Steven DeMartini
155955c9a9 Export helper for text serializers
For plugins and other user-defined extensions, it's useful to be able to
be able to use the text-serializers-from-schema helper, like is done in
the built-in clipboardTextSerializer extension
(43611ea2e7/packages/core/src/extensions/clipboardTextSerializer.ts (L21)).
2022-05-17 17:38:00 +02:00
Ivan Pantic
feef365b53 Expose "range" to textSerializer. Used in "getTextBetween" 2022-05-17 17:36:49 +02:00
JDinABox
0fb68af3a1 Fix extendMarkRange doesn't work when cursor is at end of mark 2022-05-17 13:30:54 +02:00
dependabot[bot]
9430ca9679 build(deps): bump actions/setup-node from 3.1.1 to 3.2.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.1.1...v3.2.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>
2022-05-16 15:00:38 +02:00
Dominik Biedebach
fda0c7487f style: remove stray console.log 2022-05-16 12:49:12 +02:00
Dominik Biedebach
8e3c2a3b66 test: fix images test in react and collaboration annotation test 2022-05-16 12:49:12 +02:00
Dominik Biedebach
19cc6e1f28 test(examples): try to fix broken test for images react demo 2022-05-16 12:49:12 +02:00
Dominik Biedebach
483468df66 test: fix broken tests & change inactive time for cypress 2022-05-16 12:49:12 +02:00
Dominik Biedebach
7d25030e80 test(examples): add test for tasks vue example 2022-05-16 12:49:12 +02:00
Dominik Biedebach
7b3374efdf test(examples): add missing test for tasks example 2022-05-16 12:49:12 +02:00
Dominik Biedebach
441b357f91 style: fix linting issues in collaboration annotation test 2022-05-16 12:49:12 +02:00
Dominik Biedebach
c4eaf31b12 test(experiments): adds test for collaboration annotation examples 2022-05-16 12:49:12 +02:00
Dominik Biedebach
528ba5d71c refactor(tests): added todo note for tasks test 2022-05-16 12:49:12 +02:00
Dominik Biedebach
2a9467ef34 test(examples): adds more tests for tables, tasks and commands 2022-05-16 12:49:12 +02:00
Dominik Biedebach
b7f95d638d test(examples): add tests for more example pages 2022-05-16 12:49:12 +02:00
Dominik Biedebach
0532770170 style(examples): fix linting issues in custom document test 2022-05-16 12:49:12 +02:00
Dominik Biedebach
3d0074b294 test: add new tests for multiple examples
Added tests for CSS modules, Custom Documents and the Default Editor example
2022-05-16 12:49:12 +02:00
Dominik Biedebach
790aaeb915 test: increase default command timeout to 50s 2022-05-16 12:49:12 +02:00
Dominik Biedebach
229936dd3b test: added first tests for examples 2022-05-16 12:49:12 +02:00
Dominik Biedebach
3a3eb5311c fix(extension-link): 🐛 fix auto link validation not working on paste 2022-05-16 12:00:25 +02:00
Dominik Biedebach
ec4154000d test(extension-link): add test for autolink validation example in vue 2022-05-16 12:00:25 +02:00
Dominik Biedebach
358e315921 chore(settings): add conventional commit scopes for vscode 2022-05-16 12:00:25 +02:00
Dominik Biedebach
23e67adfa7 feat(extension-link): add validate option to link extension
#2779
2022-05-16 12:00:25 +02:00
Felix Klein
ccc37d5f24 add support for CSP nonces in createStyleTag 2022-05-13 14:11:52 +02:00
Dominik Biedebach
413a923d57 style(vue2): fix eslint issue with dangling underscore 2022-05-13 10:22:31 +02:00
Dominik Biedebach
80de6cdf18 refactor(global): remove yarn in favor for npm
re #2087
2022-05-13 10:18:12 +02:00
Ralph Schindler
5bc77081b7 hotfix: ensure VueNodeViewRenderer will attempt to use the editors global vue instance when extending for components 2022-05-13 09:53:07 +02:00
Markus Krause
95cefefc77 Update team 2022-05-11 16:49:38 +02:00
David Ilizarov
e17c41498a fix: lint error 2022-05-11 10:22:00 +02:00
David Ilizarov
7401d45b7e fix: properly calculate setDragImage position 2022-05-11 10:22:00 +02:00
Patrick Baber
07e8c522ea update people 2022-05-10 19:42:23 +02:00
Ken van der Eerden
a9e8f48b34 Allow class attribute through setLink()
While you can set a default value for the Link extensions class attribute using 
```javascript
Link.configure({
  HTMLAttributes: {
    class: 'my-custom-class',
  },
})
```
It is currently not possible to dynamically set the class attribute when calling setLink() e.g. 
```javascript
this.editor.chain().focus().extendMarkRange('link').setLink({href: url, class: 'this class should be added'}).run();
```

This change allows for that by default, without needing to extend the Link extension.
2022-05-09 13:24:58 +02:00
Martin Kriegeskorte
43611ea2e7 fix: bump documents 2022-04-29 13:53:47 +02:00
Martin Kriegeskorte
45287563f3 fix: temp fix collaboration demo 2022-04-29 13:39:15 +02:00
Jon Noronha
0819e29e57 again 2022-04-29 12:47:11 +02:00
Jon Noronha
1dbd26c828 lint fix 2022-04-29 12:47:11 +02:00
Jon Noronha
b7c3b113dd Update findSuggestionMatch.ts 2022-04-29 12:47:11 +02:00
Martin Kriegeskorte
297461f4a0 rotate keys and docs 2022-04-29 10:45:45 +02:00
Dominik Biedebach
dd3e27b0e4 fix: fix suggestion package.json 2022-04-29 10:42:54 +02:00
dphuang2
7053898a19 Update Suggestion package.json
Fixes usage with Yarn v3
2022-04-29 10:36:09 +02:00
Enrique Alcantara
d2e00ad782 Remove prosemirror-code from table extension build
Add prosemirror-view, prosemirror-model
and prosemirror-state dependencies to the
extension-table package.json file to indicate
to rollup that these dependencies should not
be included in the distribution file
2022-04-29 10:35:06 +02:00
Ricardo Amaral
7cae9673f0 feat: Add a generic type for suggestion items 2022-04-28 14:23:00 +02:00
Ricardo Amaral
70cb809702 feat: Add onBeforeStart and onBeforeUpdate handlers to the render function 2022-04-28 12:22:16 +02:00
dependabot[bot]
9a207969f6 build(deps): bump actions/checkout from 3.0.0 to 3.0.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.0 to 3.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.0.0...v3.0.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 11:29:40 +02:00
dependabot[bot]
9d7bfc32e2 build(deps-dev): bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 11:29:14 +02:00
Philipp Kühn
90e719c711 Publish
- @tiptap/core@2.0.0-beta.175
 - @tiptap/extension-bubble-menu@2.0.0-beta.56
 - @tiptap/extension-character-count@2.0.0-beta.26
 - @tiptap/extension-floating-menu@2.0.0-beta.51
 - @tiptap/extension-link@2.0.0-beta.37
 - @tiptap/extension-mention@2.0.0-beta.96
 - @tiptap/extension-task-item@2.0.0-beta.32
 - @tiptap/html@2.0.0-beta.174
 - @tiptap/react@2.0.0-beta.109
 - @tiptap/starter-kit@2.0.0-beta.184
 - @tiptap/suggestion@2.0.0-beta.91
 - @tiptap/vue-2@2.0.0-beta.78
 - @tiptap/vue-3@2.0.0-beta.91
2022-04-27 22:50:51 +02:00
Sven Adlung
7d7330f2c4
Merge pull request #2732 from ueberdosis/vitejs-plugin-react
Use vitejs/plugin-react and include react dependencies
2022-04-27 17:53:49 +02:00
svenadlung
c4e6201f3e Use vitejs/plugin-react and include react dependencies 2022-04-27 17:34:51 +02:00
svenadlung
6d7e92d584 Fix: CSSModules demo test 2022-04-27 10:06:19 +02:00
svenadlung
5c1bba6d5b Fix linting issues 2022-04-27 09:45:23 +02:00