Commit Graph

55 Commits

Author SHA1 Message Date
远方
c6c5fa623a
fix: vue inject grammar warning (#3144) 2022-09-01 13:54:59 +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
Grigory Kovalenko
cd99a163e2 add support for CSS Modules 2022-04-22 22:39:37 +02:00
DanSnow
190a6993d4
fix: improve Vue nodeViewProps typing 2022-04-05 13:55:53 +08:00
Philipp Kühn
3ba3afbea3 fix: revert type changes for useEditor in vue-3 package 2022-01-05 09:21:54 +01:00
Philipp Kühn
7c98f80547 feat: add support for template strings in VueNodeViewRenderer, fix #1987 2021-12-10 17:57:20 +01:00
Philipp Kühn
b5b9363b49 fix vue-3 build 2021-11-05 13:45:16 +01:00
Philipp Kühn
8f8b83afe4 fix: fix a bug when using drag handles 2021-10-22 19:46:40 +02:00
Philipp Kühn
7ffabf251c
feat: Add extension storage (#2069) 2021-10-22 08:52:54 +02:00
Philipp Kühn
7f7f93dc1b fix: fix reactive props, see #1728 2021-10-02 23:18:12 +02:00
Philipp Kühn
19840f3b25 fix: add support for scoped styles, fix #1931 2021-09-23 09:53:11 +02:00
Philipp Kühn
60e7755b7f fix: fix expose error when using new setup syntax (fix #1914) 2021-09-20 23:57:48 +02:00
Philipp Kühn
7fefd4c488 fix a type bug for now 2021-09-06 22:54:59 +02:00
Mauricio Walters
46701fde66
fix: use shallowRef on Editor (#1804) 2021-08-26 14:08:33 +02:00
Philipp Kühn
d3242c9a07 fix: fix types for BubbleMenu and FloatingMenu props 2021-08-23 22:21:18 +02:00
Philipp Kühn
89d26f7cba fix: rename key to pluginKey for menus 2021-08-13 12:33:06 +02:00
Philipp Kühn
9ba61c1582
feat: add key option and shouldShow option to menus (fix #1480, fix #1043, fix #1268, fix #1503)
* add key option to bubble menu

* ignore react for now

* add shouldShow option to bubble menu extension

* improve types

* remove BubbleMenuPluginKey

* add key and shouldShow option to floating menu extension

* fix: don’t show floating menu within code block

* docs: add new menu options
2021-08-11 14:37:58 +02:00
Philipp Kühn
6ef931f85d fix another bug for updating node views 2021-07-28 14:51:58 +02:00
Philipp Kühn
d7f6e0ce3f fix: fix updating node views, fix #1656 2021-07-28 14:49:00 +02:00
Philipp Kühn
d720edbe24
feat!: provide more context to update function of node views, fix #1611
* add more powerful update option to node views

* add object params for all node view option props
2021-07-27 12:26:24 +02:00
Philipp Kühn
651e6911e3 feat: add ignoreMutation option to NodeViewRenderer, fix #1538 2021-07-26 18:44:02 +02:00
Philipp Kühn
939fc3d93a fix: prevent bug when editor is destroyed very fast 2021-05-28 12:14:12 +02:00
Philipp Kühn
fcee5f82c6 feat: add deleteNode method to node views 2021-05-19 00:03:41 +02:00
Philipp Kühn
0f299d228e fix: move all child nodes within EditorContent 2021-05-18 23:41:54 +02:00
Chris O'Sullivan
5c5680d00e Change how ref is handled in VueRenderer 2021-05-05 09:44:07 -05:00
Philipp Kühn
888cce2e4c refactor: don’t use destructuring for props 2021-04-23 20:50:01 +02:00
Philipp Kühn
1c8ca95de2 refactor: remove AnyObject type 2021-04-21 09:43:31 +02:00
Philipp Kühn
f6d8776ca0 fix: fix editor type for VueRenderer, fix #281 2021-04-16 23:34:29 +02:00
Philipp Kühn
9a56f666a1 feat: add tippyOptions prop 2021-04-16 12:42:56 +02:00
Philipp Kühn
d7282f168b feat: remove keepInBounds 2021-04-16 10:46:50 +02:00
Philipp Kühn
a0e2a830d7 refactor: remove isEditable from node views, remove viewUpdate event 2021-04-07 22:07:36 +02:00
Philipp Kühn
177eed65a4 fix menus in vue 3 for now 2021-04-03 23:17:36 +02:00
Philipp Kühn
7c757415e9 fix adding decoration classes to node views in vue 2021-04-03 23:15:13 +02:00
Philipp Kühn
4d4f96bfc0 fix flicker bug for menus 2021-04-01 17:55:32 +02:00
Philipp Kühn
3eac1ce319 add floating menu to vue 3 and react 2021-04-01 15:55:19 +02:00
Philipp Kühn
d06f5c0c73 fix using registerPlugin and unregisterPlugin for vue-3 2021-03-31 12:11:55 +02:00
Philipp Kühn
2b0a0dad0f add bubble menu to vue-3 2021-03-31 11:52:36 +02:00
Philipp Kühn
60a3b0dfdd set props for composition api, see #236 2021-03-29 21:24:20 +02:00
Philipp Kühn
f0f6e79408 add nodeViewProps, fix #214 2021-03-17 21:43:45 +01:00
Philipp Kühn
7d52a3aad1 improve some types, fix #213 2021-03-17 21:21:57 +01:00
Philipp Kühn
49fcf829f3 refactoring 2021-03-16 22:22:13 +01:00
Philipp Kühn
a76de1ab6d move some nodeview logic to core 2021-03-16 21:55:40 +01:00
Philipp Kühn
e765c8e981 refactoring 2021-03-15 09:00:44 +01:00
Philipp Kühn
109bff0892 refactoring 2021-03-14 18:00:50 +01:00
Philipp Kühn
2017b84578 fix some typescript bugs 2021-03-05 11:58:52 +01:00
Philipp Kühn
e9e3418a0f don’t use __vue__ 2021-03-05 11:01:26 +01:00
Philipp Kühn
aa3913cb06 refactoring 2021-03-05 10:20:17 +01:00
Philipp Kühn
983b56a5f2 add NodeViewWrapper and NodeViewContent to vue-2 2021-03-05 10:18:44 +01:00
Philipp Kühn
328d5a459d refactoring 2021-03-05 09:46:47 +01:00