Commit Graph

5756 Commits

Author SHA1 Message Date
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
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
Hans Pagel
4613bbc754
added tiptapy to the README, thanks @scrolltech ❤️ 2020-01-17 11:42:50 +01:00
ryanbliss
8ed2de71cd removed a semicolon that was causing a lint error 2020-01-06 15:13:20 -07:00
ryanbliss
18b6365308 render(h) function support for TodoItem 2020-01-06 15:04:55 -07:00
Philipp Kühn
ee0750f128 update prosemirror dependencies 2019-12-19 21:49:17 +01:00
Philipp Kühn
48c7d4bb98 refactoring 2019-12-16 23:51:18 +01:00
Philipp Kühn
60e31655a2 add cypress demo tests 2019-12-16 23:30:41 +01:00
Philipp Kühn
3b291c3a3c add extension class 2019-12-16 23:20:05 +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
6f1aedb2b2 add insertHTML command 2019-12-14 23:54:20 +01:00
Philipp Kühn
90f86bafbb add some tests 2019-12-08 00:16:44 +01:00
Philipp Kühn
d8fe4ee3f8 add dynamic alias 2019-12-07 22:23:49 +01:00
Philipp Kühn
f9c7066302 initial commit 2019-12-07 21:02:22 +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
03c7b4470d update dev dependencies 2019-12-02 22:36:42 +01:00
Philipp Kühn
6054944066 update yarn lock 2019-12-02 22:34:17 +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
Philipp Kühn
93f83e6279
Merge pull request #533 from iliyaZelenko/patch-4
Remove redundant escape character for regexp
2019-12-02 22:22:15 +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
Philipp Kühn
3a0be198db
update example 2019-10-24 16:47:07 +02: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
d99c883f8f update lock file 2019-10-17 22:55:17 +02:00
Philipp Kühn
292f09659f update devdependencies 2019-10-17 22:46:32 +02:00