Commit Graph

33 Commits

Author SHA1 Message Date
Ricardo Amaral
7cae9673f0 feat: Add a generic type for suggestion items 2022-04-28 14:23:00 +02:00
Ricardo Amaral
70cb809702 feat: Add onBeforeStart and onBeforeUpdate handlers to the render function 2022-04-28 12:22:16 +02:00
Scott Sidwell
45990cdc0f fix: prevent suggestions from being active when editor is readonly 2022-04-10 12:14:42 +10:00
Philipp Kühn
55fa220899 fix: fixes an error when using the mention extension and pasting text ending with "@", fix #2413 2022-01-21 09:29:36 +01:00
Philipp Kühn
5d2ef71d33 fix: call onExit hook when editor is destroyed, fix #1645 2021-12-04 23:24:21 +01:00
Philipp Kühn
a6f731af39
feat!: Add editor to items prop in suggestion plugin (#2082)
* add editor to items prop

* docs: update content
2021-10-25 09:42:41 +02:00
Ruben Robles
4a6c3cbaac
fix: Add type for async items on suggestions (fix TS strict types complaining) (#1912) 2021-09-20 11:02:40 +02:00
Jakob Košir
4dd0d6d4dc
feat: allow triggering suggestions without prefix space (#1826, fix #1384) 2021-09-06 22:25:41 +02:00
Philipp Kühn
839acc1d9f fix: get correct clientRect when using async suggesteion items, fix #1782 2021-08-23 22:13:51 +02:00
Philipp Kühn
9789372cea fix: improve suggestion handling for chinese input, fix #1449 2021-08-13 15:13:19 +02:00
Philipp Kühn
7cf3350a83 fix: add pluginKey option to suggestion plugin, fix #1282 2021-08-13 13:14:54 +02:00
Philipp Kühn
a0444b5ec3 code style 2021-08-09 15:21:44 +02:00
dkrym
60606f99a1
fix: use correct state when doc changed externally (#1646) 2021-08-09 15:20:46 +02:00
Philipp Kühn
07c6d51338 fix: fix type for clientRect 2021-04-16 23:33:30 +02:00
Philipp Kühn
33773c01f3 add allow option to suggestion extension 2021-02-07 20:38:33 +01:00
Philipp Kühn
aef0acf53d fix bug in suggestion extension, fix #143 2021-02-07 20:00:13 +01:00
Philipp Kühn
319eb83303 rename suggestion command argument 2021-01-21 12:28:58 +01:00
Philipp Kühn
faa8842698 fix tippy position 2021-01-20 11:32:58 +01:00
Philipp Kühn
8f95eb6aed add decorationTag and decorationClass option 2021-01-20 10:47:31 +01:00
Philipp Kühn
ba0d379101 add editor to suggestion command props 2021-01-20 09:23:44 +01:00
Philipp Kühn
7a9b1f5c46 refactoring 2021-01-19 20:45:18 +01:00
Philipp Kühn
6b517a47ef refactoring 2021-01-19 12:28:33 +01:00
Philipp Kühn
7712325ba9 fix mention rendering 2021-01-19 12:03:38 +01:00
Philipp Kühn
c13d65c842 refactoring 2021-01-19 10:09:32 +01:00
Philipp Kühn
aaa0832883 refactoring 2021-01-18 23:41:38 +01:00
Philipp Kühn
dd3a2ce490 improve styling 2021-01-18 16:54:02 +01:00
Philipp Kühn
7adc8b24a0 add basic keyboard navigation 2021-01-18 16:45:49 +01:00
Philipp Kühn
f96dff1f0f add tippy 2021-01-18 12:40:13 +01:00
Philipp Kühn
9f0ae94201 refactoring 2021-01-15 15:58:39 +01:00
Philipp Kühn
decabc09c6 refactoring 2021-01-15 14:49:28 +01:00
Philipp Kühn
3d28386e11 maybe improve text match 2021-01-15 09:55:15 +01:00
Philipp Kühn
a5d28a0184 refactoring 2021-01-15 09:25:50 +01:00
Philipp Kühn
5a9b96aaf0 add basic mention extension 2020-12-17 17:13:35 +01:00