mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
contenteditable false on the inserted links
This commit is contained in:
parent
daf6684c9c
commit
c148f36c4d
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user