mirror of https://github.com/status-im/codimd.git
Fix missing type declaration in text complete strategy
This commit is contained in:
parent
8cfbfa4352
commit
0a3baec5b6
|
@ -3953,7 +3953,7 @@ $(editor.getInputField())
|
||||||
match: /(?:^|\n|\s)(\>.*|\s|)((\^|)\[(\^|)\](\[\]|\(\)|\:|)\s*\w*)$/,
|
match: /(?:^|\n|\s)(\>.*|\s|)((\^|)\[(\^|)\](\[\]|\(\)|\:|)\s*\w*)$/,
|
||||||
search: function (term, callback) {
|
search: function (term, callback) {
|
||||||
var line = editor.getLine(editor.getCursor().line);
|
var line = editor.getLine(editor.getCursor().line);
|
||||||
quote = line.match(this.match)[1].trim();
|
var quote = line.match(this.match)[1].trim();
|
||||||
var list = [];
|
var list = [];
|
||||||
if (quote.indexOf('>') == 0) {
|
if (quote.indexOf('>') == 0) {
|
||||||
$.map(supportExtraTags, function (extratag) {
|
$.map(supportExtraTags, function (extratag) {
|
||||||
|
|
Loading…
Reference in New Issue