classify admin
This commit is contained in:
20
public/assets/js/pages/summernote.js
Normal file
20
public/assets/js/pages/summernote.js
Normal file
@@ -0,0 +1,20 @@
|
||||
$("#summernote").summernote({
|
||||
tabsize: 2,
|
||||
height: 120,
|
||||
})
|
||||
$("#hint").summernote({
|
||||
height: 100,
|
||||
toolbar: false,
|
||||
placeholder: "type with apple, orange, watermelon and lemon",
|
||||
hint: {
|
||||
words: ["apple", "orange", "watermelon", "lemon"],
|
||||
match: /\b(\w{1,})$/,
|
||||
search: function (keyword, callback) {
|
||||
callback(
|
||||
$.grep(this.words, function (item) {
|
||||
return item.indexOf(keyword) === 0
|
||||
})
|
||||
)
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user