You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
don't accept @/#/: as part of command, allow to create pill candidate
so if you type these 3 characters, you get the correct autocomplete
This commit is contained in:
@@ -465,10 +465,6 @@ export class CommandPartCreator extends PartCreator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class CommandPart extends PillCandidatePart {
|
class CommandPart extends PillCandidatePart {
|
||||||
acceptsInsertion(chr, i) {
|
|
||||||
return PlainPart.prototype.acceptsInsertion.call(this, chr, i);
|
|
||||||
}
|
|
||||||
|
|
||||||
get type() {
|
get type() {
|
||||||
return "command";
|
return "command";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user