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
Димитър Илков
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
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
Илья
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
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
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
Philipp Kühn
c3ab421aaa
Merge pull request #478 from chrisjbrown/fix/menu-bubble-hide
...
fix(menu-bubble-hide): only send hide update, target not child of editor
2019-10-03 11:46:26 +02:00
Christopher Brown
cfa506e89e
refactor(menu-bubble-hide): break conditional to multiple lines
2019-10-03 11:01:22 +02:00
Christopher Brown
527a7443f1
fix(menu-bubble-hide): only send hide update, target not child of editor
2019-10-03 10:51:08 +02:00
Chrissi2812
8cce2508a9
set selection to first cell after table insert
...
fixes #447
2019-10-02 15:47:41 +02:00
Billy Lam
d84059ede4
Allow selection mutation events for leaf node views
2019-10-01 10:58:54 +13:00
Philipp Kühn
01493e825b
Publish
...
- tiptap-commands@1.12.0
- tiptap-extensions@1.28.0
- tiptap-utils@1.8.0
- tiptap@1.26.0
2019-09-27 11:12:28 +02:00
Philipp Kühn
29d53ce231
update dependencies
2019-09-27 09:53:13 +02:00
Ryan McKay-Fleming
c9b7d0a839
Allow for MenuBubbles appearing below the selection
2019-09-24 14:07:32 -04:00
Salem Nzeukwu
a9db2b2a51
Add/emit show/hide events in EditorFloatingMenu component
2019-08-31 00:31:21 +01:00
Philipp Kühn
2f5c50297b
Publish
...
- tiptap-commands@1.11.0
- tiptap-extensions@1.27.0
- tiptap-utils@1.7.0
- tiptap@1.25.0
2019-08-20 16:25:50 +02:00
Philipp Kühn
80638e2b99
fix autofocus, fix #429
2019-08-20 16:00:41 +02:00
Philipp Kühn
0c3a8d3888
update dependencies
2019-08-20 15:55:21 +02:00
Philipp Kühn
49eceb1704
Publish
...
- tiptap-extensions@1.26.2
- tiptap@1.24.2
2019-08-13 15:08:18 +02:00
Philipp Kühn
fabb6124cf
add setSelection method
2019-08-13 15:07:36 +02:00
Philipp Kühn
d5c08c8876
Publish
...
- tiptap-commands@1.10.12
- tiptap-extensions@1.26.1
- tiptap-utils@1.6.1
- tiptap@1.24.1
2019-08-07 12:22:13 +02:00
Philipp Kühn
28d325c696
update dependencies
2019-08-07 12:21:01 +02:00
Philipp Kühn
de29399e1c
Merge branch 'master' of https://github.com/scrumpy/tiptap
2019-08-07 12:19:02 +02:00
Philipp Kühn
15fcb3cd1a
add menubar plugin
2019-08-07 12:18:58 +02:00
Philipp Kühn
b8d23e7e30
Merge pull request #419 from rmckayfleming/set-selection
...
Allow Extensions to redefine the behaviour of setSelection
2019-08-07 12:10:46 +02:00
Ryan McKay-Fleming
dad0d074aa
Allow the extension to redefine the behaviour of setSelection
2019-08-01 17:10:11 -04:00
Philipp Kühn
8b94b43919
fix default selection
2019-07-31 11:09:18 +02:00
Philipp Kühn
1a80978d0f
Publish
...
- tiptap-extensions@1.26.0
- tiptap@1.24.0
2019-07-31 10:15:39 +02:00
Philipp Kühn
c991e1f017
add focus extension
2019-07-31 10:10:40 +02:00
Philipp Kühn
ae33e76feb
add focus transaction
2019-07-31 10:10:34 +02:00
Philipp Kühn
1a6e826ae1
Publish
...
- tiptap-extensions@1.25.1
- tiptap@1.23.6
2019-07-25 11:44:40 +02:00
Philipp Kühn
6408653d4c
fix focus issue, fix #404
2019-07-25 11:42:26 +02:00
Philipp Kühn
3e75703200
improve focus handling again
2019-07-25 11:31:06 +02:00
Philipp Kühn
e200c719d1
Publish
...
- tiptap-commands@1.10.11
- tiptap-extensions@1.25.0
- tiptap-utils@1.6.0
- tiptap@1.23.5
2019-07-23 19:53:50 +02:00
Philipp Kühn
c4632739bf
remove heading from default trailingnode config
2019-07-23 19:51:28 +02:00
Philipp Kühn
cf4efcbac7
codestyle
2019-07-23 19:50:02 +02:00
Philipp Kühn
48cc408a97
add TrailingNode extension
2019-07-23 18:30:59 +02:00
Philipp Kühn
6049b5a318
add nodeEqualsType util
2019-07-23 18:30:25 +02:00
Philipp Kühn
f13e767518
refactoring
2019-07-23 18:30:00 +02:00
Philipp Kühn
282647d33d
Publish
...
- tiptap-extensions@1.24.4
- tiptap@1.23.4
2019-07-23 13:15:02 +02:00
Philipp Kühn
a1ae06320a
check for copy and cut event
2019-07-23 13:14:11 +02:00
Philipp Kühn
7c7d2c6e19
add mod-y also for mac, fix #396
2019-07-22 17:43:35 +02:00
Philipp Kühn
afd959be6c
Publish
...
- tiptap-commands@1.10.10
- tiptap-extensions@1.24.3
- tiptap-utils@1.5.8
- tiptap@1.23.3
2019-07-19 23:49:21 +02:00
Philipp Kühn
526f11363d
update dependencies
2019-07-19 23:48:00 +02:00
Philipp Kühn
3fee68b692
prevent error in bubble menu, fix #386
2019-07-19 23:46:44 +02:00
Philipp Kühn
81d4333bec
fix focus, fix #389
2019-07-19 23:19:46 +02:00
Philipp Kühn
136ed30529
Publish
...
- tiptap-extensions@1.24.2
- tiptap@1.23.2
2019-07-11 23:46:26 +02:00
Philipp Kühn
305ebc490f
dispatch event for setContent instead of creating a new state
2019-07-11 23:45:22 +02:00
Philipp Kühn
8c5926e7c7
Publish
...
- tiptap-commands@1.10.9
- tiptap-extensions@1.24.1
- tiptap-utils@1.5.7
- tiptap@1.23.1
2019-07-10 09:27:54 +02:00
Philipp Kühn
df29153dba
Merge pull request #382 from Aaron3/patch-1
...
Switch check from !isMac to isWindows for specificity.
2019-07-10 09:26:11 +02:00
Philipp Kühn
db34efbc56
Merge pull request #376 from murata0705/master
...
Handle composition state in MenuBubble
2019-07-10 09:23:44 +02:00
Philipp Kühn
34f4ac75a9
update dependencies
2019-07-10 08:46:10 +02:00
Aaron
8c9676402b
Switch check from !isMac to isWindows for specificity.
...
Only Windows uses Mod+y, this avoids adding the shortcut to other operating systems (such as Linux or iOS).
This adds better support for spoofed user-agents when testing mobile sites on desktop devices.
You could also add `|| /Pocket/.test(navigator.platform)` but it really is optional
2019-07-10 09:25:25 +03:00
murata0705
f527e8535d
fix lint error
2019-07-05 10:16:28 +09:00
murata0705
a7f4ee7dab
Add composing handler to Menu class
2019-07-05 09:44:06 +09:00
Philipp Kühn
92b2f8a4ad
Publish
...
- tiptap-extensions@1.24.0
- tiptap@1.23.0
2019-06-27 22:33:06 +02:00
Philipp Kühn
5dd7301e62
add support for a custom drag handle for node views
2019-06-27 22:32:20 +02:00
Philipp Kühn
06fc195909
fix a visual selection bug
2019-06-27 22:29:28 +02:00