Commit Graph

5858 Commits

Author SHA1 Message Date
Segev Finer
87b83e312c
Fix component names in Vue 3 devtools (#3970) 2023-07-07 15:32:25 +02:00
Abdullah Atta
4bca77e4e9
fix: do not use window.open for links in readonly mode (#4073)
* fix: do not use window.open for links in readonly mode

When `contenteditable` is `true`, the browser doesn't allow
direct link opens on clicking the `a` element. This is why we
need to call `window.open` to open our links.

However, when `contenteditable` is `false`, the default
browser mechanism for opening links works and there is no
need for using `window.open`.

* fix: linting errors
2023-07-07 15:31:41 +02:00
joenarus
3053865475
fix(extension-link): fixes link going to wrong url (#4078)
Co-authored-by: Joe Narus <joe@status.cx>
2023-07-07 15:30:13 +02:00
dependabot[bot]
a186ac40ee
build(deps-dev): bump vite from 2.9.13 to 2.9.16 in /demos (#4109)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.9.13 to 2.9.16.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v2.9.16/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.9.16/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 15:19:38 +02:00
dependabot[bot]
1771b530d5
build(deps-dev): bump vite from 2.9.15 to 2.9.16 (#4110)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.9.15 to 2.9.16.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v2.9.16/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.9.16/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 15:19:25 +02:00
dependabot[bot]
aa68529824
build(deps): bump actions/checkout from 3.5.0 to 3.5.3 (#4122)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.0 to 3.5.3.
- [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.5.0...v3.5.3)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
2023-07-07 15:19:07 +02:00
Thomas Portelange
193b991acc
Rel cannot be set (#4112)
Without the addAttributes entry, passing the rel attribute doesn't work (tested in 2.0.3)
2023-07-07 15:18:02 +02:00
Kento Moriwaki
6984ea11d7
Destroy editor in safe (#4000)
* Destroy editor in safe

* Use class component

* Use createElement
2023-07-07 15:17:32 +02:00
Slapbox
babf84b3e6
Fix mod+z/mod+y failed with capslock (#4132) 2023-07-07 15:09:24 +02:00
Hari Acharya
d710846ecb
fix(react): check props.clientRect before creating ReactRenderer (#4138)
* moved validation to top of function
* fixed
2023-07-07 15:08:18 +02:00
Dominik
7e38c0fa0a
New Cut Command & Position Mapping for insertContentAt (#4141)
* feature(core): add cut commandd and map positions for insertContent

* docs(core): added docs for cut command

* chore(demos): added demo for cut command

---------

Co-authored-by: bdbch <dominik@bdbch.com>
2023-07-07 13:17:13 +02:00
Dominik
5bd5bd4ecd
fix(react): update select state when text selection is around node (#4148) 2023-07-07 11:21:58 +02:00
Cameron Hessler
7b4c792034
fix(core) Allow text style to be clearable on new lines (#4151)
* Fix text style not clearing on new line

Fixes #3702

* Fix preserving marks when wrapping/setting nodes

* Uncomment tests

* Revert "Uncomment tests"

This reverts commit 8979bbda81.

* Revert "Fix preserving marks when wrapping/setting nodes"

This reverts commit fe3613b587.
2023-07-07 11:21:28 +02:00
Cameron Hessler
26610cdff3
fix(core) Nested chain not preserving dispatch state (#4152)
* Fix nested chain not preserving dispatch state

* Change test to read as sentence
2023-07-07 11:20:29 +02:00
Ricardo Amaral
b24df3aa4c
fix(link): Prevent auto-linking when typing URL inside inline code mark (#4160) 2023-07-07 11:05:34 +02:00
Brent McSharry
18946b1e35
remove unused let in mark input rules (#4162)
trivial change - the markEnd variable was assigned outside the block and then reassigned within the block without ever using the initial value. Using const assignment just above the first use of the variable improves readability.
2023-07-07 11:01:20 +02:00
Tommy
9ddef25e46
fix list styles nested inside of task item (#4172) 2023-07-07 10:50:42 +02:00
Ben Asher
e97630c639
Require file extensions for imports and exports (#4001)
* Require .js endings

* add extension alias for cypress to resolve ts files with js endings
2023-06-30 21:03:49 +02:00
Dominik
75f0418f03
chore: update codeowners file 2023-06-25 03:11:30 +02:00
Dominik
f36f1e65c7
chore: added CODEOWNERS file (#4154) 2023-06-25 03:10:32 +02:00
Timo
b6183362a8
add missing editor getters (#4150) 2023-06-25 02:58:07 +02:00
dependabot[bot]
7409fece9a
build(deps): bump cypress-io/github-action from 5.6.1 to 5.8.3 (#4139)
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 5.6.1 to 5.8.3.
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Commits](https://github.com/cypress-io/github-action/compare/v5.6.1...v5.8.3)

---
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>
2023-06-25 02:56:18 +02:00
Cameron Hessler
b7dc5d4712
Fix 'enter' behavior on android custom node views (#4153) 2023-06-25 02:33:48 +02:00
Dominik
e5e5b3ffad
chore: remove stalebot for the time being 2023-06-23 12:23:00 +02:00
Dominik Biedebach
3bb56f96ac chore: add default linter for vscode 2023-06-22 19:22:08 +02:00
bdbch
97019c6c99 chore: added dev alias to start 2023-06-21 01:18:29 +02:00
Dominik Biedebach
44996d60be v2.1.0-rc.9 2023-06-15 11:52:59 +02:00
Dominik Biedebach
2281a2273d refactor(lists): start refactoring lists code 2023-06-13 13:53:02 +02:00
Dominik Biedebach
d6c6dd8596 Merge branch 'develop' of github.com:ueberdosis/tiptap into bdbch/list-editing-improvements 2023-06-13 11:34:52 +02:00
Martin
b0198eb14b
Update README.md 2023-06-07 11:53:14 +02:00
svenadlung
83c98aea92 v2.1.0-rc.8 2023-05-25 18:59:12 +02:00
svenadlung
e49171885b v2.1.0-rc.7 2023-05-25 17:57:40 +02:00
svenadlung
0953e2da97 fix package-lock 2023-05-25 17:29:39 +02:00
svenadlung
55d975d01c v2.1.0-rc.5 2023-05-25 14:29:15 +02:00
Sven Adlung
d19267ecef
fix(extension-link): fix paste handling
* do not dispatch transaction without any links getting pasted
* prevent onPaste handling in code blocks
2023-05-25 13:47:27 +02:00
Patrick Baber
614fc8082c
feat: add tiptap class
* update docs
* update demos
2023-05-25 13:45:06 +02:00
Jan Thurau
d61a621186
Merge pull request #4038 from marcuslyons/patch-1
fix: typo in commands.md
2023-05-18 22:04:57 +02:00
Marcus Lyons
a2a9822f24
fix: typo in commands.md 2023-05-10 16:50:14 -06:00
Philip Isik
164eebf07c
Update LICENSE.md 2023-05-10 11:08:48 +02:00
Dominik Biedebach
ccf05b04e3 v2.1.0-rc.4 2023-04-27 12:03:37 +02:00
Dominik
71946c18ac
fix(link): fix links autolinking when not needed (#3989) 2023-04-27 12:02:56 +02:00
Dominik Biedebach
ee86f86560 chore: remove unused tests 2023-04-26 16:20:08 +02:00
Dominik Biedebach
ee496a0c6d v2.1.0-rc.3 2023-04-26 16:09:42 +02:00
Dominik Biedebach
4af54da3e0 fix(core): remove configure from extend functionality 2023-04-26 16:05:43 +02:00
Dominik Biedebach
79255abd65 v2.1.0-rc.2 2023-04-26 14:19:13 +02:00
Dominik
e7d7d49637
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
2023-04-26 14:17:59 +02:00
Nick Holden
0dcc68412f
Retain existing config when calling configure() on Marks and Extensions (#3822) 2023-04-21 10:10:42 +02:00
Dominik Biedebach
56288d791f Merge branch 'main' into 'develop' 2023-04-13 14:00:40 +02:00
Dominik Biedebach
20359ee27d v2.0.3 2023-04-13 12:58:21 +02:00
Dominik
a78f8cd964 fix(bubble-menu): fix debounce not working with collab/collaboration cursor (#3956) 2023-04-13 12:57:29 +02:00