Alexander Stephan
26e6f8deca
Improve formatting features in the editor ( #7104 )
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-03-16 09:46:07 +00:00
Robin
225581de6a
Don't escape pasted text ( #8014 )
...
Signed-off-by: Robin Townsend <robin@robin.town>
2022-03-10 08:30:43 -05:00
Šimon Brandner
df591ee835
Make everything use the KeyBindingManager
( #7907 )
2022-02-28 16:05:52 +00:00
Šimon Brandner
a17d585a12
Work towards unifying KeyboardShortcuts
and KeyBindingsDefaults
#2 ( #7674 )
2022-01-31 15:55:45 +00:00
Michael Telatynski
b7099f84c3
Translate keyboard shortcut alternate key names ( #7633 )
2022-01-26 10:15:06 +00:00
Robin
6806c2cdca
Enlarge emoji in composer ( #7602 )
2022-01-24 12:53:05 +00:00
Michael Telatynski
9fd933a0b6
Don't send typing notification when restoring composer draft ( #7477 )
2022-01-07 11:15:20 +00:00
Aaron Raimist
7b94e13a84
Merge branch 'develop' into sort-imports
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 08:34:20 +00:00
Germain
df032b04e0
Disable typing notifications for threads ( #7180 )
2021-11-23 08:25:58 +00:00
Aaron Raimist
f3867ad0a9
Merge branch 'develop' into sort-imports
2021-10-27 21:50:56 -05:00
Rafael Gonçalves
a1029df901
Add history entry before completing emoji ( #7007 )
...
Signed-off-by: Rafael Goncalves <rafaelgoncalves@riseup.net>
2021-10-25 14:21:59 -06:00
Šimon Brandner
ceb4c7e368
Add insert link button to the format bar ( #5879 )
2021-10-25 10:56:55 +01:00
Aaron Raimist
bdc56be863
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-10-22 17:23:37 -05:00
Dariusz Niemczyk
5e73a212f4
Replace console.error with logger.error
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-18 14:08:23 +02:00
Šimon Brandner
bce4d44d0d
Revert Firefox composer delation hacks
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-20 17:32:54 +02:00
Šimon Brandner
4eda5b186a
Handle MacOS option key
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-19 07:37:25 +02:00
Šimon Brandner
649b655a48
Don't fake deletion when CTRL is pressed
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-18 20:43:23 +02:00
Šimon Brandner
36decbb6dd
Fix pill deletion on FF 78
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-17 19:25:28 +02:00
Šimon Brandner
a5ee20febf
Simplifie code
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-16 21:04:55 +02:00
Šimon Brandner
f4f40ce558
Fix code to move end of range more simply and safely
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-16 21:02:28 +02:00
Šimon Brandner
fd022310b3
Merge remote-tracking branch 'upstream/develop' into fix/end-of-line-emoji
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-11 10:21:56 +02:00
Michael Telatynski
f53eb4eeed
Fix tab trapping behaviour
2021-08-12 11:27:34 +01:00
Michael Telatynski
f9527c9d6b
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/composer-list-autocomplete
...
Conflicts:
src/components/views/rooms/BasicMessageComposer.tsx
src/editor/autocomplete.ts
2021-08-12 11:21:20 +01:00
Šimon Brandner
ccaa69b25b
Remove unnecessary code
...
This somehow doesn't seem to be neccessary anymore, I don't really know why but everything seems to work without it
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-12 08:53:42 +02:00
Travis Ralston
a149108a7d
Merge pull request #6353 from SimonBrandner/feature/improved-composer
...
Improve handling of pills in the composer
2021-08-11 10:55:13 -06:00
Šimon Brandner
4f0c800cad
Merge remote-tracking branch 'upstream/develop' into feature/improved-composer
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 07:45:17 +02:00
Travis Ralston
fea30e5f5f
Fix disabled state for voice messages + send button tooltip
...
Fixes https://github.com/vector-im/element-web/issues/18413
2021-08-05 12:38:15 -06:00
Šimon Brandner
621aee6f9a
Merge remote-tracking branch 'upstream/develop' into feature-surround-with
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-20 13:21:52 +02:00
Michael Telatynski
de88a39604
delint and improve ts
2021-07-15 10:09:24 +01:00
Michael Telatynski
ebfe38dc4a
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/composer-list-autocomplete
...
Conflicts:
src/components/views/rooms/BasicMessageComposer.tsx
src/editor/autocomplete.ts
2021-07-15 09:59:40 +01:00
Michael Telatynski
51f0f5718a
improve types
2021-07-12 13:26:34 +01:00
Šimon Brandner
069c1f4665
Make code a bit cleaner
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-12 12:52:05 +02:00
Šimon Brandner
780f9b6add
Handle pill deletion
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-12 09:29:41 +02:00
Michael Telatynski
5d1a1b46f3
Fix instances of the Edit Message Composer's save button being wrongly disabled
2021-07-01 23:48:52 +01:00
Michael Telatynski
e768ecb3d0
Typescript conversion of Composer components and more
2021-06-30 13:01:26 +01:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Šimon Brandner
d7b10e2ff4
Simplifie code
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-21 17:26:06 +02:00
Šimon Brandner
3e97847e7d
Get selection range only if necessary
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-20 08:47:21 +02:00
Šimon Brandner
a772460f63
Simplifie surround with and make it more extensible
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-20 08:38:01 +02:00
Šimon Brandner
38c0cd2716
Cache surroundWith setting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-20 08:21:33 +02:00
Šimon Brandner
686e7d18c3
Merge remote-tracking branch 'upstream/develop' into feature-surround-with
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-20 08:14:12 +02:00
Michael Telatynski
264ab925cd
delint
2021-05-26 14:21:28 +01:00
Michael Telatynski
1ffbaee560
update style of imports in all modified files
2021-05-26 14:14:55 +01:00
Michael Telatynski
a757f589bd
post-merge fixup
2021-05-24 21:57:59 +01:00
Michael Telatynski
d8acc0612a
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/12740
...
Conflicts:
src/components/views/rooms/EditMessageComposer.js
src/components/views/rooms/SendMessageComposer.js
2021-05-24 21:57:38 +01:00
Michael Telatynski
28eaac0ef8
remove dead code and fix some types
2021-05-20 22:25:19 +01:00
Michael Telatynski
60e7089c77
post-merge fixes, the new keybindings stuff made it messy
2021-05-11 11:14:21 +01:00
Michael Telatynski
60d3da2441
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/composer-list-autocomplete
...
Conflicts:
src/components/structures/LoggedInView.tsx
src/components/views/rooms/BasicMessageComposer.tsx
src/editor/autocomplete.ts
2021-05-11 10:59:22 +01:00
Šimon Brandner
d36f8ccb95
Rename moveStart to moveStartForwards
...
So it it's clear what it does
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-18 10:18:49 +02:00
Šimon Brandner
609196a240
Replace emoticon before a newline
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-18 10:13:51 +02:00