Commit Graph

1136 Commits

Author SHA1 Message Date
Dominik Biedebach
8b89b97d5b v2.1.10 2023-09-15 15:43:55 +02:00
Dominik Biedebach
a7156b347b v.2.1.9 2023-09-14 17:35:24 +02:00
bdbch
6f218be6e4 v2.1.8 2023-09-04 21:40:25 +02:00
bdbch
5437814920 v2.1.7 2023-09-04 21:39:38 +02:00
Dominik Biedebach
028411e735 v2.1.6 2023-08-18 11:08:52 -07:00
Dominik Biedebach
4227f324a5 fix(core): fix broken export 2023-08-18 11:06:50 -07:00
Dominik Biedebach
92be1e8cb0 v2.1.5 2023-08-18 09:25:35 -07:00
Dominik Biedebach
571bea436c v2.1.4 2023-08-18 09:09:17 -07:00
bdbch
ffeefe21ff
fix: replace the whole node in nodeInputRule (#4341)
Co-authored-by: Nicolas Gryman <ngryman@gmail.com>
2023-08-18 08:32:06 -07:00
Dominik Biedebach
c09d9e9e42 v2.1.3 2023-08-17 23:28:54 -07:00
Dominik Biedebach
af017d18ad v2.1.2 2023-08-17 09:06:39 -07:00
bdbch
a251946858
fix(core): fix error when merging class attributes (#4340)
* fix(core): fix error when merging class attributes
* added test
2023-08-17 09:05:48 -07:00
Dominik Biedebach
141dd269b4 v2.1.1 2023-08-16 11:41:19 -07:00
bdbch
0d7daedfa4
hotfix(core): Fix input rules not working if at last position of a block (#4337)
* chore(core): remove log

* fix(core): fix inputRules breaking if last item in hierarchy

* fix(core): use default doc node if no parent default node is found

* chore: update .eslintrc

* chore: fix linting

* chore: fix linting
2023-08-16 11:40:47 -07:00
Dominik Biedebach
9575dd3639 v2.1.0 2023-08-15 17:52:43 -07:00
bdbch
dd6d3d39d1
HorizontalRule: fix setHorizontalRule putting cursor at non-text positions (#4319)
* fix setHorizontalRule putting cursor at non-text positions

* improve selections after inserting horizontalRules
2023-08-15 17:49:38 -07:00
bdbch
0e65d9519d
Core: Fix classes being duplicated on mergeAttributes function (#4320)
* fix classes being duplicated on mergeAttributes function
* use array split and joining to check individual classes
2023-08-15 17:49:09 -07:00
Dominik Biedebach
63267019f5 v2.1.0-rc.14 2023-08-10 20:32:03 -07:00
Dominik Biedebach
58351ae3b7 v2.1.0-rc.13 2023-08-10 18:13:45 -07:00
bdbch
a922f09a5c
added new options for nodeInputRules for block replacements (#4289) 2023-08-10 16:45:13 -07:00
bdbch
7e7057ea43
chore(lists): move list keymap to extra extension (#4290)
* move list keymap to extra extension

* update docs and readme

* move list helpers out of core
2023-08-10 16:44:46 -07:00
bdbch
d1e879dfab
Fix List issues & add support for Mod keys (#4210)
* add support for mod-delete and mod-backspace

* fix backspace not working right behind a list

* move list helpers to core, add support for task lists

* add option to check for node in isAtEndOfNode

---------

Co-authored-by: bdbch <dominik@bdbch.com>
2023-08-03 10:19:32 +02:00
svenadlung
bdc51d12b5 Merge branch 'main' into develop
# Conflicts:
#	CHANGELOG.md
#	demos/CHANGELOG.md
#	demos/package-lock.json
#	demos/package.json
#	demos/src/Examples/CollaborativeEditing/React/index.jsx
#	lerna.json
#	package-lock.json
#	packages/core/CHANGELOG.md
#	packages/core/package.json
#	packages/extension-blockquote/CHANGELOG.md
#	packages/extension-blockquote/package.json
#	packages/extension-bold/CHANGELOG.md
#	packages/extension-bold/package.json
#	packages/extension-bubble-menu/CHANGELOG.md
#	packages/extension-bubble-menu/package.json
#	packages/extension-bullet-list/CHANGELOG.md
#	packages/extension-bullet-list/package.json
#	packages/extension-character-count/CHANGELOG.md
#	packages/extension-character-count/package.json
#	packages/extension-code-block-lowlight/CHANGELOG.md
#	packages/extension-code-block-lowlight/package.json
#	packages/extension-code-block/CHANGELOG.md
#	packages/extension-code-block/package.json
#	packages/extension-code/CHANGELOG.md
#	packages/extension-code/package.json
#	packages/extension-collaboration-cursor/CHANGELOG.md
#	packages/extension-collaboration-cursor/package.json
#	packages/extension-collaboration/CHANGELOG.md
#	packages/extension-collaboration/package.json
#	packages/extension-color/CHANGELOG.md
#	packages/extension-color/package.json
#	packages/extension-document/CHANGELOG.md
#	packages/extension-document/package.json
#	packages/extension-dropcursor/CHANGELOG.md
#	packages/extension-dropcursor/package.json
#	packages/extension-floating-menu/CHANGELOG.md
#	packages/extension-floating-menu/package.json
#	packages/extension-focus/CHANGELOG.md
#	packages/extension-focus/package.json
#	packages/extension-font-family/CHANGELOG.md
#	packages/extension-font-family/package.json
#	packages/extension-gapcursor/CHANGELOG.md
#	packages/extension-gapcursor/package.json
#	packages/extension-hard-break/CHANGELOG.md
#	packages/extension-hard-break/package.json
#	packages/extension-heading/CHANGELOG.md
#	packages/extension-heading/package.json
#	packages/extension-highlight/CHANGELOG.md
#	packages/extension-highlight/package.json
#	packages/extension-history/CHANGELOG.md
#	packages/extension-history/package.json
#	packages/extension-horizontal-rule/CHANGELOG.md
#	packages/extension-horizontal-rule/package.json
#	packages/extension-image/CHANGELOG.md
#	packages/extension-image/package.json
#	packages/extension-italic/CHANGELOG.md
#	packages/extension-italic/package.json
#	packages/extension-link/CHANGELOG.md
#	packages/extension-link/package.json
#	packages/extension-list-item/CHANGELOG.md
#	packages/extension-list-item/package.json
#	packages/extension-mention/CHANGELOG.md
#	packages/extension-mention/package.json
#	packages/extension-ordered-list/CHANGELOG.md
#	packages/extension-ordered-list/package.json
#	packages/extension-paragraph/CHANGELOG.md
#	packages/extension-paragraph/package.json
#	packages/extension-placeholder/CHANGELOG.md
#	packages/extension-placeholder/package.json
#	packages/extension-strike/CHANGELOG.md
#	packages/extension-strike/package.json
#	packages/extension-subscript/CHANGELOG.md
#	packages/extension-subscript/package.json
#	packages/extension-superscript/CHANGELOG.md
#	packages/extension-superscript/package.json
#	packages/extension-table-cell/CHANGELOG.md
#	packages/extension-table-cell/package.json
#	packages/extension-table-header/CHANGELOG.md
#	packages/extension-table-header/package.json
#	packages/extension-table-row/CHANGELOG.md
#	packages/extension-table-row/package.json
#	packages/extension-table/CHANGELOG.md
#	packages/extension-table/package.json
#	packages/extension-task-item/CHANGELOG.md
#	packages/extension-task-item/package.json
#	packages/extension-task-list/CHANGELOG.md
#	packages/extension-task-list/package.json
#	packages/extension-text-align/CHANGELOG.md
#	packages/extension-text-align/package.json
#	packages/extension-text-style/CHANGELOG.md
#	packages/extension-text-style/package.json
#	packages/extension-text/CHANGELOG.md
#	packages/extension-text/package.json
#	packages/extension-typography/CHANGELOG.md
#	packages/extension-typography/package.json
#	packages/extension-underline/CHANGELOG.md
#	packages/extension-underline/package.json
#	packages/extension-youtube/CHANGELOG.md
#	packages/extension-youtube/package.json
#	packages/html/CHANGELOG.md
#	packages/html/package.json
#	packages/pm/CHANGELOG.md
#	packages/pm/package.json
#	packages/react/CHANGELOG.md
#	packages/react/package.json
#	packages/starter-kit/CHANGELOG.md
#	packages/starter-kit/package.json
#	packages/suggestion/CHANGELOG.md
#	packages/suggestion/package.json
#	packages/vue-2/CHANGELOG.md
#	packages/vue-2/package.json
#	packages/vue-3/CHANGELOG.md
#	packages/vue-3/package.json
2023-07-17 13:03:44 +02:00
svenadlung
c4e655fb07 v2.0.4 2023-07-17 09:40:21 +02:00
Sven Adlung
7f2c6194fd
feat(core): add the ability to register CSS via extension 2023-07-17 09:32:58 +02:00
bdbch
73ea998514 v.2.1.0-rc-12 2023-07-14 06:08:29 +02:00
Dominik Biedebach
706508e975 v2.1.0-rc.11 2023-07-07 16:22:50 +02:00
Dominik
6b65af8fc3
fix(core): fix cut and insertContentAt functions (#4187) 2023-07-07 16:21:58 +02:00
Dominik Biedebach
f92916d2ea v2.1.0-rc.10 2023-07-07 15:58:26 +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
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
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
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
Cameron Hessler
b7dc5d4712
Fix 'enter' behavior on android custom node views (#4153) 2023-06-25 02:33:48 +02:00
Dominik Biedebach
44996d60be v2.1.0-rc.9 2023-06-15 11:52:59 +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
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
55d975d01c v2.1.0-rc.5 2023-05-25 14:29:15 +02:00
Patrick Baber
614fc8082c
feat: add tiptap class
* update docs
* update demos
2023-05-25 13:45:06 +02:00
Dominik Biedebach
ccf05b04e3 v2.1.0-rc.4 2023-04-27 12:03:37 +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
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 Biedebach
beebae1d0a v2.1.0-pre.1 2023-04-12 16:01:57 +02:00
Dominik Biedebach
cf175a31cb v2.1.0-pre.0 2023-04-05 15:00:54 +02:00