Commit Graph

411 Commits

Author SHA1 Message Date
Hans Pagel
3ecbfb6bcd update dependencies 2020-12-29 10:03:31 +01:00
Hans Pagel
f9fe193db9 Publish
- tiptap-commands@1.15.0
 - tiptap-extensions@1.33.0
 - tiptap-utils@1.11.0
 - tiptap@1.30.0
2020-09-16 11:07:59 +02:00
Hans Pagel
da1edebbda update dependencies 2020-09-16 11:07:14 +02:00
Hans Pagel
128c9077ad Publish
- tiptap-commands@1.14.6
 - tiptap-extensions@1.32.5
 - tiptap@1.29.6
2020-08-19 11:02:47 +02:00
Hans Pagel
2ba063592b update prosemirror dependencies 2020-08-19 10:31:44 +02:00
Hans Pagel
01ec8b2bf4 Publish
- tiptap-commands@1.14.5
 - tiptap-extensions@1.32.4
 - tiptap@1.29.5
2020-08-13 12:03:57 +02:00
Hans Pagel
7b628bad8d fix enableDropCursor and enableGapCursor default options 2020-08-11 15:21:38 +02:00
Hans Pagel
1fc3a0b504 Merge pull request #705 from christosnc/master
Add options to enable / disable dropCursor and gapCursor
2020-08-11 15:10:38 +02:00
Philipp Kühn
a031370f4c Publish
- tiptap-commands@1.14.4
 - tiptap-extensions@1.32.0
 - tiptap-utils@1.10.4
 - tiptap@1.29.4
2020-08-07 14:39:52 +02:00
Philipp Kühn
8565128ead update dependencies 2020-08-07 14:36:39 +02:00
Hans Pagel
c99bfb2bee Publish
- tiptap-commands@1.14.3
 - tiptap-extensions@1.31.3
 - tiptap-utils@1.10.3
 - tiptap@1.29.3
2020-07-28 20:21:00 +02:00
Hans Pagel
5b33df55b0 Publish
- tiptap-commands@1.14.2
 - tiptap-extensions@1.31.2
 - tiptap-utils@1.10.2
 - tiptap@1.29.2
2020-07-28 20:17:25 +02:00
Hans Pagel
f98c2c0eca reset version 2020-07-28 20:16:13 +02:00
Hans Pagel
5496971230 update version 2020-07-28 20:13:20 +02:00
Kfir Ben-Ami
a23f3a6e6e Fix an issue with with parsing custom extensions
see details in #747
2020-07-27 14:30:04 +03:00
Philipp Kühn
b4677ed34e Publish
- tiptap-commands@1.14.1
 - tiptap-extensions@1.31.1
 - tiptap-utils@1.10.1
 - tiptap@1.29.1
2020-07-13 17:13:12 +02:00
Hans Pagel
8186db5158 update repository name 2020-07-13 17:08:17 +02:00
Hans Pagel
1656302daa switch to new primary domain 2020-07-13 16:43:55 +02:00
Philipp Kühn
2922a8feaf Publish
- tiptap-extensions@1.31.0
 - tiptap@1.29.0
2020-07-08 10:02:00 +02:00
Philipp Kühn
d1ab32690c code style 2020-07-08 10:01:20 +02:00
Philipp Kühn
71409c1c81 Publish
- tiptap-commands@1.14.0
 - tiptap-extensions@1.30.0
 - tiptap-utils@1.10.0
 - tiptap@1.28.0
2020-07-08 09:59:27 +02:00
Philipp Kühn
52215dd7dd code style 2020-07-08 09:54:45 +02:00
Philipp Kühn
34d007aca7 update dependencies 2020-07-08 09:17:15 +02:00
John Nguyen
02ee4a571c remove firstChild from parseFromString 2020-07-01 20:02:30 -07:00
John Nguyen
5d17f68c0c Bug fix for issue #724; XSS issue when importing through getHTML() function; remove usage of innerHTML and pre-parse the string using native JS DOMParser 2020-07-01 14:01:31 -07:00
John Nguyen
4954f8297c Bug fix for issue #724; XSS issue when importing through getHTML() function; remove usage of innerHTML and pre-parse the string using native JS DOMParser 2020-07-01 13:56:18 -07:00
Christos Christou
721160ea1f Add options to enable / disable dropCursor and gapCursor 2020-05-21 11:22:35 +01:00
Philipp Kühn
92eb2c61cc Publish
- tiptap-commands@1.13.1
 - tiptap-extensions@1.29.1
 - tiptap-utils@1.9.1
 - tiptap@1.27.1
