Philipp Kühn
e07a5b625d
refactor: Use named exports instead of default exports ( #2238 )
...
* use named exports instead of default exports
* fix tests
Co-authored-by: Philipp Kühn <philippkuehn@MacBook-Pro-von-Philipp.local>
2021-12-06 12:00:09 +01:00
aguingand
3158c37324
feat: Allow array of extensions for enableInputRules
and enablePasteRules
options ( #2119 )
2021-11-18 12:44:34 +01:00
Philipp Kühn
7ffabf251c
feat: Add extension storage ( #2069 )
2021-10-22 08:52:54 +02:00
Philipp Kühn
4303637a78
feat: Allow to use commands within InputRule and PasteRule ( #2035 )
...
* add optional state prop to commandmanager
* add commands, chain and can getter to commandmanager
* use custom CommandManager for input rules and paste rules
* export commandmanager
2021-10-14 11:56:40 +02:00
Philipp Kühn
723b955cec
feat: Integrate input rules and paste rules into the core ( #1997 )
...
* refactoring
* improve link regex
* WIP: add new markPasteRule und linkify to image mark
* move copy of inputrule to core
* trigger codeblock inputrule on enter
* refactoring
* add regex match to markpasterulematch
* refactoring
* improve link regex
* WIP: add new markPasteRule und linkify to image mark
* move copy of inputrule to core
* trigger codeblock inputrule on enter
* refactoring
* add regex match to markpasterulematch
* update linkify
* wip
* wip
* log
* wip
* remove debug code
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* rename matcher
* add data to ExtendedRegExpMatchArray
* remove logging
* add code option to marks, prevent inputrules in code mark
* remove link regex
* fix codeblock inputrule on enter
* refactoring
* refactoring
* refactoring
* refactoring
* fix position bug
* add test
* export InputRule and PasteRule
* clean up link demo
* fix types
2021-10-08 15:02:09 +02:00
Philipp Kühn
f8efdf797a
fix: fix order of executed plugins, fix #1547
2021-10-03 18:55:33 +02:00
Philipp Kühn
4ecd41b922
fix lint error
2021-09-09 23:56:17 +02:00
Philipp Kühn
fe6a3e7491
feat: add getText() and generateText() methods ( fix #1428 ) ( #1875 )
...
* move getTextBetween method
* add getText method
* refactoring
* refactoring
* refactoring
* move renderText to schema, add generateText method
* add GenerateText demo
* docs: update
* remove demo from html page
2021-09-09 23:51:05 +02:00
Philipp Kühn
28737b1631
fix: fix missing extensions when using addExtension
, fix #1309
2021-05-13 20:44:51 +02:00
Philipp Kühn
129ad83167
fix: add support for priority and nested extension for getSchema
2021-05-07 10:25:55 +02:00
Philipp Kühn
26e672e2f0
feat: add addExtensions option
2021-05-06 18:39:47 +02:00
Philipp Kühn
12f60abb73
feat: add name to extension context
2021-04-20 23:11:35 +02:00
Philipp Kühn
e0c2460a96
feat: add editor prop to KeyboardShortcutCommand
2021-04-20 22:58:09 +02:00
Philipp Kühn
afe12f1603
fix attributes
2021-04-15 23:14:47 +02:00
Philipp Kühn
b3596582da
fix some more errors
2021-04-15 22:53:02 +02:00
Philipp Kühn
05434afc47
wip: add extension.name
2021-04-15 22:03:45 +02:00
Philipp Kühn
07bc40ce75
wip: add getExtensionField
2021-04-15 21:14:33 +02:00
Philipp Kühn
c40ce34eec
wip: add some hierarchy tests
2021-04-14 09:48:38 +02:00
Philipp Kühn
5e1ec5d2a6
feat: add parentConfig to extension context for more extendable extensions, fix #259
2021-04-12 11:11:02 +02:00
Philipp Kühn
95f31f48fd
Merge branch 'main' into feature/extension-code-block-lowlight
2021-04-07 22:39:39 +02:00
Philipp Kühn
a0e2a830d7
refactor: remove isEditable from node views, remove viewUpdate event
2021-04-07 22:07:36 +02:00
Philipp Kühn
bb1ae659a4
feat: add priority option to extensions
2021-04-07 18:29:16 +02:00
Philipp Kühn
c8f384b9fc
remove log
2021-04-02 22:20:20 +02:00
Philipp Kühn
7adf1853d7
add basic lowlight extension
2021-04-02 00:07:40 +02:00
Philipp Kühn
f2ca9322ee
add keepOnSplit option for marks
2021-04-01 19:06:40 +02:00
Philipp Kühn
15848473ed
rename selection to selectionUpdate, add editor to event listener props
2021-03-09 09:50:03 +01:00
Philipp Kühn
b06b368621
fix bug
2021-02-19 11:17:18 +01:00
Philipp Kühn
ba69a0d8f9
improve extending nodes and marks
2021-02-19 10:54:47 +01:00
Philipp Kühn
223512a536
refactoring
2021-02-18 22:44:50 +01:00
Philipp Kühn
a705134998
rename Commands to RawCommands
2021-02-16 18:36:37 +01:00
Philipp Kühn
2340840621
remove registerCommands
2021-02-10 14:52:08 +01:00
Philipp Kühn
290ff76e37
add Commands interface
2021-02-10 09:59:35 +01:00
Philipp Kühn
90c6f77063
Merge branch 'main' into feature/plugin-order
2021-01-29 09:36:00 +01:00
Philipp Kühn
ee7daa3f43
add keepOnSplit option to attributes
2021-01-28 19:56:35 +01:00
Philipp Kühn
07cfc99502
improve plugin order
2021-01-28 17:39:57 +01:00
Philipp Kühn
bc55aa44e7
add type
2021-01-28 09:11:24 +01:00
Philipp Kühn
20f8adc0e4
change plugin order
2021-01-24 20:56:07 +01:00
Philipp Kühn
563f37d74b
fix copying mentions as plain text
2021-01-19 20:27:51 +01:00
Philipp Kühn
f6206b3df5
add all events to extensions
2020-11-30 14:12:36 +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
b4f3f8279e
Merge branch 'main' into feature/vue-node-views
2020-11-23 17:30:45 +01:00
Philipp Kühn
feda283fcb
add enableInputRules and enablePasteRules option
2020-11-20 21:30:12 +01:00
Philipp Kühn
b8886fa408
add node view playground
2020-11-18 22:50:07 +01:00
Philipp Kühn
c87f49c1fe
improve new extensions
2020-11-16 09:43:17 +01:00
Philipp Kühn
c840a562de
rename attributes to HTMLAttributes
2020-11-13 16:07:20 +01:00
Philipp Kühn
a71221d8df
fix types
2020-10-30 17:43:59 +01:00
Philipp Kühn
b28a322d8b
add node view to task item
2020-10-30 14:55:48 +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