From 00d81eece924c95d9850a55c27cf5ecf6c6194d7 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 2 Sep 2019 11:26:20 +0200 Subject: [PATCH] don't accept @/#/: as part of command, allow to create pill candidate so if you type these 3 characters, you get the correct autocomplete --- src/editor/parts.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/editor/parts.js b/src/editor/parts.js index d14fcf98a2..9ca9205bcd 100644 --- a/src/editor/parts.js +++ b/src/editor/parts.js @@ -465,10 +465,6 @@ export class CommandPartCreator extends PartCreator { } class CommandPart extends PillCandidatePart { - acceptsInsertion(chr, i) { - return PlainPart.prototype.acceptsInsertion.call(this, chr, i); - } - get type() { return "command"; }