Commit Graph

1131 Commits

Author SHA1 Message Date
Philipp Kühn
9f5512f45a Merge branch 'master' of https://github.com/scrumpy/tiptap 2020-04-22 19:02:37 +02:00
Philipp Kühn
e9abea0626 fix #666 2020-04-22 19:02:34 +02:00
Philipp Kühn
1ac9912a3d
Merge pull request #673 from mekery/quasar-tiptap
Add related projects - quasar-tiptap
2020-04-18 15:50:20 +02:00
Micle Bu
a1696599eb docs(readme): Related projects: quasar-tiptap 2020-04-18 21:03:54 +08:00
Philipp Kühn
2a6c6f1034
update codesandbox link 2020-04-17 13:28:12 +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
0228001aa4 replace keyCode with key, fix #661 2020-04-11 00:12:19 +02:00
Philipp Kühn
5cb2bfeacc fix code styling 2020-04-10 20:47:42 +02:00
Philipp Kühn
e5be8bd1a6 update dependencies 2020-04-10 20:08:24 +02:00
Philipp Kühn
7d2c2225bc detroy tippy before destroy 2020-04-10 19:59:02 +02:00
Philipp Kühn
c55f710250 refactoring 2020-04-10 14:05:01 +02:00
Philipp Kühn
e419b6cedf update lock file 2020-04-10 14:00:43 +02:00
Philipp Kühn
17579656c2
Merge pull request #655 from gambolputty/master
Make suggestions work with tippy.js v6
2020-04-10 13:58:46 +02:00
Philipp Kühn
99bf58e9de
Merge branch 'master' into master 2020-04-10 13:58:29 +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
Gregor Weichbrodt
abecec452c make tippy update itself when content changes via sticky plugin 2020-04-05 14:13:37 +02: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
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
Philipp Kühn
6d9c878b46
Merge pull request #603 from BrianHung/updateExtension
Allow extensions to define update behavior.
2020-04-01 20:27:37 +02:00
Philipp Kühn
ba11bb93e0
Merge pull request #605 from scriptcoded/master
Added node components props to readme
2020-04-01 20:25:44 +02:00
bepsvpt
e4a20be5c7
set capture to true for mousedown event listener 2020-03-30 16:50:28 +08:00
Gregor Weichbrodt
cf5dc9685b upgraded to tippy.js v6 2020-03-28 20:18:14 +01:00
Hans Pagel
d4d070ae7a
add tiptap-svelte 2020-03-27 10:23:26 +01:00
Nisar Hassan Naqvi
6e29f02f79 simplifies code contributions by fully automating the dev setup with gitpod. 2020-03-16 12:13:46 +00:00
Philipp Kühn
850f65c885
Merge pull request #631 from Leecason/leecason/element-tiptap
add element-tiptap to the README
2020-03-15 09:33:26 +01:00
leecason
a42d3cfab9 add element-tiptap to the README 2020-03-14 22:41:01 +08: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