contenteditable false on the inserted links

This commit is contained in:
Andrew Brown 2019-04-10 00:41:53 -05:00
parent daf6684c9c
commit c148f36c4d

View File

@ -186,7 +186,7 @@
],
selectTemplate: function (item) {
// We're overriding the default here so we don't prepend a @
return '<span class="' + item.original.color + '-text">' + item.original.value + '</span>';
return '<span class="' + item.original.color + '-text" contenteditable="false">' + item.original.value + '</span>';
},
menuItemTemplate: function (item) {
return '<i class="material-icons right ' + item.original.color + '-text">' + item.original.icon + '</i>' + item.string;