Skip to content

Commit

Permalink
Table popup hide on click on page and everything except table button …
Browse files Browse the repository at this point in the history
…and its children fixes publiclab#750
  • Loading branch information
RaviAnand111 committed Jan 21, 2022
1 parent 6e8fbbb commit 9ba2fe4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions dist/PublicLab.Editor.js
Expand Up @@ -22758,12 +22758,7 @@ module.exports = function CustomInsert(_module, wysiwyg) {
}
});
const builder = require("./PublicLab.CustomInsert.Template.js");
$('.wk-commands').append('<button class="woofmark-command-insert btn btn-outline-secondary" data-toggle="insert" title="Custom Insert"><i class="fa fa-tags"></i></button>');

$(document).ready(function() {
$('[data-toggle="insert"]').tooltip();
});

$('.wk-commands').append('<a class="woofmark-command-insert btn btn-outline-secondary" data-toggle="insert" title="Custom Insert"><i class="fa fa-tags"></i></a>');
var Option1 = "Notes";
var Option2 = "List";
$('.woofmark-command-insert').attr('data-content', builder);
Expand Down

0 comments on commit 9ba2fe4

Please sign in to comment.