Commit Graph

5659 Commits

Author SHA1 Message Date
Dominik Biedebach
ecee74a94d refactor: export new helper from index.ts 2022-05-20 19:04:55 +02:00
Dominik Biedebach
0597e474af style: move node text content into helper function 2022-05-20 19:04:55 +02:00
Dominik Biedebach
30c39c94c9 style: remove stray console log from input rule 2022-05-20 19:04:55 +02:00
Dominik Biedebach
64b23e120c fix(core): 🐛 fix inputrule not recognizing text content of non-text leaf nodes 2022-05-20 19:04:55 +02:00
Dominik Biedebach
5782b8b804 chore(maintainment): add conventional commits scopes 2022-05-20 16:44:14 +02:00
Anton Liubushkin
d84ce08dcf Update ReactNodeViewRenderer.tsx
remove trailing spaces
2022-05-20 13:33:17 +02:00
Anton Liubushkin
21913445bc Update ReactNodeViewRenderer.tsx 2022-05-20 13:33:17 +02:00
Anton Liubushkin
00cd74e2c6 Add className option and pass through to ReactRenderer 2022-05-20 13:33:17 +02:00
Dominik Biedebach
b8ae9e2762 fix: disable broken tests for experiements with further todo message 2022-05-20 13:32:50 +02:00
Philipp Kühn
1789af864f Publish
- @tiptap/core@2.0.0-beta.176
 - @tiptap/extension-link@2.0.0-beta.38
 - @tiptap/extension-mention@2.0.0-beta.97
 - @tiptap/extension-table@2.0.0-beta.49
 - @tiptap/html@2.0.0-beta.175
 - @tiptap/starter-kit@2.0.0-beta.185
 - @tiptap/suggestion@2.0.0-beta.92
 - @tiptap/vue-2@2.0.0-beta.79
2022-05-18 10:53:18 +02:00
Philipp Kühn
59310c1dcb update lock file 2022-05-18 10:52:35 +02:00
Steven DeMartini
819622c202 Fix typo in text-serializers-from-schema function 2022-05-17 17:38:00 +02:00
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