Add theme assets;
This commit is contained in:
14
public/assets/js/easymde.js
Normal file
14
public/assets/js/easymde.js
Normal file
@@ -0,0 +1,14 @@
|
||||
// npm package: easymde
|
||||
// github link: https://github.com/Ionaru/easy-markdown-editor
|
||||
|
||||
$(function() {
|
||||
'use strict';
|
||||
|
||||
/*easymde editor*/
|
||||
if ($("#easyMdeExample").length) {
|
||||
var easymde = new EasyMDE({
|
||||
element: $("#easyMdeExample")[0]
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
Reference in New Issue
Block a user