Jason Galea
6583edeb1f
fix: update getJSON return type to JSONContent ( #2153 )
2021-11-10 00:24:18 +01:00
Philipp Kühn
a0a88acd13
fix: don't remove the tiptap styles on destroy, fix #2120 , fix #2143
2021-11-09 17:16:38 +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
8db5a943d2
refactoring
2021-09-30 09:34:45 +02:00
HuiiBuh
54e85fd284
feat: #1898 Made the EventEmitter generic to improve the types of the tiptap events ( #1959 )
2021-09-30 09:25:40 +02:00
Philipp Kühn
2c9cf03398
fix: getHTMLFromFragment now expects a fragment instead of node
2021-09-28 21:34:57 +02:00
Philipp Kühn
0255dbdfcd
refactoring
2021-09-21 20:21:36 +02:00
Flávio Carvalho
4178281a74
feat: add enableCoreExtensions flag ( #1923 )
2021-09-21 20:21:36 +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
920d9a0113
fix lint error
2021-08-13 15:50:18 +02:00
Philipp Kühn
9cf99fedc0
refactor: remove deprecated packages
2021-08-13 15:47:53 +02:00
Philipp Kühn
7f6ed0b1c0
feat: add transaction to all events if possible, see #1461
2021-08-13 14:01:50 +02:00
Philipp Kühn
f6f8cf9f93
fix: fix isEditable check on initialization
2021-08-09 17:40:45 +02:00
Philipp Kühn
80296aa8d0
refactoring
2021-08-09 17:24:18 +02:00
Robert van Hoesel
e6f67caef3
fix: fix updating editorProps via setOptions ( #1540 ), fix #1518
2021-08-09 17:19:50 +02:00
Philipp Kühn
939fc3d93a
fix: prevent bug when editor is destroyed very fast
2021-05-28 12:14:12 +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
b3fb0228e0
fix: ignore editable in dispatchTransaction, fix #1239
2021-05-04 10:46:32 +02:00
Philipp Kühn
0b67f18e3a
fix: fix onBeforeCreate event handler, fix #1236
2021-04-27 21:52:22 +02:00
Philipp Kühn
1c8ca95de2
refactor: remove AnyObject type
2021-04-21 09:43:31 +02:00
Philipp Kühn
9f64015157
feat: remove resize event handler
2021-04-16 12:51:47 +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
beb96c5cbf
fix: remove debug log
2021-04-07 16:03:01 +02:00
Philipp Kühn
b8d9b7d4c7
feat: add insertContent() command, deprecate insertText(), insertHTML() and insertNode()
2021-04-07 11:53:37 +02:00
Philipp Kühn
7adf1853d7
add basic lowlight extension
2021-04-02 00:07:40 +02:00
Philipp Kühn
c68fa74ad1
add resize event
2021-04-01 16:21:47 +02:00
Philipp Kühn
daa8e72477
add doc page for bubble menu
2021-03-30 14:07:18 +02:00
Philipp Kühn
43320e51c7
add isNodeEmpty helper method
2021-03-24 22:23:08 +01:00
Philipp Kühn
d0a15ad069
prevent dispatch on readonly
2021-03-15 13:27:52 +01: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
c925160e78
add comment
2021-03-05 12:15:50 +01:00
Philipp Kühn
3bf900e7f6
add NodeViewWrapper and NodeViewContent component
2021-03-05 00:02:28 +01:00
Philipp Kühn
4721fe451f
refactoring
2021-02-28 00:02:51 +01:00
Philipp Kühn
744dab5601
remove proxy
2021-02-16 18:54:44 +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
e8232dd737
add basic enter command
2021-02-09 10:06:13 +01:00
Philipp Kühn
07cfc99502
improve plugin order
2021-01-28 17:39:57 +01:00
Philipp Kühn
6ed7ce8089
add some return types
2021-01-28 09:04:55 +01:00
Hans Pagel
06b6fc25d4
add getCharacterCount method to the editor
2021-01-27 11:40:49 +01:00
Philipp Kühn
563f37d74b
fix copying mentions as plain text
2021-01-19 20:27:51 +01:00
Philipp Kühn
ed4396da23
add extension check
2020-12-21 17:43:29 +01:00
Philipp Kühn
aef4bd88fc
set parent component for vue node views
2020-12-14 12:05:46 +01:00
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