You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
785 B
JavaScript
21 lines
785 B
JavaScript
(function ($) {
|
|
"use strict";
|
|
|
|
$(".html-editor-cm")[0] && $(".html-editor-cm").summernote({
|
|
height: 335
|
|
}),
|
|
$(".html-editor")[0] && $(".html-editor").summernote({
|
|
height: 150
|
|
}), $(".html-editor-click")[0] && ($("body").on("click", ".hec-button", function() {
|
|
$(".html-editor-click").summernote({
|
|
focus: !0
|
|
}), $(".hec-save").show()
|
|
}), $("body").on("click", ".hec-save", function() {
|
|
$(".html-editor-click").code(), $(".html-editor-click").destroy(), $(".hec-save").hide(), notify("Content Saved Successfully!", "success")
|
|
})), $(".html-editor-airmod")[0] && $(".html-editor-airmod").summernote({
|
|
airMode: !0
|
|
});
|
|
|
|
|
|
|
|
})(jQuery);
|