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
14e458ea7d
feat: add extendEmptyMarkRange option to mark commands ( #1859 )
2021-09-08 09:32:22 +02:00
Philipp Kühn
78e2a6e775
add generic to commands type
2021-06-04 21:56:29 +02:00
Philipp Kühn
072905cb95
feat: add editor.getAttributes, deprecate editor.getNodeAttributes and editor.getMarkAttributes
2021-05-07 11:10:18 +02:00
Philipp Kühn
7da647d99f
fix: fix a bug that messed up pasted link attributes, fix #1284
2021-05-07 09:54:40 +02:00
Philipp Kühn
9e9401e68b
feat: add linkOnPaste option for adding a link to the current selection if the pasted content only contains an url, fix #1210
2021-05-05 09:33:52 +02:00
Philipp Kühn
1c8ca95de2
refactor: remove AnyObject type
2021-04-21 09:43:31 +02:00
Philipp Kühn
33c30c0d6d
fix: fix a bug in link click handler, where we can’t click on text selections. fix #263
2021-04-11 18:59:07 +02:00
Philipp Kühn
bb1ae659a4
feat: add priority option to extensions
2021-04-07 18:29:16 +02:00
Philipp Kühn
56b4df044f
rename AllCommands to Commands
2021-02-16 18:39:37 +01:00
Philipp Kühn
ca8d1a4245
add command scope
2021-02-16 11:27:58 +01:00
Philipp Kühn
215c26748b
improve options interface
2021-02-10 18:25:08 +01:00
Philipp Kühn
55ff908423
refactoring
2021-02-10 18:05:02 +01:00
Philipp Kühn
290ff76e37
add Commands interface
2021-02-10 09:59:35 +01:00
Florian Wiech
4142637921
refactor: recreate extension exports
2020-12-07 21:32:50 +01:00
Florian Wiech
11de3a287f
refactor: restructure extensions
2020-12-07 21:09:02 +01:00
Philipp Kühn
ddc71f792a
manually merge HTMLAttributes
2020-11-25 09:50:54 +01:00
Hans Pagel
7a058b9c2f
fix linting
2020-11-24 17:29:43 +01:00
Hans Pagel
5685cf83a4
improve link testing
2020-11-24 17:26:47 +01:00
Philipp Kühn
2c5885c026
rename removeMark to unsetMark
2020-11-18 17:38:16 +01:00
Philipp Kühn
e3a3d99c51
rename addMark to setMark
2020-11-18 17:36:00 +01:00
Philipp Kühn
1b45acd5d5
rename some commands
2020-11-18 16:59:58 +01:00
Philipp Kühn
56c8bb1bd0
add link commands
2020-11-18 11:10:06 +01:00
Philipp Kühn
9d99e9c9d0
remove updateMarkAttributes
2020-11-18 11:05:19 +01:00
Philipp Kühn
a4ad1572e8
rename some methods
2020-11-17 21:10:08 +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
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
034ee139a3
add new syntax to all packages
2020-11-15 23:25:25 +01:00
Philipp Kühn
2a321f6739
merge HTMLAttributes
2020-11-14 17:27:59 +01:00
Philipp Kühn
f329229e03
Merge branch 'main' of https://github.com/ueberdosis/tiptap-next into main
2020-11-13 16:44:26 +01:00
Philipp Kühn
2591ffe419
add HTMLAttributes to defaultoptions
2020-11-13 16:44:22 +01:00
Philipp Kühn
c840a562de
rename attributes to HTMLAttributes
2020-11-13 16:07:20 +01:00
Hans Pagel
5b76bf5141
add comments to all commands
2020-11-13 15:08:30 +01:00
Philipp Kühn
6d73e60bfb
improve link regex
2020-11-13 09:07:51 +01:00
Philipp Kühn
cb5ca0c084
refactoring
2020-11-10 21:18:22 +01:00
Philipp Kühn
d3b4e7a1d4
fix build for now
2020-11-10 16:29:31 +01:00