Commit Graph

5952 Commits

Author SHA1 Message Date
Dominik Biedebach
3cefcf12f9 v2.2.0-rc.1 2023-08-18 11:02:41 -07:00
Sam Sudar
2a2eb71247
feature(html): allow caller to specify a document implementation in generateHTML() (#4047)
* allow caller to specify a document implementation
* fix up lint errors
2023-08-18 11:01:59 -07:00
Dominik Biedebach
f315706af1 v2.2.0-rc.0 2023-08-18 10:55:25 -07:00
Dominik Biedebach
441519185b Merge branch 'main' of github.com:ueberdosis/tiptap into develop 2023-08-18 10:54:26 -07:00
Lode Claassen
d31e49b03a
docs: Improve introducing examples in the documentation (#4334)
* skip 'like that' when we don't need it anyway

* change to 'like this' because it is before the example instead of after
2023-08-18 10:53:07 -07:00
bdbch
ff929b179d
feat(placeholder): allow editor-is-empty class on any node (#4335) 2023-08-18 10:52:33 -07:00
bdbch
84b9899d37
docs(react): add documentation for contentDOMElementTag (#4348)
* docs(react): add documentation for contentDOMElementTag
* fix naming for node view in react docs
2023-08-18 10:52:15 -07:00
Nik Graf
fa121d665c
feature: allow to customize the tag of the contentDOMElement (#3984) 2023-08-18 10:51:46 -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
b0eecc848f Merge branch 'develop' of github.com:ueberdosis/tiptap 2023-08-15 17:53:38 -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
652a82b786 reenable cdn docs 2023-08-11 10:33:46 -07:00
Dominik Biedebach
243bdb8c3f merge main 2023-08-10 21:30:41 -07:00
bdbch
2a5ef3d05b
update vanilla js docs (#4316) 2023-08-10 21:14:27 -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
afaa87fcad
fix demo for cut command (#4313) 2023-08-10 18:12:55 -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
Patrick Baber
92688f1b16
update cloud docs (#4247) 2023-08-05 01:45:55 +02:00
svenadlung
4f4a389e00 refactor(vue-3): use pm package 2023-08-04 15:30:34 +02:00
Robin
1c5902131d
Fix HocusPocus typo in introduction.md (#4275) 2023-08-03 10:31:04 +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
dependabot[bot]
b581fa6523
build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 (#4232)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-03 10:15:32 +02:00
Martin Kriegeskorte
4bd507af56 docs: highlight ai 2023-07-30 21:39:45 -07:00
Martin Kriegeskorte
8c3ea97ca0 docs: add ai to docs 2023-07-30 20:08:55 -07:00
svenadlung
05a2edfc16 fix(demos): update deps 2023-07-26 11:16:22 +02:00
tsukinose
cf221995cc
docs: fix HTML tag
Fix p tag to h1 tag
2023-07-25 13:58:03 +02:00
svenadlung
6383fd5408 fix(demos): add missing extensions 2023-07-25 13:34:55 +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
Sebastian Schrama
849704c2d6 fixed wording 2023-07-11 11:12:17 -07:00