Commit Graph

272 Commits

Author SHA1 Message Date
Philipp Kühn
5f69ac2416 add focus and blur event 2018-11-12 23:15:18 +01:00
Philipp Kühn
9755dd3cc1 refactoring 2018-11-12 23:00:14 +01:00
Philipp Kühn
8c060d71a5 add init event 2018-11-12 22:58:39 +01:00
Philipp Kühn
7dfbb11311 add some tests 2018-11-12 20:55:55 +01:00
Philipp Kühn
2c2f26a7c6 add plugins folder 2018-11-11 23:18:48 +01:00
Philipp Kühn
178abfa8c5 move tests 2018-11-11 23:13:59 +01:00
Philipp Kühn
fe8a21ce7c add setParent method to rerender node views 2018-11-11 22:44:16 +01:00
Philipp Kühn
35880251cd add first test with jest 2018-11-09 23:01:23 +01:00
Philipp Kühn
181cebc8f2 pass extension to component view 2018-11-09 21:55:54 +01:00
Philipp Kühn
cb2617d439 renamed some components 2018-11-08 22:44:07 +01:00
Philipp Kühn
6e38c5abac upgrade dependencies 2018-11-08 22:22:05 +01:00
Philipp Kühn
f04a6be6c1 tabs to spaces whitespace 2018-11-08 22:03:10 +01:00
Philipp Kühn
807c2a3d23 remove legacy code 2018-11-08 21:43:44 +01:00
Philipp Kühn
583c890624 Merge branch 'master' into v1.0 2018-11-05 20:58:09 +01:00
Philipp Kühn
cdef54c55e Publish
- tiptap-extensions@0.22.0
 - tiptap@0.20.0
2018-11-05 20:55:08 +01:00
Philipp Kühn
77e30cad4a add parent to nodeviews 2018-11-05 20:53:51 +01:00
Philipp Kühn
32c62b85ca add renderless MenuBar 2018-11-04 22:43:26 +01:00
Philipp Kühn
d4f6708daa add renderless FloatingMenu 2018-11-04 19:46:09 +01:00
Philipp Kühn
c2d8e15530 add renderless MenuBubble 2018-11-04 18:00:37 +01:00
Philipp Kühn
06bb2ab802 fix linting error 2018-10-30 22:49:50 +01:00
Philipp Kühn
681c685287 refactoring 2018-10-30 22:46:11 +01:00
Philipp Kühn
35cc0a285f remove unused file 2018-10-30 22:43:17 +01:00
Philipp Kühn
f64bf9e2ff focus view before command 2018-10-30 09:45:21 +01:00
Philipp Kühn
69a3b22e54 check for editable on commands 2018-10-30 09:44:21 +01:00
Philipp Kühn
e608808c27 fix link example 2018-10-29 23:58:07 +01:00
Philipp Kühn
68793ea385 fix some examples 2018-10-29 23:31:13 +01:00
Philipp Kühn
253596fb35 add isActive function 2018-10-29 23:13:45 +01:00
Philipp Kühn
e66218bd95 add new command syntax to examples 2018-10-28 22:57:05 +01:00
Philipp Kühn
1e88fa1cb6 remove old commands 2018-10-28 22:17:21 +01:00
Philipp Kühn
dcba6686dc add new commands to all extensions 2018-10-28 21:59:08 +01:00
Philipp Kühn
d2519c2953 add basic new commands 2018-10-28 19:26:14 +01:00
Philipp Kühn
6b03315e59 rename all extensions (drop suffix) 2018-10-24 07:46:47 +02:00
Philipp Kühn
787892dd4c fix floating menu example 2018-10-23 23:53:21 +02:00
Philipp Kühn
303e2f6d9c almost fix floating menu example 2018-10-23 23:44:48 +02:00
Philipp Kühn
0c9d481cd2 fix export example 2018-10-23 23:05:15 +02:00
Philipp Kühn
aecf2284e9 move some functions 2018-10-23 20:49:30 +02:00
Philipp Kühn
7437992dd5 fix some examples 2018-10-22 21:40:12 +02:00
Philipp Kühn
b913c84b58 fix editable 2018-10-22 21:11:28 +02:00
Philipp Kühn
a2dd57ad09 fix bubble menu 2018-10-22 18:24:54 +02:00
Philipp Kühn
3718591d33 fix menububble example 2018-10-22 17:40:55 +02:00
Philipp Kühn
9ec3d82d12 fix basic example 2018-10-22 08:43:48 +02:00
Philipp Kühn
b7bda1bae3 refactoring 2018-10-22 08:32:59 +02:00
Philipp Kühn
a0aef41dab unwrap content div 2018-10-21 23:07:30 +02:00
Philipp Kühn
1d7288d08d add menubar component 2018-10-21 22:44:13 +02:00
Philipp Kühn
3d866d9c1c add some old functions 2018-10-21 21:55:24 +02:00
Philipp Kühn
d5e25de018 start moving everything to components 2018-10-21 15:50:10 +02:00
Philipp Kühn
8b7b74f5b3 Publish
- tiptap-extensions@0.21.0
 - tiptap@0.19.0
