Commit Graph

263 Commits

Author SHA1 Message Date
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
0eba7b48b5 fix lint error 2018-11-09 23:01:33 +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
e8fcc8916a Merge branch 'master' into v1.0
# Conflicts:
#	examples/Components/Routes/Basic/index.vue
#	examples/Components/Routes/Export/index.vue
#	examples/Components/Routes/MarkdownShortcuts/index.vue
#	examples/Components/Routes/Suggestions/index.vue
2018-11-08 21:41:33 +01:00
Philipp Kühn
107d628ba8 Publish
- tiptap-extensions@0.23.0
2018-11-08 16:53:45 +01:00
Philipp Kühn
42c177f59e allow functions for items in mention node 2018-11-08 16:50:23 +01:00
Philipp Kühn
c5d7ef4e79 fix whitespace 2018-11-08 16:40:45 +01:00
Philipp Kühn
d90839a74a Publish
- tiptap-commands@0.7.1
 - tiptap-extensions@0.22.2
 - tiptap-utils@0.4.1
 - tiptap@0.20.1
2018-11-05 23:51:25 +01:00
Philipp Kühn
f01d641e4b fix active check for ordered list, fix #78 2018-11-05 23:50:28 +01:00
Philipp Kühn
e7e1a9f76e Publish
- tiptap-extensions@0.22.1
2018-11-05 23:32:52 +01:00
Philipp Kühn
b7770bb747 fix pasting list items 2018-11-05 23:32:18 +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
bc4a5743ff Merge branch 'master' into v1.0 2018-11-04 13:15:11 +01:00
Philipp Kühn
21ed0761e7 Publish
- tiptap-extensions@0.21.1
2018-11-01 07:44:52 +01:00
Philipp Kühn
45fa5a01d4 fix char for mentions 2018-11-01 07:44:22 +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
11bb74babb refactoring 2018-10-24 08:00:36 +02:00
Philipp Kühn
bde1527eff replace maxLevels option with levels for heading node 2018-10-24 07:58:08 +02: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
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