Philipp Kühn
c11605bc55
add buttons
2020-04-16 20:50:20 +02:00
Philipp Kühn
fa1c61ebbc
render tiptap in react
2020-04-16 20:03:15 +02:00
Philipp Kühn
0676d67dbf
add basic react setup
2020-04-16 19:13:21 +02:00
Philipp Kühn
34b8f18a57
fix some types
2020-04-14 10:13:27 +02:00
Philipp Kühn
aa557af648
enable type check for js files
2020-04-13 23:35:18 +02:00
Philipp Kühn
e4a329670a
fix types
2020-04-13 23:35:11 +02:00
Philipp Kühn
b47f3f499b
fix bug
2020-04-13 22:33:43 +02:00
Philipp Kühn
280730b261
add history option interface
2020-04-13 22:32:39 +02:00
Philipp Kühn
186654df5f
add historyPluginOptions
2020-04-13 14:03:39 +02:00
Philipp Kühn
925215367d
refactoring
2020-04-13 13:58:30 +02:00
Philipp Kühn
ca16a31e75
revert some magic
2020-04-13 12:27:29 +02:00
Philipp Kühn
e03d108423
add shortform to keys
2020-04-13 00:16:12 +02:00
Philipp Kühn
f29b39238b
refactoring
2020-04-12 23:47:24 +02:00
Philipp Kühn
56beb707ab
refactoring
2020-04-12 23:42:51 +02:00
Philipp Kühn
83ce601621
add handlePlugins option to registerPlugin
2020-04-12 20:17:56 +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
1bb9864db8
add element option
2020-04-11 14:33:58 +02:00
Philipp Kühn
1e7231286d
fix bug
2020-04-11 14:17:31 +02:00
Philipp Kühn
9c4b63f008
fix getNodeAttrs
2020-04-11 13:05:28 +02: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
303f6b55fe
add getNodeAttrs
2020-04-11 11:45:41 +02:00
Philipp Kühn
0228001aa4
replace keyCode with key, fix #661
2020-04-11 00:12:19 +02:00
Philipp Kühn
bb742c1db2
remove injectCSS
2020-04-10 23:09:31 +02:00
Philipp Kühn
8da3b61d46
refactoring
2020-04-10 22:59:09 +02:00
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