Enh: Added editor instance as env within registerMarkdownIt

This commit is contained in:
buddh4 2019-12-06 14:08:48 +01:00
parent bb99b12a38
commit ad65f4b12c

View File

@ -9,6 +9,8 @@ humhub.module('ui.gallery', function (module, require, $) {
$(document).on('click.humhub:ui:gallery', '[data-ui-gallery]', function (evt) {
var $this = $(this);
debugger;
if($this.is('img') && $this.closest('a').length) {
return;
}