mapPlaceholderToSuggestion method added. see #553
This commit is contained in:
parent
5468928673
commit
385241efb3
1 changed files with 8 additions and 1 deletions
|
|
@ -573,6 +573,13 @@ export const placeholdersUtils = {
|
|||
return '';
|
||||
}
|
||||
return element;
|
||||
}
|
||||
},
|
||||
|
||||
mapPlaceholderToSuggestion(p) {
|
||||
return {
|
||||
command: '{%' + p.id + '%}',
|
||||
type: p.type
|
||||
};
|
||||
},
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue