Commit Graph

806 Commits

Author SHA1 Message Date
Chrissi2812
2544e40f99
added replace and replaceAll commands 2019-06-03 12:18:59 +02:00
Chrissi2812
525619ad26
default callback for custom editor events added 2019-06-03 12:16:07 +02:00
Chrissi2812
3246b84229
fix emojis in search 2019-05-29 14:14:08 +02:00
Chrissi2812
016ea8f86b
use internal variable for commands to determine if search should update
Prior to this if search was closed (searching: false) the commands won't do anything.
2019-05-29 12:46:36 +02:00
Chrissi2812
a42d0113e0
add clearSearch command 2019-05-29 12:25:50 +02:00
Chrissi2812
d3514c3d36
add option to always update search results 2019-05-29 12:24:46 +02:00
Chrissi2812
0e5aa7f116
add option to disable regex searches 2019-05-29 11:25:26 +02:00
Chrissi2812
0476d35599
fix infinite loop on some RegExp 2019-05-29 11:21:40 +02:00
Chrissi2812
87995cb93c
fix decoration not updating if searching and doc changes 2019-05-29 11:05:18 +02:00
Chrissi2812
036d853378
prevent click event on spacebar
font-size had to be normalized for the menubar__buttons
2019-05-28 14:44:04 +02:00
Chrissi2812
94b2846695
focus search input on toggleSearch event 2019-05-28 13:53:15 +02:00
Chrissi2812
f19b5c8f34
add toggleSearch event 2019-05-28 13:52:40 +02:00
Chrissi2812
331ba1c36b
search across marks 2019-05-28 13:52:13 +02:00
Chrissi2812
753fc76324
fix search highlight on doc change 2019-05-28 13:51:37 +02:00
Chrissi2812
fc617a4d32
add text search 2019-05-23 17:53:27 +02:00
Philipp Kühn
c8fa0c69b3 Publish
- tiptap-extensions@1.20.1
 - tiptap@1.20.1
2019-05-22 20:21:06 +02:00
Philipp Kühn
813eac48e8 Merge branch 'master' of https://github.com/heyscrumpy/tiptap 2019-05-22 20:18:19 +02:00
Philipp Kühn
51ed21ddee revert changes to setContent 2019-05-22 20:18:17 +02:00
Philipp Kühn
2598c5a622
fix link 2019-05-22 19:52:03 +02:00
Philipp Kühn
8d2570e770
add section to readme 2019-05-22 19:51:29 +02:00
Philipp Kühn
0d6b01403b Publish
- tiptap-extensions@1.20.0
 - tiptap@1.20.0
2019-05-21 21:38:34 +02:00
Philipp Kühn
b7ed913860 prevent setContent if editable is set to false 2019-05-21 21:27:02 +02:00
Philipp Kühn
5c81cddff9 remove editable prop, fix #223 2019-05-21 21:22:15 +02:00
Philipp Kühn
de624c1d5f wording 2019-05-21 18:07:19 +02:00
Philipp Kühn
d28a30b498 Publish
- tiptap-extensions@1.19.10
2019-05-21 00:12:20 +02:00
Philipp Kühn
53b1d0d4df fix bug in suggestions plugin, fix #176 2019-05-21 00:11:26 +02:00
Philipp Kühn
17c06eac80 Publish
- tiptap-commands@1.10.5
 - tiptap-extensions@1.19.9
 - tiptap-utils@1.5.3
 - tiptap@1.19.8
2019-05-20 20:52:03 +02:00
Philipp Kühn
3102d00a62 update dependencies 2019-05-20 20:48:21 +02:00
Philipp Kühn
5463da5807 add missing peer dependency 2019-05-20 19:58:20 +02:00
Philipp Kühn
a4279f5762 code style 2019-05-20 19:58:11 +02:00
Philipp Kühn
aeb1b3f8b8
Merge pull request #317 from Chrissi2812/issue-4
toggle between unordered_list and ordered_list
2019-05-20 19:54:32 +02:00
Chrissi2812
2291c699ad
only lift list_item if we are currently in a list
this allows to use lists in blockquotes that are in another list.
2019-05-20 15:44:11 +02:00
Chrissi2812
a0dae562c2
prevents invalid content in toggleList
This will skip the replace step for invalid content and instead inserts a new list of selected type
2019-05-20 15:40:31 +02:00
Chrissi2812
670936a160
moved liftListItem and wrapInList methods in conditional block
this makes more sense because both functions are only called once and can't be chained as I initially thought.
2019-05-20 15:00:19 +02:00
Chrissi2812
a6baa66e89
fixed todo_lists in toggleList method 2019-05-20 14:54:25 +02:00
Chrissi2812
6cb1c0436b
use findParentNode to find parent list instead of arbitary offsets 2019-05-20 14:30:40 +02:00
Chrissi2812
ac89ca404a
fixed offset problems with toggleList 2019-05-20 12:05:11 +02:00
Philipp Kühn
c3bd68d128 Publish
- tiptap-extensions@1.19.8
 - tiptap@1.19.7
2019-05-20 00:02:34 +02:00
Philipp Kühn
5fcf3a962a fix focus and blur handler, fix #318 2019-05-20 00:01:50 +02:00
Philipp Kühn
36cb6553f8 Publish
- tiptap-extensions@1.19.7
 - tiptap@1.19.6
2019-05-18 21:45:35 +02:00
Philipp Kühn
4269e846c5 fix node check 2019-05-18 21:43:10 +02:00
Philipp Kühn
9f3e101c2b Publish
- tiptap-extensions@1.19.6
 - tiptap@1.19.5
2019-05-18 00:27:40 +02:00
Philipp Kühn
0742ca8abe unregister plugins correctly, fix #188 2019-05-18 00:22:05 +02:00
Philipp Kühn
c0713b64af delay focus, fix #268 2019-05-17 23:46:15 +02:00
Philipp Kühn
5ec5168cc1 use handleDOMEvents for focus and blur events 2019-05-17 23:29:32 +02:00
Chrissi2812
a24fdac9f7
toggle between unordered_list and ordered_list 2019-05-17 15:50:59 +02:00
Philipp Kühn
78e6b703ff Publish
- tiptap-commands@1.10.4
 - tiptap-extensions@1.19.5
 - tiptap@1.19.4
2019-05-17 12:18:47 +02:00
Philipp Kühn
2081aa75a7 fix inline code input rule 2019-05-17 12:15:55 +02:00
Philipp Kühn
43c29770d8 update dependencies 2019-05-17 12:02:15 +02:00
Philipp Kühn
44a376704b update dependencies 2019-05-17 11:31:06 +02:00