Commit Graph

50 Commits

Author SHA1 Message Date
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
31c3a9aad9
fix(extension/table): move dependency from @_ueberdosis to @tiptap (#3448) 2022-11-24 14:48:48 +01:00
John Franey
ae13cf61ad
fix(types): fix link and table type errors (#3208) 2022-09-20 23:54:36 +02:00
Dominik Biedebach
3d3d78ce1c chore: move from @_bdbch to @_ueberdosis scope 2022-06-24 14:43:21 +02:00
Dominik Biedebach
eb92597603 fix(maintainment): fix cjs issues with prosemirror-tables 2022-06-23 09:11:27 +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
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
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
40a9404c94 add newline-after-var rule to eslint config 2021-12-03 00:03:39 +01: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
7ffabf251c
feat: Add extension storage (#2069) 2021-10-22 08:52:54 +02:00
Philipp Kühn
239a2e36a4 fix: don’t resize tables if editable is set to false, fix #1549 2021-08-09 17:41:17 +02:00
Yousef
cb910f5add export createTable 2021-07-06 21:42:27 +02:00
Philipp Kühn
78e2a6e775 add generic to commands type 2021-06-04 21:56:29 +02:00
Philipp Kühn
eb7e92f10a feat: add setCellSelection command 2021-04-27 11:41:38 +02:00
Philipp Kühn
1c8ca95de2 refactor: remove AnyObject type 2021-04-21 09:43:31 +02:00
Philipp Kühn
a43d4c7bcb fix: add name to context 2021-04-20 23:12:15 +02:00
Philipp Kühn
046d1ccb3b refactor: move deleteTableWhenAllCellsSelected to its own file 2021-04-20 22:59:16 +02:00
Philipp Kühn
9ca865a253 refactor: move deleteTableWhenAllCellsSelected to its own file 2021-04-20 22:58:59 +02:00
Philipp Kühn
07bc40ce75 wip: add getExtensionField 2021-04-15 21:14:33 +02:00
Philipp Kühn
5e1ec5d2a6 feat: add parentConfig to extension context for more extendable extensions, fix #259 2021-04-12 11:11:02 +02:00
Philipp Kühn
a7ab9454b5 move isCellSelection to table extension 2021-02-26 18:11:42 +01:00
Philipp Kühn
ba69a0d8f9 improve extending nodes and marks 2021-02-19 10:54:47 +01:00
Philipp Kühn
4a58978ffb add NodeSchemaFields interface 2021-02-19 10:09:25 +01:00
Philipp Kühn
6f9557294e add basic schema extender 2021-02-19 09:54:39 +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
290ff76e37 add Commands interface 2021-02-10 09:59:35 +01:00
Hans Pagel
6a21048cca testing insertTable command 2021-01-26 18:18:45 +01:00
Hans Pagel
126894d9d1 docs: add content to table pages 2021-01-25 12:04:08 +01:00
Philipp Kühn
2156891823 add deleteTableWhenAllCellsSelected 2021-01-24 23:28:51 +01:00
Philipp Kühn
56417a44a7 refactoring 2021-01-23 22:48:34 +01:00
Philipp Kühn
71376f6de7 fix fixTables 2021-01-23 22:26:35 +01:00
Philipp Kühn
3f30b69f37 improve types 2021-01-23 20:59:19 +01:00
Philipp Kühn
1fc50705c6 improve types 2021-01-23 13:11:22 +01:00
Philipp Kühn
1e6f19667e refactoring 2021-01-23 00:32:43 +01:00
Hans Pagel
790524d5cb clean up 2021-01-22 23:52:43 +01:00
Hans Pagel
64ba3fd212 refactor table options 2021-01-22 23:45:50 +01:00
Hans Pagel
aef9d1ca41 change table extension names to lowerCamelCase 2021-01-22 23:33:08 +01:00
Hans Pagel
719eda2e5b code style 2021-01-22 23:28:27 +01:00
Hans Pagel
60305c10f6 fix setCellAttributes, fix linting errors in the TableView 2021-01-22 23:25:13 +01:00
Hans Pagel
bcf441ea8a add cell navigation and keyboard shortcuts 2021-01-22 23:00:43 +01:00
Hans Pagel
d1bbc8f24d add createTable 2021-01-22 22:37:43 +01:00
Hans Pagel
d3fcbc91c3 add table default styling, add options to table plugins 2021-01-22 21:51:36 +01:00
Hans Pagel
0a1d8eaf9a add table editing plugin and allow table to be resizeable 2021-01-22 20:01:01 +01:00
Hans Pagel
3a511c4276 clean up 2021-01-22 20:01:01 +01:00
Hans Pagel
fde2b1572d add table commands, add tableRole to the schema, add buttons to the example 2021-01-22 20:01:01 +01:00
Hans Pagel
cfe0898fdd add schema 2021-01-22 20:01:01 +01:00
Hans Pagel
6a1661cf9f init table, table-row and table-cell 2021-01-22 20:01:01 +01:00