2018-10-13 23:42:32 +02:00
Philipp Kühn
9ae7e466d8 add floating menu 2018-10-13 23:41:54 +02:00
Philipp Kühn
6008379827 Publish
- tiptap-commands@0.7.0
 - tiptap-extensions@0.20.0
 - tiptap-utils@0.4.0
 - tiptap@0.18.0
2018-10-13 18:46:23 +02:00
Erick Wilder
54550b2386 feat(package.json): Add lint yarn script + make it a precondition to build all packages.
fmt(tiptap-commands): Fix all ESLint violations with `--fix`

fmt(tiptap-commands): Ignore some ESLint rules on code copied from prosemirror.

fmt(tiptap): Apply ESLint autofix to `tiptap` package sources.

fmt(tiptap-extensions): Fix ESlint violations from `marks`

refactor(tiptap-extensions): Fix ESLint violations for `plugins/Suggestions.js`.

Some of the violations required a bit of restructuring of the code/logic

fmt(tiptap-utils): Fix ESLint violations.

feat(package.json): Add yarn script to lint source code before compiling the examples.
2018-10-13 17:20:03 +02:00
Philipp Kühn
3c650cf35f Publish
- tiptap-extensions@0.19.0
 - tiptap@0.17.0
2018-10-10 18:22:02 +02:00
Philipp Kühn
9d94d49112 add watchDoc prop to editor 2018-10-10 18:21:33 +02:00
Philipp Kühn
a648d858b1 Publish
- tiptap-commands@0.6.0
 - tiptap-extensions@0.18.2
 - tiptap@0.16.2
2018-10-10 15:09:42 +02:00
Philipp Kühn
37e7eb9625 Publish
- tiptap-extensions@0.18.1
 - tiptap@0.16.1
2018-10-07 20:22:43 +02:00
Philipp Kühn
cd3d5dd59e allow drag events in ComponentView, fix #52 2018-10-07 20:21:11 +02:00
Philipp Kühn
5c8a143a18 Publish
- tiptap-extensions@0.18.0
 - tiptap@0.16.0
2018-10-04 08:45:25 +02:00
Philipp Kühn
fe356fd5e9 update dependencies 2018-10-04 08:43:22 +02:00
Philipp Kühn
b0d4c92820 move vue and vue-template-compiler to peerDependencies 2018-10-04 08:40:58 +02:00
Philipp Kühn
ec0d0b10f8 Publish
- tiptap-commands@0.5.0
 - tiptap-extensions@0.17.0
 - tiptap@0.15.0
2018-10-02 23:06:24 +02:00
Philipp Kühn
8f66c19c7e Publish
- tiptap-commands@0.4.0
 - tiptap-extensions@0.16.0
 - tiptap-utils@0.3.0
 - tiptap@0.14.0
2018-09-29 13:25:09 +02:00
Philipp Kühn
5e19290d35 update dependencies 2018-09-29 13:24:27 +02:00
Philipp Kühn
19da299b0a Publish
- tiptap-extensions@0.15.0
 - tiptap@0.13.0
