Commit Graph

5445 Commits

Author SHA1 Message Date
svenadlung
a3d9ab93e0 Merge branch 'main' of github.com:ueberdosis/tiptap 2022-04-26 21:51:08 +02:00
svenadlung
81f5c521e1 Demos: Update collab rooms 2022-04-26 21:51:04 +02:00
Dominik Biedebach
a27c35ac8f added demo for CSS modules (vue.js) 2022-04-22 22:40:42 +02:00
Grigory Kovalenko
cd99a163e2 add support for CSS Modules 2022-04-22 22:39:37 +02:00
Dominik Biedebach
c9eb6a6299 added browser environment to ISSUE_TEMPLATE 2022-04-14 08:39:12 +02:00
aguingand
02cf9fc867 Docs: fix file names in PHP installation 2022-04-14 00:22:31 +02:00
Dominik Biedebach
12305cfa31 fix broken GuideContent demos not rendering because of unexpected useEffect return value 2022-04-14 00:20:09 +02:00
Dany Castillo
a6fd827d31 fix children property not being defined in React.FC type 2022-04-14 00:18:29 +02:00
Dany Castillo
55d458f893 fix type issues 2022-04-14 00:18:29 +02:00
Dany Castillo
7deaf97c65 upgrade React types to v18 2022-04-14 00:18:29 +02:00
Dany Castillo
1e0ca1483b migrate to React 18 API 2022-04-14 00:18:29 +02:00
Dany Castillo
2f3a0312a8 upgrade packages to support React 18 2022-04-14 00:18:29 +02:00
dependabot[bot]
f5c6fabbce build(deps): bump actions/setup-node from 2.5.1 to 3.1.1
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.5.1 to 3.1.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.5.1...v3.1.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 20:17:18 +02:00
dependabot[bot]
08636677a5 build(deps): bump actions/upload-artifact from 2.3.1 to 3.0.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.3.1 to 3.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2.3.1...v3.0.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 20:07:21 +02:00
dependabot[bot]
a558b53ae1 build(deps): bump actions/checkout from 2.4.0 to 3.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3.0.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 20:07:10 +02:00
dependabot[bot]
d9c7b69ced build(deps): bump actions/cache from 2.1.7 to 3.0.2
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.0.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3.0.2)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 20:06:54 +02:00
bdbch
4108e9f991
Merge pull request #2646 from phenax/patch-1
fix(extension-link): prevent parsing `javascript:` pseudo-protocol
2022-04-12 10:14:40 +02:00
bdbch
10855a4d92
Merge pull request #2696 from pradel/feature/fix-peer-dependencies-char-count
fix: remove extension-text-style from character-cout peer dependencies
2022-04-12 10:02:29 +02:00
bdbch
08539b91c9
Merge pull request #2681 from storipress/improve-node-view-props-typing
fix: improve Vue nodeViewProps typing
2022-04-12 10:02:10 +02:00
bdbch
5b4f3d634f
Merge pull request #2698 from ueberdosis/fix-task-item-regex
fix: allow [] as a prefix for task items
2022-04-10 21:44:58 +02:00
Dominik Biedebach
06fd7fb429 fix: allow [] as a prefix for task items 2022-04-10 21:05:57 +02:00
bdbch
a8f094a3d2
Merge pull request #2668 from fleon/patch-1
fix: Allow tippyOptions.getReferenceClientRect in bubble menu to be overridden
2022-04-10 18:01:32 +02:00
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
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