Commit Graph

134 Commits

Author SHA1 Message Date
Philipp Kühn
5bce6db292 improve isEmpty 2020-12-08 21:15:17 +01:00
Philipp Kühn
1ceb54bc19 rename init to create 2020-11-30 13:56:42 +01:00
Philipp Kühn
6c39aea432 add destroy event 2020-11-30 13:50:06 +01:00
Philipp Kühn
f486ddf80a split helpers and utilities 2020-11-30 09:42:53 +01:00
Philipp Kühn
8d38459289 refactoring 2020-11-30 09:21:31 +01:00
Philipp Kühn
ec56158739 add support for only checking attributes in isActive 2020-11-30 00:04:30 +01:00
Philipp Kühn
ebd84cf488 add onSelection event 2020-11-27 14:52:19 +01:00
Philipp Kühn
c433428fba refactoring 2020-11-20 23:44:23 +01:00
Philipp Kühn
feda283fcb add enableInputRules and enablePasteRules option 2020-11-20 21:30:12 +01:00
Philipp Kühn
82a57351a7 add editorProps to editorOptions 2020-11-17 21:21:19 +01:00
Philipp Kühn
14c6bfce6f add parseOptions to editorOptions 2020-11-17 21:15:10 +01:00
Philipp Kühn
a4ad1572e8 rename some methods 2020-11-17 21:10:08 +01:00
Philipp Kühn
99aebcc18b refactoring 2020-11-17 21:04:38 +01:00
Hans Pagel
aa17a4313c rename autoFocus to autofocus 2020-11-17 15:47:39 +01:00
Philipp Kühn
def735edec add events to editor options 2020-11-17 15:27:00 +01:00
Philipp Kühn
d05c9fda3e refactoring 2020-11-16 21:54:40 +01:00
Philipp Kühn
13a314e123 refactoring 2020-11-16 21:42:35 +01:00
Philipp Kühn
0e2815b317 fix some bugs 2020-11-16 17:25:55 +01:00
Philipp Kühn
0c9ce26c02 Revert "use global namespace"
This reverts commit 24c3a9abd3.

# Conflicts:
#	packages/core/src/Editor.ts
2020-11-16 16:58:30 +01:00
Philipp Kühn
282cdfebd6 move some types 2020-11-16 15:56:44 +01:00
Philipp Kühn
24c3a9abd3 use global namespace 2020-11-16 15:40:05 +01:00
Philipp Kühn
8a7603edaf replace NodeExtension with Node, replace MarkExtension with Mark 2020-11-16 11:19:43 +01:00
Philipp Kühn
356696772e fix lint 2020-11-16 10:29:01 +01:00
Philipp Kühn
c87f49c1fe improve new extensions 2020-11-16 09:43:17 +01:00
Philipp Kühn
13489998b9 prefix all commands with ‚commands‘ 2020-11-13 11:42:04 +01:00
Philipp Kühn
c3fa5ebf1b add new command getter 2020-11-13 09:58:30 +01:00
Philipp Kühn
54c2dcb8e6 remove log 2020-11-10 16:30:07 +01:00
Philipp Kühn
7d121eb39a improve build script 2020-11-10 09:21:47 +01:00
Philipp Kühn
9103172837 Merge branch 'main' into feature/new-highlight-extension
# Conflicts:
#	docs/src/docPages/api/extensions.md
#	docs/src/links.yaml
#	packages/core/src/extensions/toggleMark.ts
2020-11-05 21:27:20 +01:00
Philipp Kühn
7a16546d6f add try command 2020-11-04 15:31:42 +01:00
Philipp Kühn
3a79b8c564 fix keymaps 2020-11-02 23:26:41 +01:00
Philipp Kühn
971e8838a0 move plugins to extensions 2020-11-02 22:43:54 +01:00
Philipp Kühn
7bfab4685f add can method to editor class 2020-11-02 17:18:12 +01:00
Philipp Kühn
2bc02e50e0 improve commands 2020-11-02 14:46:18 +01:00
Philipp Kühn
8f4abb720a add can method 2020-11-02 14:29:58 +01:00
Philipp Kühn
f9089932ff add basic implementation for node views 2020-10-30 11:08:23 +01:00
Philipp Kühn
516d0da41c nothing works 2020-10-29 09:26:24 +01:00
Hans Pagel
4dad818f7d rename HTML function names 2020-10-28 17:20:38 +01:00
Hans Pagel
da3618ec6f Merge branch 'main' into feature/new-highlight-extension
# Conflicts:
#	packages/core/src/commands/toggleMark.ts
2020-10-27 20:36:22 +01:00
Philipp Kühn
e01a0b8484 add isEmpty method, fix #28 2020-10-23 14:28:25 +02:00
Philipp Kühn
f37e6da902 rename .json() to .getJSON() and .html() to .getHTML(), fix #22, fix #23 2020-10-23 11:58:00 +02:00
Philipp Kühn
56da8880dc fix command types 2020-10-23 10:48:10 +02:00
Philipp Kühn
fd298b645b add core extensions 2020-10-23 10:44:30 +02:00
Philipp Kühn
d8d33c7429 add type to this context in extensions 2020-10-22 23:21:52 +02:00
Philipp Kühn
6746163dda add AllExtensions interface 2020-10-22 22:40:40 +02:00
Philipp Kühn
7fffe97532 add markextension 2020-10-21 21:13:38 +02:00
Philipp Kühn
8324f57528 add basic extension classes 2020-10-09 22:59:25 +02:00
Hans Pagel
1d5d1f7c6e check if mark has attributes 2020-10-05 17:12:57 +02:00
Philipp Kühn
b6a06c071f refactoring 2020-10-02 21:57:46 +02:00
Hans Pagel
eabcecb550 add comment about broken autoFocus option 2020-10-02 15:45:45 +02:00