Commit Graph

6372 Commits

Author SHA1 Message Date
Philipp Kühn
b08e77b1fe add unregisterPlugin 2020-04-10 22:55:14 +02:00
Philipp Kühn
42a8f46011 add removeMarks command 2020-04-10 22:34:49 +02:00
Philipp Kühn
bd4fe7e5e3 rename some vars 2020-04-10 22:07:27 +02:00
Philipp Kühn
4932488942 change text 2020-04-10 21:46:51 +02:00
Philipp Kühn
2111b04a01 add registerPlugin method 2020-04-10 21:43:23 +02:00
Philipp Kühn
00a6143e89 refactoring 2020-04-10 21:37:57 +02:00
Philipp Kühn
9a52e3f78e update dependencies 2020-04-10 21:36:39 +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
c27ebe8473 add commands to extension manager 2020-04-02 14:34:07 +02:00
Philipp Kühn
748131637c fix focus 2020-04-02 13:56:20 +02:00
Philipp Kühn
2ef2b09c0d add keys to history 2020-04-02 13:36:18 +02:00
Philipp Kühn
7710859f38 add code extension 2020-04-02 13:26:56 +02:00
Philipp Kühn
d356d47db1 fix code block marks 2020-04-02 12:42:02 +02:00
Philipp Kühn
434d77a664 add verbal expressions 2020-04-02 12:41:52 +02:00
Philipp Kühn
a914786f46 move some code to extension manager 2020-04-02 09:42:26 +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
Philipp Kühn
72cd81640e refactoring 2020-04-02 08:58:28 +02:00
Philipp Kühn
28d5ae094b add basic inputrules and pasterules 2020-04-02 08:53:59 +02:00
Daniel
91f75e5305 Re: #451, remove menu event handlers on destroy 2020-04-01 19:34:27 -05:00
Philipp Kühn
b85df2b4c1 refactoring 2020-04-01 21:41:53 +02:00
Philipp Kühn
dc98409bab add custom event emitter 2020-04-01 21:15:23 +02: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
Philipp Kühn
c60ad0f107 improve schema types 2020-03-31 22:57:39 +02:00
Philipp Kühn
208ba890ef add extension keymaps 2020-03-31 22:17:54 +02:00
Philipp Kühn
94349015ec add basic tab 2020-03-31 19:26:34 +02:00
Philipp Kühn
19adfe3a6c fix 2020-03-31 13:07:57 +02:00
Philipp Kühn
d869847da1 remove styling on destroy 2020-03-31 13:06:34 +02:00
Philipp Kühn
c9bcb49788 refactoring 2020-03-31 12:58:54 +02:00
Philipp Kühn
6f3d3901ce change isActive 2020-03-31 12:53:52 +02:00
Philipp Kühn
13cb03f93b fix bold 2020-03-31 00:07:18 +02:00
Philipp Kühn
68badb77b2 add italic 2020-03-31 00:07:12 +02:00
Philipp Kühn
7aa173f45a refactoring 2020-03-30 14:49:48 +02:00
Philipp Kühn
1bc75751b3 check active nodes 2020-03-30 14:42:10 +02:00
Philipp Kühn
dde047687a fix bug 2020-03-30 13:09:08 +02:00