2018-09-25 08:09:37 +02:00
Philipp Kühn
3e20386a36 allow passing html strings to setContent 2018-09-25 08:08:51 +02:00
Philipp Kühn
caa9763884 Publish
- tiptap-extensions@0.14.0
 - tiptap@0.12.1
2018-09-23 08:08:27 +02:00
Philipp Kühn
90344f117d set emitUpdate to false by default 2018-09-23 08:07:49 +02:00
Philipp Kühn
92515e2ee4 allow for returning an array of multiple commands 2018-09-23 08:04:02 +02:00
Philipp Kühn
2d0d8092a1 Publish
- tiptap-extensions@0.13.0
 - tiptap@0.12.0
2018-09-19 15:25:58 +02:00
Philipp Kühn
478b1017dd add watcher for doc, add setContent function 2018-09-19 14:46:23 +02:00
Philipp Kühn
c7655fbffd Publish
- tiptap-extensions@0.11.1
 - tiptap@0.11.1
2018-09-11 23:08:54 +02:00
Philipp Kühn
3fa5a6e7f1 fix getHTML function. do not export decorations 2018-09-11 23:06:58 +02:00
Philipp Kühn
111b9cab2e refactoring 2018-09-11 09:18:38 +02:00
Philipp Kühn
2f1edbd8c3 Publish
- tiptap-extensions@0.11.0
 - tiptap@0.11.0
2018-09-10 23:13:59 +02:00
Philipp Kühn
3bdb2a0fce add clearContent function 2018-09-10 23:13:16 +02:00
Philipp Kühn
bad0b1debb add destroy function 2018-09-10 22:34:07 +02:00
Philipp Kühn
bee2dd5150 Publish
- tiptap-commands@0.3.0
 - tiptap-extensions@0.8.0
 - tiptap@0.10.0
2018-09-04 22:35:58 +02:00
Philipp Kühn
91691f5e0a refactoring 2018-09-04 22:33:50 +02:00
Philipp Kühn
ab28f8e0e7 Publish
- tiptap-commands@0.2.5
 - tiptap-extensions@0.7.2
 - tiptap@0.9.2
2018-09-04 13:42:54 +02:00
Philipp Kühn
6cc11283b5 Publish
- tiptap-extensions@0.7.1
 - tiptap@0.9.1
2018-09-03 23:48:01 +02:00
Philipp Kühn
089de84ad2 fix getHTML function 2018-09-03 23:38:22 +02:00
Philipp Kühn
56b318ea38 fix update event 2018-09-03 23:35:42 +02:00
Philipp Kühn
09870e1f45 do not emit update event in doc is unchanged 2018-09-03 23:27:45 +02:00
Philipp Kühn
71218c0a0c Publish
- tiptap-extensions@0.7.0
 - tiptap@0.9.0
2018-09-03 13:57:33 +02:00
Дмитрий Шульгачик
6047263ee1 add init event 2018-09-03 14:37:25 +03:00
Philipp Kühn
05cff26172 Publish
- tiptap-extensions@0.6.0
 - tiptap@0.8.0
2018-08-31 22:19:00 +02:00
Philipp Kühn
674d1b03e0 add basic drop support for images 2018-08-31 21:47:11 +02:00
Philipp Kühn
3c1a3285f1 Publish
- tiptap-extensions@0.5.0
 - tiptap@0.7.0
2018-08-28 09:31:50 +02:00
Philipp Kühn
02cee263b2 add export 2018-08-28 09:31:08 +02:00
Philipp Kühn
db924b695e Publish
- tiptap-extensions@0.4.2
 - tiptap@0.6.4
2018-08-27 23:43:54 +02:00
Philipp Kühn
74b511d822 fix editor for firefox 2018-08-27 23:43:30 +02:00
Philipp Kühn
11a000a2b6 Publish
- tiptap-commands@0.2.4
 - tiptap-extensions@0.4.1
 - tiptap@0.6.3
2018-08-27 21:53:47 +02:00
Philipp Kühn
304a2cd67b Publish
- tiptap-commands@0.2.3
 - tiptap-extensions@0.3.2
 - tiptap-utils@0.2.4
 - tiptap@0.6.2
