Commit Graph

300 Commits

Author SHA1 Message Date
svenadlung
708a87fa43 docs: update collab rooms 2022-07-06 13:53:22 +02:00
svenadlung
599b8cc014 docs: move youtube documentation to nodes 2022-07-06 13:20:33 +02:00
Dominik Biedebach
9e5e7d3057 style: remove stray console.log from svelte demo 2022-06-24 18:32:38 +02:00
Dominik Biedebach
e0b13a5125 chore(demos): added svelte default demo 2022-06-24 18:31:39 +02:00
Dominik Biedebach
3d3d78ce1c chore: move from @_bdbch to @_ueberdosis scope 2022-06-24 14:43:21 +02:00
Dominik Biedebach
d24baf6811 dchore(tests): disable hanging tests temporarily 2022-06-24 12:10:03 +02:00
Dominik Biedebach
e85ad0a9ae dchore(tests): disable hanging tests temporarily 2022-06-24 11:15:37 +02:00
Dominik Biedebach
eb92597603 fix(maintainment): fix cjs issues with prosemirror-tables 2022-06-23 09:11:27 +02:00
Dominik
53e39d0c47
refactor(maintainment): set dependency versions for prosemirror and y… (#2904)
* refactor(maintainment): set dependency versions for prosemirror and yjs to fixed versions

* refactor(docs): fix dependency versions in demos

* chore: update package-lock.json

* chore: update latest prosemirror packages
2022-06-21 00:17:10 +02:00
Sven Adlung
d9430e5163
docs: improve docs for youtube extension (#2902)
* docs: improve docs for youtube extension

* docs: improve docs for youtube extension

Co-authored-by: Dominik Biedebach <dominik@bdbch.com>
2022-06-20 19:20:41 +02:00
Dominik Biedebach
3408766e72 docs(docs): move youtube demo 2022-06-20 19:04:39 +02:00
Dominik Biedebach
90dedbeabc docs: move youtube documentation into examples instead of experiments 2022-06-20 19:01:14 +02:00
Dominik
1ebc8f8e14
chore: migrate to new versions of prosemirror packages (#2854)
* refactor: upgrade prosemirror packages to new typescript versions

* refactor: migrate to new typings from prosemirror

* style: fix linting issues

* style: fix linting issues

* style: fix linting issues

* fix(ci): fix build process by reimplement filterTransaction

* fix(extension-test): fix broken build because of wrong output file names

* fix: fix prosemirror-tables not being bundled correctly for ES6

* fix: move to prosemirror-tables-contently until es6 build is working

* fix: fix tests for youtube

* fix: fix youtube test

* fix(demos): fix demos build
2022-06-20 11:45:37 +02:00
Dominik
1c0554b7c0
feat(extension/youtube): new youtube embed extension (#2814)
* feat(extension/youtube):  new youtube embed extension

* fix(extension/youtube): remove wrong destroy call on undefined editor

* fix(extension/youtube): 🐛 fix youtu.be share urls not being recognized correctly

* style: remove stray console.log

* style: remove empty line

* docs(docs): update youtube docs

* Capitalize tiptap

* Capitalize Tiptap

* style(extension/youtube): ✏️ change youtube typing

Co-authored-by: Markus Krause <markus.krause@ueber.io>
2022-06-17 05:29:48 +02:00
Dominik Biedebach
5989f3b780 fix(extension/collaboration): 🚑 pin y-prosemirror version to 1.0.20 to fix broken functionality with vue 2022-06-17 05:08:54 +02:00
Dominik
8c6751f0c6
add precommit hook for linting and automatic eslint fixes + update eslint packages (#2862)
* chore: add precommit hook for eslint fixes, fix linting issues
* chore: add eslint import sort plugin
2022-06-08 14:10:25 +02:00
Enrique Alcántara
39f5e4c31e
Declare lowlight as a peerDependency (#2625)
Declare lowlight as a peerDependency to delegate
the control of which version of lowlight is used
to the client application

Co-authored-by: Enrique Alcantara <ealcantara@gitlab.com>
2022-06-06 19:33:52 +02:00
Dominik
f019f70a19
fix(suggestion): 🐛 make clientrect prop optional as it can potentially be undefined (#2813)
This commit makes the clientRect prop optional - this means that this value can be null. This allows developers using the suggestion extension to know that they have to implement a check for the clientRect before using it.

#2795
2022-05-27 12:31:46 +02:00
Dominik Biedebach
0597e474af style: move node text content into helper function 2022-05-20 19:04:55 +02:00
Dominik Biedebach
b8ae9e2762 fix: disable broken tests for experiements with further todo message 2022-05-20 13:32:50 +02:00
Dominik Biedebach
fda0c7487f style: remove stray console.log 2022-05-16 12:49:12 +02:00
Dominik Biedebach
8e3c2a3b66 test: fix images test in react and collaboration annotation test 2022-05-16 12:49:12 +02:00
Dominik Biedebach
19cc6e1f28 test(examples): try to fix broken test for images react demo 2022-05-16 12:49:12 +02:00
Dominik Biedebach
483468df66 test: fix broken tests & change inactive time for cypress 2022-05-16 12:49:12 +02:00
Dominik Biedebach
7d25030e80 test(examples): add test for tasks vue example 2022-05-16 12:49:12 +02:00
Dominik Biedebach
7b3374efdf test(examples): add missing test for tasks example 2022-05-16 12:49:12 +02:00
Dominik Biedebach
441b357f91 style: fix linting issues in collaboration annotation test 2022-05-16 12:49:12 +02:00
Dominik Biedebach
c4eaf31b12 test(experiments): adds test for collaboration annotation examples 2022-05-16 12:49:12 +02:00
Dominik Biedebach
528ba5d71c refactor(tests): added todo note for tasks test 2022-05-16 12:49:12 +02:00
Dominik Biedebach
2a9467ef34 test(examples): adds more tests for tables, tasks and commands 2022-05-16 12:49:12 +02:00
Dominik Biedebach
b7f95d638d test(examples): add tests for more example pages 2022-05-16 12:49:12 +02:00
Dominik Biedebach
0532770170 style(examples): fix linting issues in custom document test 2022-05-16 12:49:12 +02:00
Dominik Biedebach
3d0074b294 test: add new tests for multiple examples
Added tests for CSS modules, Custom Documents and the Default Editor example
2022-05-16 12:49:12 +02:00
Dominik Biedebach
229936dd3b test: added first tests for examples 2022-05-16 12:49:12 +02:00
Dominik Biedebach
ec4154000d test(extension-link): add test for autolink validation example in vue 2022-05-16 12:00:25 +02:00
Dominik Biedebach
23e67adfa7 feat(extension-link): add validate option to link extension
#2779
2022-05-16 12:00:25 +02:00
Dominik Biedebach
80de6cdf18 refactor(global): remove yarn in favor for npm
re #2087
2022-05-13 10:18:12 +02:00
Patrick Baber
07e8c522ea update people 2022-05-10 19:42:23 +02:00
Martin Kriegeskorte
43611ea2e7 fix: bump documents 2022-04-29 13:53:47 +02:00
Martin Kriegeskorte
45287563f3 fix: temp fix collaboration demo 2022-04-29 13:39:15 +02:00
Martin Kriegeskorte
297461f4a0 rotate keys and docs 2022-04-29 10:45:45 +02:00
svenadlung
c4e6201f3e Use vitejs/plugin-react and include react dependencies 2022-04-27 17:34:51 +02:00
svenadlung
6d7e92d584 Fix: CSSModules demo test 2022-04-27 10:06:19 +02:00
svenadlung
5c1bba6d5b Fix linting issues 2022-04-27 09:45:23 +02:00
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
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
55d458f893 fix type issues 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]
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
Philipp Kühn
ab4a0e2507 demos: add tippy duration to all menu demos 2022-02-11 14:23:04 +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
7f97efb7cd demos: fix content 2022-02-07 10:18:25 +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
Dragoș Străinu
7e2f0ae2ca
docs(nodes/image/react): remove v-if (#2461) 2022-01-31 17:03:21 +01:00
Philipp Kühn
a20e887458 dependencies: update 2022-01-25 10:22:56 +01:00
Philipp Kühn
1dcbefd08b demos: show "No result" in mentions demos 2022-01-12 10:22:27 +01:00
Philipp Kühn
f14098966d dependencies: update 2022-01-10 14:49:26 +01:00
Philipp Kühn
6a94e2fa62 dependencies: update 2022-01-04 10:02:24 +01:00
Pavel Bobylyov
0312fe4325
A comment clarifying the difference between vue 2 and vue 3 when passing props to VueRenderer in Mention plugin (#2319) 2021-12-27 13:24:21 +01:00
Philipp Kühn
ed21bfc422 demos: remove content of index.html files 2021-12-17 14:02:22 +01:00
Philipp Kühn
318592ba22
demos: Add setup for plain js demos (#2288)
* add basic js demo

* improve js demos

* change demo button

* fix js demos on build

* add tailwind experiment

* docs: replace tailwind demo

Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-17 13:49:45 +01:00
Philipp Kühn
6b738f4ecf demos: fix react demos again 2021-12-17 09:45:35 +01:00
Philipp Kühn
44ccba2b42 fix test 2021-12-16 14:29:20 +01:00
Philipp Kühn
38109831c6 refactoring 2021-12-16 14:06:35 +01:00
Philipp Kühn
47b25a626d demos: add basic menu to all demo 2021-12-15 10:50:07 +01:00
Philipp Kühn
083fdecf43 dependencies: update 2021-12-15 10:31:21 +01:00
Philipp Kühn
170ec4be5b fix: don’t check for active node in wrapIn command, fix #1059 2021-12-13 13:32:19 +01:00
Philipp Kühn
ed18c65fa8 demos: fix vmodel demo when using JSON data 2021-12-09 17:44:11 +01:00
Philipp Kühn
b1b39b0b0f dependencies: update 2021-12-08 21:34:25 +01:00
Philipp Kühn
5daa870b09
feat: add some improvements to CharacterCount extension (#2256), fix #1049, fix #1550, fix #1839, fix #2245
* fix a bug when exceeding the character limit

* find a better way to limit the doc size

* check paste events

* add storage method

* refactoring

* use textBetween instead of textContent

* return early if no limit is set

* add words method to storage

* show word count in charactercount demo

Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-08 21:26:30 +01:00
Philipp Kühn
80c2f85838 demos: add more extensions to all demo 2021-12-03 21:21:16 +01:00
Philipp Kühn
7dc85d0229 demos: add demo with many extensions 2021-12-03 21:03:37 +01:00
Philipp Kühn
59c296e6f7 demos: remove details experiment 2021-12-03 20:41:08 +01:00
Philipp Kühn
5a909500a7 demos: fix iOS bug for Vue version of CodeBlockLanguage demo 2021-12-03 11:31:33 +01:00
Philipp Kühn
3d68981b47
feat: Add support for autolink (#2226)
* wip

* WIP

* add autolink implementation

* refactoring

* set keepOnSplit to false

* refactoring

* improve changed ranges detection

* move some helpers into core

Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-03 08:53:58 +01:00
Philipp Kühn
40a9404c94 add newline-after-var rule to eslint config 2021-12-03 00:03:39 +01:00
Philipp Kühn
f7257a5119 dependencies: update 2021-12-02 21:06:13 +01:00
Hans Pagel
ac81bf0e96 setup: fix include dependencies config 2021-12-02 15:52:57 +01:00
Hans Pagel
21fed0fcce demos: remove indexeddb provider from example, use new websocket provider 2021-12-02 15:44:52 +01:00
Philipp Kühn
6c34dec33a fix: remove some magic strings 2021-12-02 14:58:15 +01:00
Philipp Kühn
fa18ffe6d7 update eslint config 2021-12-01 15:40:50 +01:00
Sven Adlung
5af3e7abe0
Merge pull request #2186 from ueberdosis/demos/interactivity
Split vue and react variant for interactivity demo
2021-11-23 14:54:08 +01:00
svenadlung
fc5757a857 Improve persisting of last clicked demo tab 2021-11-22 23:06:09 +01:00
svenadlung
3c1f04bfe7 Fix loading wrong source if memorized framework demo is not given 2021-11-22 22:29:59 +01:00
svenadlung
d434675f74 Refactor interactivity demos 2021-11-22 20:48:04 +01:00
svenadlung
bdb055187a Refactor interactivity demos 2021-11-22 20:36:56 +01:00
svenadlung
4e60147a57 Split vue and react variant for interactivity demo 2021-11-22 19:17:25 +01:00
svenadlung
a55aa5fd17 Demo previews: Memorize active tab 2021-11-22 18:05:40 +01:00
svenadlung
996a2326c8 Demo previews: Make React the first tab by default 2021-11-22 17:33:02 +01:00
Philipp Kühn
f2f1c31522 dependencies: update 2021-11-17 19:23:04 +01:00
svenadlung
7325c759ca Add TableOfContent demo for React 2021-11-16 22:31:34 +01:00
svenadlung
a7df47336c Add GenerateHTML demo for React 2021-11-16 20:35:39 +01:00
svenadlung
d8ce6fdafd Add GenerateJSON demo for React 2021-11-16 20:32:38 +01:00
svenadlung
d6286e5d5c Add GenerateText demo for React 2021-11-16 20:28:31 +01:00