Dominik Biedebach
c1d0f30f47
fix clipboard is undefined issue
2023-10-11 17:22:26 +02:00
Dominik Biedebach
01135be60c
v2.1.12
2023-10-11 15:55:10 +02:00
bdbch
1a7b4280d2
fix(link): restore pasteHandler and add existing url check ( #4523 )
...
* fix(link): restore pasteHandler and add existing url check
* make pasteEvent optional
2023-10-11 15:54:14 +02:00
bdbch
634cb68f6c
v2.1.11
2023-09-20 17:31:41 +02:00
bdbch
6aa755a04b
Revert "v2.2.11"
...
This reverts commit 99a5f2d77f
.
2023-09-20 17:30:40 +02:00
bdbch
99a5f2d77f
v2.2.11
2023-09-20 17:29:31 +02:00
bdbch
361a821245
feature(core): pass through paste event to pasteHandler getAttributes
( #4354 )
...
* add pass through of paste event for paste handlers
* remove unused pasteHandler.ts
* remove link extension from youtube demo
* added missing prop for handler
2023-09-20 17:23:43 +02:00
Dominik Biedebach
8b89b97d5b
v2.1.10
2023-09-15 15:43:55 +02:00
bdbch
2e199b0a59
Fix React and Vue NodeView renderers not adding correct selection classes ( #4452 )
...
* fix(react): add correct / remove selected class
* fix(vue-2): add correct / remove selected class
* fix(vue-3): add correct / remove selected class
2023-09-15 15:06:02 +02:00
Dominik Biedebach
a7156b347b
v.2.1.9
2023-09-14 17:35:24 +02:00
Manueljlin
74b6444388
fix: add missing attributes in extension-link ( #4429 )
...
Despite `rel` and `class` already being defined as an attribute in `addAttributes()`, the interface was missing these two particular attributes so it wasn't accessible when using TypeScript without workarounds.
2023-09-14 17:09:55 +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
Aldin Nezirić
73202a0afb
prevent opening link when clicking on selection containing a link ( #4346 )
...
* prevent opening link when clicking on selection containing a link
* Fix lint err
2023-09-04 21:38:11 +02:00
bdbch
2a83166a46
fix(horizontal-rule): fix insertion being broken on empty docs ( #4375 )
...
* fix(horizontal-rule): fix insertion being broken on empty docs
* add back text selection offset
2023-08-23 09:35:47 -07: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
bdbch
e40ac2584e
fix(list-key-map): fix broken imports ( #4350 )
2023-08-18 09:23:25 -07:00
Dominik Biedebach
571bea436c
v2.1.4
2023-08-18 09:09:17 -07:00
Dominik Biedebach
5686dfa86b
style(link): fix linting
2023-08-18 08:54:22 -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
Steven Qi
f2ac7b9091
fix: fix autolink when code is not enabled for editor ( #4344 )
2023-08-17 23:28:16 -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
bdbch
4fe87d35e5
add overrides to typography extension ( #4287 )
2023-08-10 20:30:56 -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
a2ce734d68
fix(link): Fix autolinking and pasting ( #4292 )
...
* fix linkOnPaste
* fix link on paste breaking links / link behavior
2023-08-10 16:44:31 -07:00
bdbch
fd35db4d09
fix(strikethrough): update strikethrough shortcut ( #4288 )
...
* update strikethrough shortcut
* update tests
2023-08-05 11:38:35 +02:00
svenadlung
4f4a389e00
refactor(vue-3): use pm package
2023-08-04 15:30:34 +02:00
Ben Lewis
7cf17d0b0c
Add support for custom selection builders ( #4128 )
...
* Add support for custom cursor builders
* Add documentation for selectionRender
---------
Co-authored-by: Ben Lewis <ben@engageli.com>
2023-08-03 10:30:28 +02: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
bdbch
d689e2d9c1
React context implementation for Tiptap ( #4192 )
...
* feat(react): add react context implementation
* chore(docs): updated react docs & demos for new context
* chore(docs): added slot docs
* chore(docs): fix typo
* chore(react): use correct editor package
* fix typo in react installation docs
* update react typings to latest version
* fix types
---------
Co-authored-by: bdbch <dominik@bdbch.com>
2023-07-11 18:20:43 +02:00
Flo Edelmann
c30594498e
Make Vue 2 nodeViewProps
compatible with @vue/composition-api
( #4123 )
...
* Add `vue-ts-types` as dependency for `@tiptap/vue-2`
* Use `vue-ts-types` for Vue 2 `nodeViewProps`
to make them compatible with `@vue/composition-api`
2023-07-10 16:26:34 +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