2018-08-26 15:21:31 +02:00
Philipp Kühn
53e6a25429 add basic readme files for all packages 2018-08-26 15:20:59 +02:00
Philipp Kühn
ed9c60df64 Publish
- tiptap-commands@0.2.2
 - tiptap-extensions@0.3.1
 - tiptap-utils@0.2.3
 - tiptap@0.6.1
2018-08-26 08:32:07 +02:00
Philipp Kühn
653ac771c8 Publish
- tiptap-commands@0.2.1
 - tiptap-extensions@0.3.0
 - tiptap-utils@0.2.2
 - tiptap@0.6.0
2018-08-25 21:40:04 +02:00
Philipp Kühn
deb8cb33b0 move history plugin to extension package 2018-08-25 21:33:06 +02:00
Philipp Kühn
bf1a091c94 fix circular dependencies 2018-08-25 17:07:32 +02:00
Philipp Kühn
bf754d6bcc remove prosemirror-dropcursor for now 2018-08-25 17:04:42 +02:00
Philipp Kühn
1448179e3d remove package-lock for now 2018-08-25 17:04:20 +02:00
Philipp Kühn
eba5906655 Publish
- tiptap-extensions@0.2.2
 - tiptap@0.5.1
2018-08-25 16:48:59 +02:00
Philipp Kühn
f2b1d1668b add check in ComponentView for editable 2018-08-25 16:43:23 +02:00
Philipp Kühn
e27735bba8 Publish
- tiptap-commands@0.2.0
 - tiptap-extensions@0.2.0
 - tiptap@0.5.0
2018-08-25 00:07:34 +02:00
Philipp Kühn
a37d33f526 Publish
- tiptap-extensions@0.1.1
 - tiptap@0.4.0
2018-08-24 08:48:06 +02:00
Philipp Kühn
d60e69e822 add base extension 2018-08-24 08:41:41 +02:00
Philipp Kühn
9943a0763d refactoring 2018-08-23 23:19:57 +02:00
Philipp Kühn
81e29c0f44 refactoring 2018-08-23 23:16:01 +02:00
Philipp Kühn
24428681bf rename class 2018-08-23 23:09:45 +02:00
Philipp Kühn
d67f19268d Publish
- tiptap-extensions@0.1.0
 - tiptap@0.3.0
2018-08-23 22:36:12 +02:00
Philipp Kühn
c178027b20 refactoring 2018-08-23 22:35:05 +02:00
Philipp Kühn
016bd212cc remove unused tiptap-models dependency 2018-08-23 22:27:01 +02:00
Philipp Kühn
920abde41f fix some imports and exports 2018-08-23 22:23:58 +02:00
Philipp Kühn
e2176f00fd move extensions to own package 2018-08-23 22:08:19 +02:00
Philipp Kühn
2ef23d3003 Publish
- tiptap-commands@0.1.1
 - tiptap-utils@0.2.1
 - tiptap@0.2.1
2018-08-23 17:38:13 +02:00
Philipp Kühn
bcd6ffcd99 add package lock 2018-08-23 17:37:46 +02:00
Philipp Kühn
43fbe44f81 remove some dependencies 2018-08-23 17:36:31 +02:00
Philipp Kühn
cf6badd106 remove some devdependencies 2018-08-23 13:15:29 +02:00
Philipp Kühn
d7ee4ed0e5 update tiptap-models 2018-08-23 11:17:58 +02:00
Philipp Kühn
9fafc6b00f add tiptap-models 2018-08-23 11:13:59 +02:00
Philipp Kühn
0552faa68a bump version 2018-08-23 10:57:18 +02:00
Philipp Kühn
d14ea22cb8 remove commands from tiptap package 2018-08-23 10:56:52 +02:00
Philipp Kühn
678bcd3673 remove dist files 2018-08-23 10:48:42 +02:00
Philipp Kühn
d5039489dd add commands and utils packages 2018-08-23 10:33:49 +02:00
Philipp Kühn
c695b57b28 create packages folder 2018-08-23 09:26:48 +02:00