bdbch
45591ef317
Merge pull request #2692 from scottsidwell/fix/prevent-active-suggestions-when-read-only
...
fix: prevent suggestions from being active when editor is readonly
2022-04-10 11:42:27 +02:00
Scott Sidwell
45990cdc0f
fix: prevent suggestions from being active when editor is readonly
2022-04-10 12:14:42 +10:00
Léo Pradel
2fc6a4b780
fix: remove extension-text-style from character-cout peer dependencies
2022-04-09 19:05:28 +02:00
bdbch
0bacd390e6
Merge pull request #2672 from ueberdosis/dependabot/npm_and_yarn/demos/minimist-1.2.6
...
build(deps): bump minimist from 1.2.5 to 1.2.6 in /demos
2022-04-09 12:02:33 +02:00
bdbch
777d6d85dd
Merge pull request #2667 from ueberdosis/dependabot/npm_and_yarn/minimist-1.2.6
...
build(deps-dev): bump minimist from 1.2.5 to 1.2.6
2022-04-09 12:02:18 +02:00
bdbch
fe815adcf8
Merge pull request #2677 from Doist/tree-shaking-improvements
...
fix: Mark the bubble/floating menu extensions as side effect free
2022-04-09 09:44:44 +02:00
bdbch
fb7a80d78e
Merge pull request #2691 from scottsidwell/fix/pc-keymap-for-home-and-end
...
fix: don't override behaviour of Home / End in pc keymap
2022-04-09 09:41:28 +02:00
bdbch
a63ae5f02b
Merge pull request #2695 from ueberdosis/vscode-debugging
...
chore: added visual studio code debugging launch options
2022-04-09 08:48:14 +02:00
Dominik Biedebach
4a7f79c095
chore: added visual studio code debugging launch options
2022-04-09 06:52:37 +02:00
Scott Sidwell
d270419ad8
fix: don't override behaviour of Home / End in pc keymap
...
Similarly removed in Prosemirror at ProseMirror/prosemirror-commands@20371c58
For users who wish to preserve this behaviour, they can achieve this via:
```javascript
const CustomKeyboardBehaviour = Extension.create({
addKeyboardShortcuts() {
return {
['Home']: () => this.editor.commands.selectTextblockStart(),
['End']: () => this.editor.commands.selectTextblockEnd(),
}
}
})
const editor = new Editor({
extensions: [
// Register your custom extension with the editor.
CustomKeyboardBehaviour,
]
});
```
2022-04-08 11:06:37 +10:00
DanSnow
190a6993d4
fix: improve Vue nodeViewProps typing
2022-04-05 13:55:53 +08:00
Ricardo Amaral
172513cb44
fix: Mark the bubble/floating menu extensions as side effect free
2022-04-04 12:22:56 +01:00
dependabot[bot]
b3bb2a036b
build(deps): bump minimist from 1.2.5 to 1.2.6 in /demos
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-01 17:37:49 +00:00
Himanshu Kapoor
70dc4fc29f
chore: lint fixes
2022-03-31 22:18:40 +02:00
fleonus
285f89b5a9
Allow overriding getReferenceClientRect in floating menu
2022-03-31 22:12:06 +02:00
fleonus
71c78ed53b
Allow getReferenceClientRect to be overridden
...
Prefer using getReferenceClientRect in tippyOptions if available.
This allows modifying the position of the bubble menu in a different
location for block level elements, like above a table cell or a code block.
2022-03-31 22:03:34 +02:00
dependabot[bot]
9adefc2526
build(deps-dev): bump minimist from 1.2.5 to 1.2.6
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 19:51:58 +00:00
BrianHung
1d71877ffd
fix-decorations-and-attribute-editor-props
2022-03-30 02:02:11 -07:00
BrianHung
ebddbadc1b
add-empty-editor-class-to-root-div
2022-03-30 01:24:02 -07:00
Akshay Nair
947f311c0e
fix(extension-link): restricts parsing javascript:
pseudo-protocol
2022-03-24 17:17:08 +05:30
Philipp Kühn
ab4a0e2507
demos: add tippy duration to all menu demos
2022-02-11 14:23:04 +01:00
Philipp Kühn
3462e56252
Publish
...
- @tiptap/extension-image@2.0.0-beta.27
2022-02-11 11:00:50 +01:00
Philipp Kühn
ecf270c9e7
fix: don’t trigger image input rule on paste, fix #2518
2022-02-11 11:00:15 +01:00
Philipp Kühn
4b128e17be
Publish
...
- @tiptap/extension-character-count@2.0.0-beta.25
2022-02-11 10:23:01 +01:00
Philipp Kühn
fbfe1d9992
fix: improve bundle size of character count extension, fix #2519
2022-02-11 10:22:35 +01:00
Philipp Kühn
9a1463556e
Publish
...
- @tiptap/extension-image@2.0.0-beta.26
2022-02-09 12:28:20 +01:00
Philipp Kühn
d18df97ef3
dependencies: update
2022-02-09 12:27:27 +01:00
Philipp Kühn
a97a46fc51
feat: add allowBase64 option to image extension
2022-02-09 12:21:26 +01:00
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