Commit Graph

4591 Commits

Author SHA1 Message Date
Philipp Kühn
00cc5b0180 add magic methods 2020-03-11 10:02:47 +01:00
Philipp Kühn
5a45420a90 fix tests 2020-03-11 10:00:19 +01:00
Philipp Kühn
1b10b20ec3 check for already defined commands 2020-03-10 23:19:41 +01:00
Philipp Kühn
b1cae691ec update dependencies 2020-03-10 21:31:06 +01:00
Philipp Kühn
a580e257f5 add editorcontent component 2020-03-08 23:25:48 +01:00
Philipp Kühn
a067259da1 refactoring 2020-03-07 23:37:58 +01:00
Philipp Kühn
486d0e0f5f rename init to created 2020-03-07 22:54:45 +01:00
Philipp Kühn
25d2e0540c add starter kit 2020-03-06 12:18:20 +01:00
Philipp Kühn
3f442a6592 refactoring 2020-03-06 12:06:55 +01:00
Philipp Kühn
1dea0299ec improve styling 2020-03-06 12:04:35 +01:00
Philipp Kühn
699e5a85b6 add basic style to demo 2020-03-06 11:59:36 +01:00
Philipp Kühn
c6e003de85 improve basic example 2020-03-06 11:46:46 +01:00
Philipp Kühn
e94415aa67 fix focus bug 2020-03-06 11:46:35 +01:00
Philipp Kühn
adb2d1a12c fix some types 2020-03-06 11:24:58 +01:00
Philipp Kühn
f7b62be436 add basic history extension 2020-03-06 11:02:35 +01:00
Philipp Kühn
cb6a723d57 add topNode option 2020-03-06 00:15:36 +01:00
Philipp Kühn
b21bed1694 add more types 2020-03-06 00:02:48 +01:00
Philipp Kühn
27e9d2b4af add emitter 2020-03-05 23:59:48 +01:00
Philipp Kühn
8da66c9cd8 enable extensions init 2020-03-05 22:40:02 +01:00
Philipp Kühn
bb26465da8 add plugin support 2020-03-05 22:15:17 +01:00
Philipp Kühn
d722cfe1bc refactoring 2020-03-05 21:49:53 +01:00
Philipp Kühn
01a0b99d00 add collect.js 2020-03-05 21:35:30 +01:00
Philipp Kühn
54dcbfc473 add basic extension manager 2020-03-05 21:05:01 +01:00
Philipp Kühn
6e85098741 add some extensions 2020-03-05 20:30:58 +01:00
Philipp Kühn
aff52325a2 add more demos 2020-03-05 09:24:30 +01:00
Philipp Kühn
8b1b83252e improve demo component 2020-03-05 09:18:17 +01:00
Philipp Kühn
60d6a34d14 add basic support for multiple imports 2020-03-04 23:27:39 +01:00
Philipp Kühn
560d453356 add setContent 2020-03-04 22:47:50 +01:00
Philipp Kühn
36198ed2ab refactoring 2020-03-04 22:40:08 +01:00
Philipp Kühn
0dc51bf47e inject css 2020-03-04 21:45:49 +01:00
Philipp Kühn
4981571c20 refactoring 2020-03-04 21:27:22 +01:00
Philipp Kühn
8633404cc3 refactoring 2020-03-04 21:23:18 +01:00
Philipp Kühn
ca21f69da1 refactoring 2020-03-04 10:35:30 +01:00
Philipp Kühn
0341eedae5 add test 2020-03-04 10:34:07 +01:00
Philipp Kühn
06341fb1a9 fix bug 2020-03-04 10:30:34 +01:00
Philipp Kühn
8850b09edd update yarn 2020-03-04 10:21:58 +01:00
Philipp Kühn
79b7344847 add more tests 2020-03-04 10:21:48 +01:00
Philipp Kühn
e1ee3dc0dd improve test setup 2020-03-03 23:45:20 +01:00
Philipp Kühn
ddad1a62e6 add first test 2020-03-03 23:34:03 +01:00
Philipp Kühn
4297260cf7 update dependencies 2020-03-03 22:34:28 +01:00
Димитър Илков
da0ef2ff3a
code style fixes 2020-02-28 11:25:08 +02:00
Димитър Илков
03980a95e1
add option to put target for the created link 2020-02-28 11:04:20 +02:00
brian hung
39d4b50c19 Fixing TravisCI linting errors. 2020-02-14 23:31:07 -08:00
brian hung
ac3098b1df Apply decorations in HighlightPlugin if change in named nodes. 2020-02-14 19:29:08 -08:00
Malcolm Nihlén
bbc70f7db6 Added node components props to readme 2020-02-13 09:34:33 +01:00
Brian Hung
17c58c029b Allow extensions to define update behavior. 2020-02-09 00:32:12 -08:00
Philipp Kühn
fb147d45f3
Merge pull request #589 from janiskelemen/patch-2
Fix error on hide event
2020-02-02 21:13:09 +01:00
Philipp Kühn
cfc9b38af8
Merge pull request #588 from janiskelemen/patch-1
Fix error in hide event
2020-02-02 21:12:11 +01:00
Илья
ba6be120fb
improvement(History extension): support ru keys 2020-01-25 11:50:15 +02:00
Janis Kelemen
6b2448bf6f
Fix error on hide event
Sometimes the hide event throws an error since the element of the option does not have a parent node. I added a check if the parent node is not null to the hide event. 

tiptap.esm.js?cd42:1849 Uncaught TypeError: Cannot read property 'contains' of null
    at Menu.hide (tiptap.esm.js?cd42:1849)
    at Editor.eval (tiptap.esm.js?cd42:1778)
    at eval (tiptap.esm.js?cd42:461)
    at Array.forEach (<anonymous>)
    at Editor.emit (tiptap.esm.js?cd42:460)
    at Plugin.blur (tiptap.esm.js?cd42:1184)
    at eval (index.es.js?576a:3113)
    at EditorView.someProp (index.es.js?576a:4567)
    at runCustomHandler (index.es.js?576a:3111)
    at HTMLDivElement.view.dom.addEventListener.view.eventHandlers.<computed> (index.es.js?576a:3076)
2020-01-24 12:55:53 +01:00