Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
admpub committed Nov 18, 2024
1 parent 1d73a11 commit 83c0067
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions public/assets/backend/js/editor/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ App.editor.ueditor = function (editorElement, uploadUrl, options) {
$(editorElement).data('editor-object', editor);
};
*/

// =================================================================
// editormd
// =================================================================
Expand Down Expand Up @@ -1151,6 +1152,13 @@ App.editor.popup = function(elem,options){
$(elem).magnificPopup($.extend(defaults, options||{}));
});
};
App.editor.galleryPopup = function(elem,options){
var defaults={
closeBtnInside: false,
gallery: {enabled: true, navigateByImgClick: true}
};
App.editor.popup(elem,$.extend(defaults,options||{}));
};
App.editor.inputmask = function(elem,options) {
App.loader.defined(typeof ($.fn.inputmask), 'inputmask',function(){
$(elem).inputmask(options);
Expand Down
Loading

0 comments on commit 83c0067

Please sign in to comment.