Dominik
8c6751f0c6
add precommit hook for linting and automatic eslint fixes + update eslint packages ( #2862 )
...
* chore: add precommit hook for eslint fixes, fix linting issues
* chore: add eslint import sort plugin
2022-06-08 14:10:25 +02:00
Dominik
f019f70a19
fix(suggestion): 🐛 make clientrect prop optional as it can potentially be undefined ( #2813 )
...
This commit makes the clientRect prop optional - this means that this value can be null. This allows developers using the suggestion extension to know that they have to implement a check for the clientRect before using it.
#2795
2022-05-27 12:31:46 +02:00
Dominik Biedebach
3d0074b294
test: add new tests for multiple examples
...
Added tests for CSS modules, Custom Documents and the Default Editor example
2022-05-16 12:49:12 +02:00
Dominik Biedebach
229936dd3b
test: added first tests for examples
2022-05-16 12:49:12 +02:00
Philipp Kühn
1dcbefd08b
demos: show "No result" in mentions demos
2022-01-12 10:22:27 +01:00
Philipp Kühn
ed21bfc422
demos: remove content of index.html files
2021-12-17 14:02:22 +01:00
Philipp Kühn
38109831c6
refactoring
2021-12-16 14:06:35 +01:00
Philipp Kühn
5daa870b09
feat: add some improvements to CharacterCount
extension ( #2256 ), fix #1049 , fix #1550 , fix #1839 , fix #2245
...
* fix a bug when exceeding the character limit
* find a better way to limit the doc size
* check paste events
* add storage method
* refactoring
* use textBetween instead of textContent
* return early if no limit is set
* add words method to storage
* show word count in charactercount demo
Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-08 21:26:30 +01:00
Philipp Kühn
6c34dec33a
fix: remove some magic strings
2021-12-02 14:58:15 +01:00
Philipp Kühn
70f335c088
demos: improve mention styling
2021-10-26 16:22:31 +02:00
Philipp Kühn
641ae99701
demos: update suggestion styling
2021-10-26 00:00:30 +02: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
Philipp Kühn
c01afc6791
demos: fix styling
2021-10-25 09:19:56 +02:00
Philipp Kühn
b2dffc6013
demos: update suggestions styling
2021-10-15 18:38:14 +02:00
Philipp Kühn
e79126d99b
demos: add whitespace
2021-10-14 09:42:31 +02:00
Philipp Kühn
f9059a372f
demos: move suggestion to its own file
2021-10-13 14:53:40 +02:00
Philipp Kühn
ddc4986df1
check ts correctly on demo build
2021-09-17 23:44:01 +02:00
Philipp Kühn
707ba29fa5
docs: use functional component for mention list
2021-09-07 23:22:11 +02:00
Philipp Kühn
2d129459ca
fix tests
2021-08-26 14:07:37 +02:00
Philipp Kühn
e0016c40e9
migrate beforeDestroy to beforeUnmount
2021-08-25 18:36:11 +02:00
Philipp Kühn
2498c24186
fix some demos
2021-08-25 12:29:46 +02:00
Philipp Kühn
4607a2dbd5
add example demos
2021-08-25 12:13:46 +02:00