Commit Graph

358 Commits

Author SHA1 Message Date
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
Philipp Kühn
7bba2d653e refactoring 2018-10-13 18:43:59 +02:00
Philipp Kühn
3698141bb6
Merge pull request #63 from erickwilder/add-linting-before-build
feat(package.json): Add yarn script to lint source code + make it a precondition to build all packages.
2018-10-13 18:21:43 +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
Erick Wilder
27e473c2a4 refactor(tiptap-extensions): Do not import the full lowlight library.
BREAKING CHANGE: `CodeBlockHighlight` was importing the full `lowlight` libraries, including _all_
syntax highlightning definitions from `highlight.js`. The new behavior changes the signature of
`CodeBlockHighlight` to accept an object with all syntax highlightning definitions. This means that
now the user of the library __MUST__ import languages themselves and tiptap will no longer
bundle the full `highlight.js` in itself.
2018-10-13 16:22:33 +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
fe210f68ed fix toggle blockquotes 2018-10-10 15:08:37 +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
55870ec896 Merge branch 'master' of https://github.com/heyscrumpy/tiptap 2018-10-07 20:21:47 +02:00
Philipp Kühn
cd3d5dd59e allow drag events in ComponentView, fix #52 2018-10-07 20:21:11 +02:00
Philipp Kühn
e0045563e9
Merge pull request #49 from Chrissi2812/fix_classnames
fix class name
2018-10-06 08:46:24 +02:00
Chrissi2812
c25a221eff
fix class name 2018-10-05 14:34:34 +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
0a3b235bca add appendText option for suggestions 2018-10-02 23:02:07 +02:00
Philipp Kühn
4a31f8f1ca add insertText command 2018-10-02 23:01:53 +02:00
Philipp Kühn
cf8750290f Publish
- tiptap-extensions@0.16.3
2018-10-01 14:25:13 +02:00
Philipp Kühn
74290ddce2 fix dropping images 2018-10-01 14:24:30 +02:00
Philipp Kühn
f96faa36cd Publish
- tiptap-extensions@0.16.2
2018-09-30 20:20:58 +02:00
Philipp Kühn
a51d9a1b1a fix suggestions in safari browser 2018-09-30 20:20:18 +02:00
Philipp Kühn
52147de0be Publish
- tiptap-extensions@0.16.1
2018-09-29 22:50:13 +02:00
Philipp Kühn
efdf45de4c add command for adding images 2018-09-29 22:49:38 +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
de75e70e51 rename some args 2018-09-29 13:18:36 +02:00
Philipp Kühn
0ef1bc800e remove semicolons 2018-09-29 13:12:31 +02:00
Philipp Kühn
965aacc9e6 refactoring 2018-09-29 13:11:00 +02:00
Philipp Kühn
33d9972110 add some default options for mentions 2018-09-29 13:09:45 +02:00
Philipp Kühn
ccb11ca876 remove some comments 2018-09-29 13:03:31 +02:00
Philipp Kühn
9ef1e983ff refactoring 2018-09-29 12:55:57 +02:00
Philipp Kühn
640094171e wording 2018-09-29 12:34:11 +02:00
Philipp Kühn
7728ca1de0 refactoring 2018-09-29 12:33:18 +02:00
Philipp Kühn
20466b2819 whitespace 2018-09-29 12:06:14 +02:00
Philipp Kühn
d1df0fcc9c fix suggestion plugin export 2018-09-29 12:00:16 +02:00
Philipp Kühn
1ad2b6aa78 refactoring 2018-09-29 11:57:49 +02:00
Philipp Kühn
4447e9845e refactoring 2018-09-29 09:28:46 +02:00
Philipp Kühn
1e2651066b add tippy tooltips for mentions 2018-09-28 22:39:26 +02:00
Philipp Kühn
d089259080 refactoring 2018-09-28 13:55:34 +02:00
Philipp Kühn
5f740da53e remove type from mentions 2018-09-28 13:52:57 +02:00
Philipp Kühn
a60a851fc4 improve styling 2018-09-28 13:46:39 +02:00
Philipp Kühn
f645b9edc0 disable allow spaces for mentions 2018-09-28 13:34:46 +02:00
Philipp Kühn
bfb5783db0 add command to suggestions 2018-09-28 13:31:01 +02:00
Philipp Kühn
a8dce68290 add replacetext command 2018-09-28 12:48:09 +02:00
Philipp Kühn
56316476a9 move mention filtering to plugin 2018-09-27 11:35:32 +02:00
Philipp Kühn
7c06b73a2d fix copying mentions 2018-09-25 09:18:02 +02:00
Philipp Kühn
07aa821d92 add text and fullText to suggestion callbacks 2018-09-25 09:01:32 +02:00
Philipp Kühn
8b9d94000d code style 2018-09-25 08:53:57 +02:00
Philipp Kühn
7f7bc60295 Merge branch 'master' into feature/suggestions 2018-09-25 08:21:11 +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
a511704f49 add command for mentions 2018-09-25 07:43:21 +02:00
Philipp Kühn
b2e73fc0a4 Merge branch 'master' into feature/suggestions
# Conflicts:
#	examples/Components/App/style.scss
#	examples/Components/Subnavigation/index.vue
#	examples/main.js
#	packages/tiptap-extensions/package.json
2018-09-24 15:44:42 +02:00
Philipp Kühn
2dd2e3361e Publish
- tiptap-extensions@0.14.1
2018-09-23 08:11:45 +02:00
Philipp Kühn
f8e79f14b1 remove useless nodeview for links 2018-09-23 08:11:20 +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
e51141eb5e fix class name 2018-09-23 07:58:40 +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
33b9ec6b95 Publish
- tiptap-extensions@0.12.1
2018-09-13 23:58:28 +02:00
Philipp Kühn
2aa7987c5e fix placeholder 2018-09-13 23:57:55 +02:00
Philipp Kühn
681417602f Publish
- tiptap-extensions@0.12.0
2018-09-13 21:34:47 +02:00
Philipp Kühn
5e48b27372
Merge pull request #14 from Chrissi2812/underline_mark
UnderlineMark added
2018-09-13 21:31:04 +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
Chrissi2812
2b17cabf8f
removed Markdown support for UnderlineMark 2018-09-11 10:36:45 +02:00
Chrissi2812
2489997e91
UnderlineMark added 2018-09-11 10:36:44 +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
b57bfdaa84 Publish
- tiptap-extensions@0.10.1
2018-09-07 09:50:38 +02:00
Philipp Kühn
a9e2e9f68a add sideEffects option to extensions package 2018-09-07 09:50:06 +02:00
Philipp Kühn
3924bb765a Publish
- tiptap-extensions@0.10.0
2018-09-06 22:59:34 +02:00
Philipp Kühn
db61d67156 add placeholder extension 2018-09-06 22:58:54 +02:00
Philipp Kühn
80ec395c3a Publish
- tiptap-extensions@0.9.0
2018-09-06 22:12:05 +02:00
Chrissi2812
e91c76334d
StrikeMark added 2018-09-06 12:29:09 +02:00
Philipp Kühn
20a7a490e9 pass extension option to plugin 2018-09-05 22:09:18 +02:00
Philipp Kühn
82c956dfe9 save decorationNode in state 2018-09-05 21:45:29 +02:00
Philipp Kühn
39072b217d add startOfLine option 2018-09-04 23:26:51 +02:00
Philipp Kühn
0e3810bca0 Merge branch 'master' into feature/suggestions
# Conflicts:
#	packages/tiptap-extensions/package.json
2018-09-04 23:12:00 +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
90bf692da3 refactoring 2018-09-04 22:29:32 +02:00
Philipp Kühn
fd2b79206f Merge branch 'master' into feature/code-highlighting 2018-09-04 22:10:36 +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
b9ee8e9a28 add splitToDefaultListItem command, fix #3 2018-09-04 13:42:02 +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
a134a42d7d Merge branch 'master' into feature/code-highlighting 2018-09-03 23:28:01 +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
Philipp Kühn
761e50f41d add something broken 2018-09-03 13:55:45 +02:00
Дмитрий Шульгачик
6047263ee1 add init event 2018-09-03 14:37:25 +03:00
Philipp Kühn
feb79e0648 add basic implementation of hightlight.js 2018-09-02 15:13:57 +02:00
Philipp Kühn
c716fe605f add prosemirror-suggestions 2018-09-01 20:51:17 +02:00
Philipp Kühn
8dd561e327 Publish
- tiptap-extensions@0.6.1
2018-08-31 22:36:41 +02:00
Philipp Kühn
d5f4129835 remove test 2018-08-31 22:36:01 +02: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
1d159a8595 fix image dragging 2018-08-31 21:49:59 +02:00
Philipp Kühn
674d1b03e0 add basic drop support for images 2018-08-31 21:47:11 +02:00
Philipp Kühn
8e2e037828 add basic image support 2018-08-31 20:42:13 +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
1de45acef5 fix em input rule 2018-08-27 21:53:12 +02:00
Philipp Kühn
6164bd6abd Publish
- tiptap-extensions@0.4.0
2018-08-26 19:44:47 +02:00
Philipp Kühn
2be2a69f35 change tiptap-extensions export 2018-08-26 19:43:02 +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
8505763d89 remove check for editable in todoitem 2018-08-25 16:45:02 +02:00
Philipp Kühn
f2b1d1668b add check in ComponentView for editable 2018-08-25 16:43:23 +02:00
Philipp Kühn
2347f94709 Publish
- tiptap-extensions@0.2.1
2018-08-25 00:15:11 +02:00
Philipp Kühn
25fafd1564 fix em input rule 2018-08-25 00:12:55 +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
b61f95a2a7 add markInputRule function 2018-08-24 23:53:49 +02:00
Philipp Kühn
12093446e4 fix blockquote command 2018-08-24 16:44:17 +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
7c620236ab remove tiptap-models 2018-08-23 22:44:47 +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
f456de04cb v0.1.2 2018-08-23 17:35:02 +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
adc90a7ecd fix packages 2018-08-23 10:49:01 +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