mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-15 09:46:06 +01:00
added markdown editor
This commit is contained in:
18
themes/grav/js/admin-all.js
Normal file
18
themes/grav/js/admin-all.js
Normal file
@@ -0,0 +1,18 @@
|
||||
$(function()
|
||||
{
|
||||
// selectize
|
||||
$('select.fancy').selectize({
|
||||
createOnBlur: true
|
||||
});
|
||||
|
||||
$('input.fancy').selectize({
|
||||
delimiter: ',',
|
||||
persist: false,
|
||||
create: function(input) {
|
||||
return {
|
||||
value: input,
|
||||
text: input
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user