Commit Graph

5597 Commits

Author SHA1 Message Date
dependabot[bot]
55d907885d
build(deps): bump nanoid from 3.1.30 to 3.2.0 in /demos (#2480)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-09 12:07:06 +01:00
Philipp Kühn
e7ee9ef71f fix linter 2022-02-07 10:56:19 +01:00
Philipp Kühn
7128d76d0a Publish
- @tiptap/core@2.0.0-beta.174
 - @tiptap/html@2.0.0-beta.173
 - @tiptap/starter-kit@2.0.0-beta.183
2022-02-07 10:22:23 +01:00
Philipp Kühn
bdab760cdb fix: revert changes to selectAll command, fix #2491 2022-02-07 10:19:46 +01:00
Philipp Kühn
7f97efb7cd demos: fix content 2022-02-07 10:18:25 +01:00
Philipp Kühn
3227b7736b Publish
- @tiptap/core@2.0.0-beta.173
 - @tiptap/extension-typography@2.0.0-beta.20
 - @tiptap/html@2.0.0-beta.172
 - @tiptap/react@2.0.0-beta.108
 - @tiptap/starter-kit@2.0.0-beta.182
2022-02-07 09:10:11 +01:00
Philipp Kühn
70422dd107 fix: fix RangeError bug when selecting all text, fix #2490 2022-02-07 09:07:17 +01:00
Codemzy
54b6c395cd
Docs/toc undo fix (#2484)
* Update Component.jsx

Added `transaction.setMeta("addToHistory", false)` to fix undo bug when deleting headings

* Update Component.vue

Added `transaction.setMeta("addToHistory", false)` to fix undo bug when deleting headings
2022-02-06 11:33:30 +01:00
Philipp Kühn
886cd339b9 dependencies: update 2022-02-04 10:21:35 +01:00
Philipp Kühn
1847abdd95 fix lint 2022-02-04 10:15:52 +01:00
Ricardo Amaral
7ce6687184
feat: Allow individual Typography rules to be disabled (#2449) 2022-02-04 10:14:00 +01:00
Philipp Kühn
88ef8eabb0 Publish
- @tiptap/core@2.0.0-beta.172
 - @tiptap/extension-bold@2.0.0-beta.26
 - @tiptap/extension-italic@2.0.0-beta.26
 - @tiptap/extension-placeholder@2.0.0-beta.48
 - @tiptap/extension-underline@2.0.0-beta.23
 - @tiptap/html@2.0.0-beta.171
 - @tiptap/starter-kit@2.0.0-beta.181
2022-02-03 15:03:13 +01:00
Philipp Kühn
5257a3b948 fix: fix hasAnchor type for placeholder extension 2022-02-03 15:02:45 +01:00
Philipp Kühn
01411f8462 fix: don’t add tabindex when readonly, fix #2458 2022-02-03 14:54:37 +01:00
Jonas
b9bd469645
feat: Add key bindings for uppercase letters for bold, italic and underline (#2478)
This way, key bindings 'Mod-B', 'Mod-I' and 'Mod-U' with active caps
lock have the same effect as their lowercase siblings.

Prosemirror examples did the same, see ProseMirror/prosemirror#895

Fixes: #2426

Signed-off-by: Jonas <jonas@freesources.org>
2022-02-03 14:41:36 +01:00
Yousef
2fe6e2135d
feat: expose hasAnchor to custom placeholder function (#2470)
* expose hasAnchor to custom placeholder function

* Update placeholder.ts
2022-02-03 14:39:15 +01:00
Philipp Kühn
9ffc4ab7c8
disable lint fix for now 2022-02-03 14:26:32 +01:00
Angad Sethi
e9926438ea
docs: Typo in Focus Command Documentation of Editor (#2476)
A pretty small fix. The word `boolean` was misspelled.
2022-02-03 10:15:34 +01:00
Dragoș Străinu
7e2f0ae2ca
docs(nodes/image/react): remove v-if (#2461) 2022-01-31 17:03:21 +01:00
Philipp Kühn
f4fc935c6c Publish
- @tiptap/core@2.0.0-beta.171
 - @tiptap/extension-image@2.0.0-beta.25
 - @tiptap/html@2.0.0-beta.170
 - @tiptap/starter-kit@2.0.0-beta.180
2022-01-28 12:19:09 +01:00
Philipp Kühn
999dbbec12 fix: don’t allow base64 images at all, fix #2455 2022-01-28 12:16:10 +01:00
Hans Pagel
e12b3ad80f docs: remove broken link 2022-01-27 23:43:05 +01:00
Hans Pagel
bd266000dc docs: add ueberdosis/tiptap-php 2022-01-27 23:04:05 +01:00
Philipp Kühn
d899141a1a fix lint 2022-01-27 21:37:29 +01:00
Philipp Kühn
9ef798d537 Publish
- @tiptap/core@2.0.0-beta.170
 - @tiptap/html@2.0.0-beta.169
 - @tiptap/starter-kit@2.0.0-beta.179
2022-01-27 09:45:20 +01:00
Philipp Kühn
4be16fcd2e fix: set max textselection correctly, fix #2401 2022-01-27 09:44:53 +01:00
Philipp Kühn
ed56337470 Publish
- @tiptap/core@2.0.0-beta.169
 - @tiptap/html@2.0.0-beta.168
 - @tiptap/starter-kit@2.0.0-beta.178
2022-01-27 09:07:36 +01:00
Philipp Kühn
b584920ea1 fix: fix End key handler, fix #2446 2022-01-27 09:07:03 +01:00
Philipp Kühn
31efb0802e Publish
- @tiptap/core@2.0.0-beta.168
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.68
 - @tiptap/extension-code-block@2.0.0-beta.37
 - @tiptap/html@2.0.0-beta.167
 - @tiptap/starter-kit@2.0.0-beta.177
2022-01-26 09:38:01 +01:00
Philipp Kühn
85fcc29ac6 fix: add attributes to pre tag instead of code tag by default, fix #2440 2022-01-26 09:36:56 +01:00
Hans Pagel
d634f4d9fd
Update README.md 2022-01-25 23:03:39 +01:00
Philipp Kühn
e7163e52f5 Publish
- @tiptap/extension-table@2.0.0-beta.48
2022-01-25 11:10:57 +01:00
JP Obley
c6bea9aa5c
fix: use toggleHeader from prosemirror-tables (#2412), fix #548
Switches the table commands to use `toggleHeader` command instead of the deprecated `toggleHeaderColumn`, `toggleHeaderRow`, and `toggleHeaderCell` commands from `prosemirror-tables`.
2022-01-25 11:09:30 +01:00
Philipp Kühn
82759a898a Publish
- @tiptap/core@2.0.0-beta.167
 - @tiptap/extension-bubble-menu@2.0.0-beta.55
 - @tiptap/extension-code-block-lowlight@2.0.0-beta.67
 - @tiptap/extension-floating-menu@2.0.0-beta.50
 - @tiptap/extension-focus@2.0.0-beta.40
 - @tiptap/extension-mention@2.0.0-beta.95
 - @tiptap/extension-placeholder@2.0.0-beta.47
 - @tiptap/extension-table@2.0.0-beta.47
 - @tiptap/html@2.0.0-beta.166
 - @tiptap/react@2.0.0-beta.107
 - @tiptap/starter-kit@2.0.0-beta.176
 - @tiptap/suggestion@2.0.0-beta.90
 - @tiptap/vue-2@2.0.0-beta.77
 - @tiptap/vue-3@2.0.0-beta.90
2022-01-25 10:53:30 +01:00
Philipp Kühn
75e5601767 fix: add correct windows and px keymap 2022-01-25 10:52:36 +01:00
Philipp Kühn
0aa39f93cb feat: add selectTextblockStart and selectTextblockEnd commands 2022-01-25 10:35:39 +01:00
Philipp Kühn
a20e887458 dependencies: update 2022-01-25 10:22:56 +01:00
Philipp Kühn
28b8f610fb Publish
- @tiptap/extension-horizontal-rule@2.0.0-beta.31
 - @tiptap/starter-kit@2.0.0-beta.175
2022-01-24 22:49:56 +01:00
Philipp Kühn
186f83d78d Merge branch 'main' of https://github.com/ueberdosis/tiptap 2022-01-24 22:49:32 +01:00
Philipp Kühn
34d8011470 fix: set cursor position in setHorizontalRule correctly, fix #2429 2022-01-24 22:49:29 +01:00
dependabot[bot]
16bec4e9d0
build(deps): bump node-fetch from 2.6.6 to 2.6.7 (#2424)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.6 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.6...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 12:56:41 +01:00
Philipp Kühn
75336740c0 Publish
- @tiptap/extension-task-item@2.0.0-beta.31
2022-01-24 10:24:19 +01:00
Philipp Kühn
48d5edcd35 Merge branch 'main' of https://github.com/ueberdosis/tiptap 2022-01-24 10:18:54 +01:00
Philipp Kühn
fe27843e80 fix: merge attrributes correctly when clicking task checkbox, fix #2422 2022-01-24 10:18:51 +01:00
dependabot[bot]
dd9640281e
build(deps): bump nanoid from 3.1.30 to 3.2.0 (#2419)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-22 11:10:19 +01:00
George Marios
5a58153457
docs: Nuxt specific corrections (#2410)
* Nuxt specific corrections

Minor adjustments so that the example doesn't need tinkering to run in latest default Nuxt installation.

Line 38: Nuxt does not use a src folder by default & convert name to multi-word to avoid naming convention errors.
Line 83: Removed id attribute from page container div. Nuxt adds its own id="app" to the app root container.
Line 85:  Convert name to multi-word to avoid naming convention errors.
Line 91: Fix typo client-only

* Refactor: Change component name to TiptapEditor

* docs: changed path notation for new component
2022-01-21 11:05:02 +01:00
Philipp Kühn
84fa6fb85e Publish
- @tiptap/extension-mention@2.0.0-beta.94
 - @tiptap/suggestion@2.0.0-beta.89
2022-01-21 09:29:56 +01:00
Philipp Kühn
55fa220899 fix: fixes an error when using the mention extension and pasting text ending with "@", fix #2413 2022-01-21 09:29:36 +01:00
Philipp Kühn
878dd5ced7 Publish
- @tiptap/core@2.0.0-beta.166
 - @tiptap/html@2.0.0-beta.165
 - @tiptap/starter-kit@2.0.0-beta.174
2022-01-20 22:15:37 +01:00
Philipp Kühn
d2427064ff fix: insertContent keeps marks when using plain text, fix #2406 2022-01-20 22:15:12 +01:00