Commit Graph

609 Commits

Author SHA1 Message Date
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
1ee114be5d check for allowed marks in pasteRule, fix #643 2020-04-02 09:22:12 +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
5574ac4d56
Merge pull request #607 from BrianHung/HighlightTransaction
Apply decorations in HighlightPlugin if change in named nodes.
2020-04-01 20:32:19 +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
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
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
Philipp Kühn
4054a9953e
Merge pull request #502 from Alecyrus/patch-2
Fixed InputRule deletes the next unrelated char that should not be deleted.
2019-12-16 10:53:31 +01:00
Philipp Kühn
ba35bbec68 Publish
- tiptap-commands@1.12.4
 - tiptap-extensions@1.28.5
 - tiptap-utils@1.8.3
 - tiptap@1.26.5
2019-12-02 23:45:28 +01:00
Philipp Kühn
1472254913 improve placeholder 2019-12-02 23:05:03 +01:00
Philipp Kühn
a0141d3720 update dependencies 2019-12-02 22:42:05 +01:00
Philipp Kühn
9fa444c10f
Merge pull request #501 from Intelx/pull-request
Fix leaf nodes not selectable
2019-12-02 22:32:32 +01:00
Philipp Kühn
58d91a3631
Merge pull request #511 from fearclear/add-history-depth
Add support for historical paths
2019-12-02 22:26:41 +01:00
Philipp Kühn
d4851b6043
Merge pull request #527 from chkb/bugfix/lock-package-json
lock version of package dependencies
2019-12-02 22:24:02 +01:00
Илья
fd990286e7
Update Image.js 2019-11-28 19:52:35 +02:00
Chakib Grube Benhaddou
9ef5e79ac4 lock version of package dependencies 2019-11-21 12:30:57 +01:00
fearclear
c566fa619f fixed line-break 2019-11-01 17:20:01 +08:00
fearclear
38a58ac7ac Add support for historical paths 2019-11-01 11:25:13 +08:00
Alecyrus
c70306eaed
Fixed InputRule deletes the next unrelated char. 2019-10-23 17:17:28 +08:00
Billy Lam
c515dce9a8 Fix formatting 2019-10-21 10:22:16 +13:00
Billy Lam
dd7eafb998 Allow leaf nodes to be selected 2019-10-21 09:56:24 +13:00
Billy Lam
3510b7ee72 Merge remote-tracking branch 'upstream/master' 2019-10-21 09:46:13 +13:00
Philipp Kühn
4d140322e1 Publish
- tiptap-commands@1.12.3
 - tiptap-extensions@1.28.4
 - tiptap-utils@1.8.2
 - tiptap@1.26.4
2019-10-17 22:56:09 +02:00
Philipp Kühn
f916979e02 update dependencies 2019-10-17 22:42:45 +02:00
Philipp Kühn
07daad1fab
Merge pull request #496 from Chrissi2812/issue-488
use last selection + 1 to set table create selection
2019-10-17 22:40:05 +02:00
Chrissi2812
3591b5fa82
use last selection + 1 to set table create selection 2019-10-17 14:15:36 +02:00
Philipp Kühn
bbbd876a1c Publish
- tiptap-commands@1.12.2
 - tiptap-extensions@1.28.3
 - tiptap@1.26.3
2019-10-04 14:44:53 +02:00
Philipp Kühn
7a56da6315 remove mark before add mark, fix #452 2019-10-04 14:41:07 +02:00
Philipp Kühn
4f3260d685 add option to disable open links on click, fix #479, see #449 2019-10-04 14:24:34 +02:00
Philipp Kühn
08aa7e88bc use markRange for empty selections in removeMark and updateMark, fix #449 2019-10-04 14:16:38 +02:00
Philipp Kühn
103d2b16a0
Merge pull request #443 from nzesalem/master
Add/emit show/hide events in EditorFloatingMenu component
2019-10-04 13:36:46 +02:00
Philipp Kühn
fffbc244b1 Publish
- tiptap-commands@1.12.1
 - tiptap-extensions@1.28.2
 - tiptap-utils@1.8.1
 - tiptap@1.26.2
2019-10-04 13:31:51 +02:00
Philipp Kühn
0d4f76245e fix logging 2019-10-04 13:31:18 +02:00
Philipp Kühn
3656c16b61 do not prevent clicks in menus, fix #454, fix #470 2019-10-04 13:23:02 +02:00
Philipp Kühn
cefd8f0a8b update prosemirror dependencies 2019-10-04 11:40:52 +02:00
Billy Lam
b96ed5e5f2 Merge branch 'master' of git://github.com/scrumpy/tiptap 2019-10-04 09:58:20 +13:00
Philipp Kühn
c2b99e25d9 Publish
- tiptap-extensions@1.28.1
 - tiptap@1.26.1
2019-10-03 15:58:07 +02:00
Philipp Kühn
483fe11434 refactoring 2019-10-03 11:50:43 +02:00
Philipp Kühn
68ff32a024
Merge pull request #459 from rmckayfleming/master
MenuBubbles below the selection
2019-10-03 11:47:43 +02:00