Commit Graph

176 Commits

Author SHA1 Message Date
Philipp Kühn
b1b39b0b0f dependencies: update 2021-12-08 21:34:25 +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
80c2f85838 demos: add more extensions to all demo 2021-12-03 21:21:16 +01:00
Philipp Kühn
7dc85d0229 demos: add demo with many extensions 2021-12-03 21:03:37 +01:00
Philipp Kühn
59c296e6f7 demos: remove details experiment 2021-12-03 20:41:08 +01:00
Philipp Kühn
5a909500a7 demos: fix iOS bug for Vue version of CodeBlockLanguage demo 2021-12-03 11:31:33 +01:00
Philipp Kühn
3d68981b47
feat: Add support for autolink (#2226)
* wip

* WIP

* add autolink implementation

* refactoring

* set keepOnSplit to false

* refactoring

* improve changed ranges detection

* move some helpers into core

Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-03 08:53:58 +01:00
Philipp Kühn
40a9404c94 add newline-after-var rule to eslint config 2021-12-03 00:03:39 +01:00
Philipp Kühn
f7257a5119 dependencies: update 2021-12-02 21:06:13 +01:00
Hans Pagel
ac81bf0e96 setup: fix include dependencies config 2021-12-02 15:52:57 +01:00
Hans Pagel
21fed0fcce demos: remove indexeddb provider from example, use new websocket provider 2021-12-02 15:44:52 +01:00
Philipp Kühn
6c34dec33a fix: remove some magic strings 2021-12-02 14:58:15 +01:00
Philipp Kühn
fa18ffe6d7 update eslint config 2021-12-01 15:40:50 +01:00
Sven Adlung
5af3e7abe0
Merge pull request #2186 from ueberdosis/demos/interactivity
Split vue and react variant for interactivity demo
2021-11-23 14:54:08 +01:00
svenadlung
fc5757a857 Improve persisting of last clicked demo tab 2021-11-22 23:06:09 +01:00
svenadlung
3c1f04bfe7 Fix loading wrong source if memorized framework demo is not given 2021-11-22 22:29:59 +01:00
svenadlung
d434675f74 Refactor interactivity demos 2021-11-22 20:48:04 +01:00
svenadlung
bdb055187a Refactor interactivity demos 2021-11-22 20:36:56 +01:00
svenadlung
4e60147a57 Split vue and react variant for interactivity demo 2021-11-22 19:17:25 +01:00
svenadlung
a55aa5fd17 Demo previews: Memorize active tab 2021-11-22 18:05:40 +01:00
svenadlung
996a2326c8 Demo previews: Make React the first tab by default 2021-11-22 17:33:02 +01:00
Philipp Kühn
f2f1c31522 dependencies: update 2021-11-17 19:23:04 +01:00
svenadlung
7325c759ca Add TableOfContent demo for React 2021-11-16 22:31:34 +01:00
svenadlung
a7df47336c Add GenerateHTML demo for React 2021-11-16 20:35:39 +01:00
svenadlung
d8ce6fdafd Add GenerateJSON demo for React 2021-11-16 20:32:38 +01:00
svenadlung
d6286e5d5c Add GenerateText demo for React 2021-11-16 20:28:31 +01:00
svenadlung
152b0d328e Add ReadOnly demo for React 2021-11-16 19:27:54 +01:00
svenadlung
5fcd4beffb ExportJSON React demo prettify fix 2021-11-16 19:14:21 +01:00
svenadlung
c2de06bb26 Add ExportJSON for React 2021-11-16 19:11:45 +01:00
svenadlung
7749eaa18a Add ExportHTML demo for React 2021-11-16 18:47:41 +01:00
svenadlung
9956c9c51b Add Mention demo for React 2021-11-16 18:26:28 +01:00
svenadlung
0ad3c48435 Add Link demo for React 2021-11-16 17:56:24 +01:00
svenadlung
c6071d5ab6 Add Underline demo for React 2021-11-16 17:47:55 +01:00
svenadlung
9bfeb70848 Add TextStyle demo for React 2021-11-16 17:47:47 +01:00
svenadlung
6b31c9c378 Add Subscript demo for React 2021-11-16 17:46:23 +01:00
svenadlung
61603c8323 Add Superscript demo for React 2021-11-16 17:46:15 +01:00
svenadlung
6ccbf8c7cb Add Strike demo for React 2021-11-16 17:19:35 +01:00
svenadlung
3eca6a1987 Add Italic demo for React 2021-11-16 17:19:27 +01:00
svenadlung
2bb4edd533 Add Highlight demo for React 2021-11-16 16:24:35 +01:00
svenadlung
c8e1fcbf6b Add Code demo for React 2021-11-16 16:14:37 +01:00
svenadlung
2eb9cc568e Add Bold demo for React 2021-11-16 16:10:54 +01:00
svenadlung
709aa8c0ab Add Table demo for React 2021-11-16 16:00:26 +01:00
Sven Adlung
dee562f5ef Add Text demo for React 2021-11-16 15:49:38 +01:00
Sven Adlung
f2e6d3d8ef Add TaskList and TaskItem demo for React 2021-11-16 15:42:40 +01:00
Sven Adlung
ddd5545e9a Add Paragraph demo for React 2021-11-16 15:15:03 +01:00
Sven Adlung
cbc717334d Add OrderedList demo for React 2021-11-16 15:12:43 +01:00
Sven Adlung
73120d79bb Add ListItem demo for React 2021-11-16 15:08:58 +01:00
Sven Adlung
60957c2677 Add Image demo for React 2021-11-16 15:04:46 +01:00
Sven Adlung
7d6ecf31d8 Add HorizontaleRule demo for React 2021-11-16 14:56:07 +01:00
Sven Adlung
e8c76a75a0 Add Heading demo for React 2021-11-16 14:53:27 +01:00