Commit Graph

5848 Commits

Author SHA1 Message Date
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
Dominik Biedebach
beebae1d0a v2.1.0-pre.1 2023-04-12 16:01:57 +02:00
Dominik
e8cef0404b
fix(bubble-menu): fix debounce not working with collab/collaboration cursor (#3956) 2023-04-12 16:00:22 +02:00
Dominik Biedebach
cf175a31cb v2.1.0-pre.0 2023-04-05 15:00:54 +02:00
Dominik
7278ee2b05
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
2023-04-05 14:59:58 +02:00
dependabot[bot]
d2c0d04bf5
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](https://github.com/cypress-io/github-action/compare/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>
2023-04-04 10:58:23 +02:00
Dominik Biedebach
ae10f0d58e Merge branch 'main' of github.com:ueberdosis/tiptap into develop 2023-04-03 17:32:26 +02:00
Dominik Biedebach
7fd164202a v2.0.2 2023-04-03 17:31:16 +02:00
Dominik
64ab3570c1
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
2023-04-03 17:30:35 +02:00
svenadlung
c5496c1b27 feat: add box-shadow to collab demo 2023-03-31 17:10:48 +02:00
svenadlung
87840b0f08 feat: Tiptap collab demo styling 2023-03-31 17:03:38 +02:00