Commit Graph

5174 Commits

Author SHA1 Message Date
Philipp Kühn
58c174abea Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.65
 - @tiptap/extension-code-block@2.0.0-beta.35
 - @tiptap/starter-kit@2.0.0-beta.168
2022-01-05 10:27:44 +01:00
Philipp Kühn
0e9930f90f fix: prevent named capturing groups, fix #2128 2022-01-05 10:27:23 +01:00
Philipp Kühn
0c4ab8bf68 Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.64
 - @tiptap/extension-code-block@2.0.0-beta.34
 - @tiptap/starter-kit@2.0.0-beta.167
2022-01-05 10:22:40 +01:00
Philipp Kühn
a35b7fbe2c feat: add exitOnTripleEnter and exitOnArrowDown options to CodeBlock extension 2022-01-05 10:21:23 +01:00
Philipp Kühn
07184fe254 Publish
- @tiptap/extension-heading@2.0.0-beta.25
 - @tiptap/starter-kit@2.0.0-beta.166
 - @tiptap/vue-3@2.0.0-beta.87
2022-01-05 10:07:17 +01:00
Philipp Kühn
c6d5575c5c Merge branch 'main' of https://github.com/ueberdosis/tiptap 2022-01-05 09:22:00 +01:00
Philipp Kühn
3ba3afbea3 fix: revert type changes for useEditor in vue-3 package 2022-01-05 09:21:54 +01:00
Britta Weiland
77095c4d52
fix: export type Level for external use (#2354)
Export type `Level` to externally work with levels that are passed to the `setHeading` and `toggleHeading` commands, instead of only being able to pass literal numbers.

Example:
```
// where `selectedHeadingLevel` changes as part of other logic
this.editor.commands.toggleHeading({ level: this.selectedHeadingLevel })
```

Co-authored-by: Britta Weiland <weiland@bryter.io>
2022-01-05 09:15:47 +01:00
Philipp Kühn
17363afde0 fix build files for packages with custom tsconfig 2022-01-04 23:39:38 +01:00
Aiyush-G
1c601f62cd
Update vue3.md (#2350)
npm run dev --> npm run serve
2022-01-04 23:34:27 +01:00
Britta Weiland
338d4b1589
docs: Fix typo in contributing.md (#2352) 2022-01-04 23:21:02 +01:00
Aiyush-G
5c4df33b63
Update vue3.md (#2349)
Gramatical Error:
You’re probably used to bind your data --> You’re probably used to binding your data
Note: addition of -ing
2022-01-04 19:57:12 +01:00
Philipp Kühn
e550d3c69e Publish
- @tiptap/core@2.0.0-beta.160
 - @tiptap/extension-bubble-menu@2.0.0-beta.54
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.63
 - @tiptap/extension-collaboration-cursor@2.0.0-beta.34
 - @tiptap/extension-collaboration@2.0.0-beta.33
 - @tiptap/extension-floating-menu@2.0.0-beta.49
 - @tiptap/extension-focus@2.0.0-beta.39
 - @tiptap/extension-font-family@2.0.0-beta.21
 - @tiptap/extension-gapcursor@2.0.0-beta.34
 - @tiptap/extension-link@2.0.0-beta.34
 - @tiptap/extension-mention@2.0.0-beta.91
 - @tiptap/extension-placeholder@2.0.0-beta.46
 - @tiptap/extension-table@2.0.0-beta.46
 - @tiptap/html@2.0.0-beta.159
 - @tiptap/react@2.0.0-beta.104
 - @tiptap/starter-kit@2.0.0-beta.165
 - @tiptap/suggestion@2.0.0-beta.86
 - @tiptap/vue-2@2.0.0-beta.74
 - @tiptap/vue-3@2.0.0-beta.86
2022-01-04 10:15:07 +01:00
Philipp Kühn
6a94e2fa62 dependencies: update 2022-01-04 10:02:24 +01:00
Apaar Gupta
909d44459c
fix: Export type FontFamilyOptions (#2345) 2022-01-03 21:19:40 +01:00
Hans Pagel
983d8488b3 docs: update link to job description 2022-01-03 17:51:41 +01:00
Philipp Kühn
1acf1284b9 Publish
- @tiptap/react@2.0.0-beta.103
2022-01-03 15:17:38 +01:00
philippkuehn
7160b19c73 ci: fix code style linting errors 2022-01-03 13:29:53 +00:00
Luke Murray
64dfae8511
fix: change reactrenderer component type definition (#2327) 2022-01-03 14:28:31 +01:00
dependabot[bot]
bca223fd2e
build(deps): bump actions/setup-node from 2.5.0 to 2.5.1 (#2343)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.5.0...v2.5.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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>
2022-01-03 14:02:12 +01:00
nuro
989c027d95
docs: Added setup script syntax to Vue 3 install docs (#2324) 2022-01-03 11:35:03 +01:00
milahu
83ede65a49
typo (#2338) 2022-01-02 19:03:54 +01:00
hatef
ba3ea081cb
Fix typos in typescript.md (#2339)
Fix some minor typos.
2022-01-02 19:03:27 +01:00
Stijn De Clercq
4c94605071
Fix typo (#2333) 2021-12-31 10:56:46 +01:00
Pavel Bobylyov
0312fe4325
A comment clarifying the difference between vue 2 and vue 3 when passing props to VueRenderer in Mention plugin (#2319) 2021-12-27 13:24:21 +01:00
Philipp Kühn
8844627773 Publish
- @tiptap/core@2.0.0-beta.159
 - @tiptap/extension-bubble-menu@2.0.0-beta.53
 - @tiptap/extension-bullet-list@2.0.0-beta.26
 - @tiptap/extension-character-count@2.0.0-beta.24
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.62
 - @tiptap/extension-code-block@2.0.0-beta.33
 - @tiptap/extension-floating-menu@2.0.0-beta.48
 - @tiptap/extension-ordered-list@2.0.0-beta.27
 - @tiptap/extension-task-list@2.0.0-beta.26
 - @tiptap/html@2.0.0-beta.158
 - @tiptap/react@2.0.0-beta.102
 - @tiptap/starter-kit@2.0.0-beta.164
 - @tiptap/vue-2@2.0.0-beta.73
 - @tiptap/vue-3@2.0.0-beta.85
2021-12-22 12:43:00 +01:00
Philipp Kühn
4904011216 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-12-22 12:27:10 +01:00
Philipp Kühn
ded6f9618f fix: allow input rules after hard break, fix #2302 2021-12-22 12:27:06 +01:00
Tomas Valenta
561941d5e0
fix: Remove element.current from useEffect in BubbleMenu and FloatingMenu (#2297)
* Remove `element.current` from `useEffect` dependencies

Changes to the `element.current` don't trigger `useEffect` rerender and shouldn't be used in the dependency array.
One discussion about is this is for example here: https://stackoverflow.com/questions/60476155/is-it-safe-to-use-ref-current-as-useeffects-dependency-when-ref-points-to-a-dom

It's also causing some subtle bugs when mounting and unmounting editors.

* Fix `FloatingMenu` and `BubbleMenu` element references

* Fix linting errors

* Don't register plugin when the editor is already destroyed; Simplify `HTMLElement` reference handling

* Fix lint error
2021-12-22 12:13:36 +01:00
dependabot[bot]
fadafae498
build(deps): bump actions/upload-artifact from 2.3.0 to 2.3.1 (#2300)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.3.0...v2.3.1)

---
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>
2021-12-20 13:32:23 +01:00
Hans Pagel
f24c7828c2 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-12-17 18:46:22 +01:00
Hans Pagel
6ff0e8ed9c docs: add job 2021-12-17 18:46:20 +01:00
Philipp Kühn
ed21bfc422 demos: remove content of index.html files 2021-12-17 14:02:22 +01:00
Philipp Kühn
318592ba22
demos: Add setup for plain js demos (#2288)
* add basic js demo

* improve js demos

* change demo button

* fix js demos on build

* add tailwind experiment

* docs: replace tailwind demo

Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-17 13:49:45 +01:00
Hans Pagel
c980bb2f5f Merge branch 'main' of https://github.com/ueberdosis/tiptap 2021-12-17 13:18:49 +01:00
Hans Pagel
5f4f52a1f4 docs: add new jobs 2021-12-17 13:18:47 +01:00
Igor Adrov
26e39e1544
docs: fix typo in floating menu docs (#2290) 2021-12-17 12:28:06 +01:00
Philipp Kühn
73fc527be9 Publish
- @tiptap/core@2.0.0-beta.158
 - @tiptap/html@2.0.0-beta.157
 - @tiptap/react@2.0.0-beta.101
 - @tiptap/starter-kit@2.0.0-beta.163
2021-12-17 09:46:13 +01:00
Philipp Kühn
6b738f4ecf demos: fix react demos again 2021-12-17 09:45:35 +01:00
Philipp Kühn
629f4d2a76 Revert "fix: Make sure editor is available on first render (#2282), fix #2040, fix #2182"
This reverts commit 2436e2c8fe.
2021-12-17 09:42:22 +01:00
Philipp Kühn
07cabe65f4 fix: remove empty mark attributes from getDebugJSON 2021-12-17 00:09:09 +01:00
Philipp Kühn
209b3547e6 Publish
- @tiptap/extension-code-block-lowlight@2.0.0-beta.61
 - @tiptap/extension-code-block@2.0.0-beta.32
 - @tiptap/starter-kit@2.0.0-beta.162
2021-12-16 15:18:59 +01:00
Philipp Kühn
ffafff9e36 feat: escape code blocks on arrow down, fix #1204 2021-12-16 15:16:08 +01:00
Philipp Kühn
44ccba2b42 fix test 2021-12-16 14:29:20 +01:00
Philipp Kühn
179b3e23a9 Publish
- @tiptap/core@2.0.0-beta.157
 - @tiptap/html@2.0.0-beta.156
 - @tiptap/react@2.0.0-beta.100
 - @tiptap/starter-kit@2.0.0-beta.161
2021-12-16 14:08:38 +01:00
Philipp Kühn
38109831c6 refactoring 2021-12-16 14:06:35 +01:00
Ryan Toronto
2436e2c8fe
fix: Make sure editor is available on first render (#2282), fix #2040, fix #2182 2021-12-16 13:56:35 +01:00
Philipp Kühn
8ed485ba53
fix: Improve backspace handling (#2284), fix #2281
* improve backspace handling

* revert codeblock changes

* revert codeblock changes

* fix tests

Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-16 13:55:32 +01:00
Philipp Kühn
10248f2763 Publish
- @tiptap/core@2.0.0-beta.156
 - @tiptap/html@2.0.0-beta.155
 - @tiptap/starter-kit@2.0.0-beta.160
2021-12-15 10:51:52 +01:00
Philipp Kühn
66eb2f2a47 fix: prevent error in toggleList command, fix #2279 2021-12-15 10:51:23 +01:00