2020-04-22 20:28:05 +02:00
Philipp Kühn
f9a2a24e0a update dependencies 2020-04-22 20:25:48 +02:00
Philipp Kühn
3e7e351f93 fix bug 2020-04-12 19:22:24 +02:00
Philipp Kühn
9bf8be403f Merge pull request #658 from BrianHung/RegisterPluginPriority
Change registerPlugin to add plugin after Extensions plugins
2020-04-12 19:14:39 +02:00
Brian Hung
f9d29865b7 Updated registerPlugin and README with handlePlugins argument. 2020-04-11 15:29:53 -07:00
Philipp Kühn
f0e8fde668 Publish
- tiptap-commands@1.13.0
 - tiptap-extensions@1.29.0
 - tiptap-utils@1.9.0
 - tiptap@1.27.0
2020-04-11 13:03:17 +02:00
Philipp Kühn
0ca798fe23 add getNodeAttrs, fix #622 2020-04-11 13:02:19 +02:00
Philipp Kühn
e5be8bd1a6 update dependencies 2020-04-10 20:08:24 +02:00
BrianHung
90f0498265 Change registerPlugin to add plugin after Extensions plugins
This commit changes `registerPlugin` by 1. adding the new plugin to `this.plugins` and 2. updating `this.plugins` within `this.state.plugins` by splicing with the new `this.plugins` length. Previously, new plugins were simply added to the end of `this.state.plugins` and were not appended to `this.plugins`. 

By placing new plugins at this new location within `this.state.plugins`, we prioritize registered plugins over default ProseMirror plugins such as `keymap(baseKeymap)`. This will allow new plugins to have precedence over props such as `handleKeyDown`.
2020-04-08 03:17:59 -07:00
Philipp Kühn
441af1a6ce Publish
- tiptap-commands@1.12.7
 - tiptap-extensions@1.28.8
 - tiptap@1.26.8
2020-04-02 09:23:34 +02:00
Philipp Kühn
15eb791b31 Merge pull request #650 from danderozier/gh-451-clean-up-event-handlers
Remove menu event handlers on destroy
2020-04-02 09:15:13 +02:00
Philipp Kühn
9567519f8a fix bug in in node views, fix #652 2020-04-02 09:14:05 +02:00
Daniel
91f75e5305 Re: #451, remove menu event handlers on destroy 2020-04-01 19:34:27 -05:00
Philipp Kühn
6044536821 Publish
- tiptap-commands@1.12.6
 - tiptap-extensions@1.28.7
 - tiptap-utils@1.8.4
 - tiptap@1.26.7
2020-04-01 20:46:33 +02:00
Philipp Kühn
fe28e5e886 update dependencies 2020-04-01 20:45:15 +02:00
Philipp Kühn
5ce66cd8f2 Merge pull request #646 from Juice-Codes/fix-issue-485
set capture to true for mousedown event listener
2020-04-01 20:30:09 +02:00
bepsvpt
e4a20be5c7 set capture to true for mousedown event listener 2020-03-30 16:50:28 +08: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
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
Janis Kelemen
8d816bd315 Fix error in 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. 

```javascript
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:53:56 +01:00
Philipp Kühn
ee0750f128 update prosemirror dependencies 2019-12-19 21:49:17 +01:00
Philipp Kühn
5e2c8e2956 Publish
- tiptap-commands@1.12.5
 - tiptap-extensions@1.28.6
 - tiptap@1.26.6
2019-12-16 10:55:53 +01:00