Commit Graph

40 Commits

Author SHA1 Message Date
bdbch
5ae2de2e21 chore: merge main into develop 2024-05-13 11:29:50 +02:00
bdbch
b941eea6da
feat: added jsdocs (#4356)
* added JSDocs for almost all extensions

* start adding commands jsdocs

* add jsdocs for rest of extensions

* add jsdocs for Extensions

* add js docs for all extensions

* add more jsdocs

* add js docs for node spec definitions
2024-05-11 14:30:44 +02:00
icode
ad89de3c86
Fix packing ySyncPluginOptions error (#5101)
* Fix package ySyncPluginOptions error

* remove semi
2024-04-30 17:25:56 +02:00
Jan Thurau
e73073c020
Feature/y sync options: allow passing ySyncOptions to extension-collaboration (#4976)
* extension-collaboration: allow passing ySyncOptions

* fixes import
2024-04-11 19:16:44 +02:00
Jan Thurau
1bcef0379f
Feature/y sync options: allow passing ySyncOptions to extension-collaboration (#4976)
* extension-collaboration: allow passing ySyncOptions

* fixes import
2024-03-27 19:37:18 +01:00
Jan Thurau
6e12777859 fixes typing issue 2023-11-17 11:03:23 +01:00
Furkan Bayraktar
0c4bff5d27 Pass onFirstRender option to ySyncPlugin
here is an option called `onFirstRender` in the `CollaborationOptions` type; however, it is not used anywhere. This commit passes the option to the Yjs' sync plugin.
2023-10-12 15:58:58 +02:00
Ben Asher
e97630c639
Require file extensions for imports and exports (#4001)
* Require .js endings

* add extension alias for cypress to resolve ts files with js endings
2023-06-30 21:03:49 +02:00
Sven Adlung
fdf6301a61
Collaboration: Fix history after late-registering plugins (#3901)
* fix(extension-collaboration): fix history after late-registering plugins

* fix(extension-collaboration): fix history after late-registering plugins
2023-03-28 16:00:16 +02:00
Flamenco
c8f8295146
Add onFirstRender callback option (#3600)
* Added onFirstRender callback option

This PR is a simple forwarding of a very useful callback from the ySyncPlugin.

* Fix invalid function name
2023-02-18 18:41:00 +01:00
Dominik
f387ad3dd4
feat(pm): new prosemirror package for dependency resolving
* chore:(core): migrate to tsup

* chore: migrate blockquote and bold to tsup

* chore: migrated bubble-menu and bullet-list to tsup

* chore: migrated more packages to tsup

* chore: migrate code and character extensions to tsup

* chore: update package.json to simplify build for all packages

* chore: move all packages to tsup as a build process

* chore: change ci build task

* feat(pm): add prosemirror meta package

* rfix: resolve issues with build paths & export mappings

* docs: update documentation to include notes for @tiptap/pm

* chore(pm): update tsconfig

* chore(packages): update packages

* fix(pm): add package export infos & fix dependencies

* chore(general): start moving to pm package as deps

* chore: move to tiptap pm package internally

* fix(demos): fix demos working with new pm package

* fix(tables): fix tables package

* fix(tables): fix tables package

* chore(demos): pinned typescript version

* chore: remove unnecessary tsconfig

* chore: fix netlify build

* fix(demos): fix package resolving for pm packages

* fix(tests): fix package resolving for pm packages

* fix(tests): fix package resolving for pm packages

* chore(tests): fix tests not running correctly after pm package

* chore(pm): add files to files array

* chore: update build workflow

* chore(tests): increase timeout time back to 12s

* chore(docs): update docs

* chore(docs): update installation guides & pm information to docs

* chore(docs): add link to prosemirror docs

* fix(vue-3): add missing build step

* chore(docs): comment out cdn link

* chore(docs): remove semicolons from docs

* chore(docs): remove unnecessary installation note

* chore(docs): remove unnecessary installation note
2023-02-02 17:37:33 +01: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
Philipp Kühn
9afadeb7fe
feat!: Replace defaultOptions with addOptions (#2088)
* add new addOptions option

* replace defaultOptions with addOptions for all extensions

* replace defaultOptions with addOptions for all demos

* replace defaultOptions with addOptions in docs

* refactoring

* refactoring

* drop object support for addOptions

* fix optional options

* fix tests
2021-10-26 18:31:13 +02:00
Philipp Kühn
2b16c2ea96 fix: fix plugin order for collab, fix #1973 2021-10-04 06:53:59 +02:00
Philipp Kühn
92b6c5bdce feat: add isChangeOrigin helper method 2021-10-03 20:33:33 +02:00
Philipp Kühn
78e2a6e775 add generic to commands type 2021-06-04 21:56:29 +02:00
Philipp Kühn
bf50af4cf6 fix: add warn message when using collab and history extension together 2021-05-09 23:49:20 +02:00
Philipp Kühn
bd621f4677 fix can().undo() for collab 2021-02-22 10:40:56 +01:00
Philipp Kühn
56b4df044f rename AllCommands to Commands 2021-02-16 18:39:37 +01:00
Philipp Kühn
ca8d1a4245 add command scope 2021-02-16 11:27:58 +01:00
Philipp Kühn
215c26748b improve options interface 2021-02-10 18:25:08 +01:00
Philipp Kühn
55ff908423 refactoring 2021-02-10 18:05:02 +01:00
Philipp Kühn
290ff76e37 add Commands interface 2021-02-10 09:59:35 +01:00
Hans Pagel
ecd0a6669a add support for raw Y.js fragments to the collaboration extension 2021-01-11 18:37:30 +01:00
Hans Pagel
b6e57d8a6a add a comment 2021-01-11 14:43:41 +01:00
Hans Pagel
e4801b0cfa allow to pass a fragment name to the collaboration extension 2021-01-11 14:42:12 +01:00
Hans Pagel
3496718654 make less assumptions about the Y.js provider, fix #70 2021-01-08 18:02:06 +01:00
Florian Wiech
4142637921
refactor: recreate extension exports 2020-12-07 21:32:50 +01:00
Florian Wiech
11de3a287f
refactor: restructure extensions 2020-12-07 21:09:02 +01:00
Philipp Kühn
cd46e5ebd2 fix tests 2020-12-02 12:05:35 +01:00
Philipp Kühn
88f89df479 extension name is required now 2020-12-02 09:44:46 +01:00
Philipp Kühn
143b309bdf add collab commands 2020-12-02 09:28:55 +01:00
Philipp Kühn
5ae9d8cca4 fix history for collab demo 2020-12-01 14:55:11 +01:00
Philipp Kühn
6c39aea432 add destroy event 2020-11-30 13:50:06 +01:00
Hans Pagel
e2c5720a0d refactor the collaboration extensions 2020-11-30 13:35:49 +01:00
Philipp Kühn
ddc71f792a manually merge HTMLAttributes 2020-11-25 09:50:54 +01:00
Hans Pagel
1ed6db24c2 remove provider setting from collab extension 2020-11-16 17:18:07 +01:00
Philipp Kühn
034ee139a3 add new syntax to all packages 2020-11-15 23:25:25 +01:00
Philipp Kühn
cb5ca0c084 refactoring 2020-11-10 21:18:22 +01:00
Philipp Kühn
d3b4e7a1d4 fix build for now 2020-11-10 16:29:31 +01:00