diff --git a/dist/PublicLab.Editor.js b/dist/PublicLab.Editor.js index 96f208b0..51d89573 100644 --- a/dist/PublicLab.Editor.js +++ b/dist/PublicLab.Editor.js @@ -22654,7 +22654,7 @@ module.exports = { },{}],185:[function(require,module,exports){ var builder = ''; builder += '
'; builder += ''; builder += ''; -builder += ''; +builder += ''; builder += ''; builder += '
'; module.exports = builder; @@ -22754,7 +22754,7 @@ module.exports = function CustomInsert(_module, wysiwyg) { } }); const builder = require("./PublicLab.CustomInsert.Template.js"); - $('.wk-commands').append('
'); + $('.wk-commands').append(''); var Option1 = "Notes"; var Option2 = "List"; $('.woofmark-command-insert').attr('data-content', builder); @@ -22825,10 +22825,10 @@ module.exports = PublicLab.MainImageModule = PublicLab.Module.extend({ _module.image.onload = function() { var heightDropdown = this.height; var widthDropdown = this.width; - if (this.width > 340) { - var aspectRatio = this.width / 340; - widthDropdown = 340; - heightDropdown = this.height / aspectRatio; + if (this.height > 180) { + var aspectRatio = this.height / 180; + widthDropdown = this.width / aspectRatio; ; + heightDropdown = 180; } _module.dropEl.css('height', heightDropdown); _module.dropEl.css('width', widthDropdown); @@ -23110,7 +23110,7 @@ module.exports = function initAutoCenter(_module, wysiwyg) { // $('.woofmark-mode-markdown').removeClass('disabled') // create a menu option for auto center: - $('.wk-commands').append(''); + $('.wk-commands').append(''); // since chunk.selection returns null for images $(document).ready(function() { @@ -23243,7 +23243,7 @@ module.exports = function initAutoCenter(_module, wysiwyg) { module.exports = function initEmbed(_module, wysiwyg) { // create a menu option for embeds: - $('.wk-commands').append(''); + $('.wk-commands').append(''); $(document).ready(function() { $('[data-toggle="youtube"]').tooltip(); @@ -23274,7 +23274,7 @@ module.exports = function initEmbed(_module, wysiwyg) { module.exports = function initHorizontalRule(_module, wysiwyg) { // create a menu option for horizontal rules: - $('.wk-commands').append(''); + $('.wk-commands').append(''); $(document).ready(function() { $('[data-toggle="horizontal"]').tooltip(); @@ -23334,17 +23334,17 @@ module.exports = function initTables(_module, wysiwyg) { // create a submenu for sizing tables - $('.wk-commands').append(''); + $('.wk-commands').append(''); $(document).ready(function() { $('[data-toggle="table"]').tooltip(); }); var builder = '
'; - builder += ' 4 '; + builder += ' 4 '; builder += ' x '; - builder += ' 3 '; - builder += ' Add'; + builder += ' 3 '; + builder += ' Add'; builder += '
'; $('.woofmark-command-table').attr('data-content', builder); @@ -23422,7 +23422,7 @@ module.exports = PublicLab.RichTextModule = PublicLab.Module.extend({ icon: "clock-o", position: 90, text: - "Your work is auto-saved so you can return to it in this browser. To recover drafts, open the menu below." + "Your work is auto-saved so you can return to it in this browser. To recover drafts, open the menu below." } ]; @@ -23882,7 +23882,7 @@ module.exports = function relatedNodes(module) { relatedEl.find('.result').remove(); relatedResults.slice(0, 8).forEach(function(result) { - relatedEl.append('
Add by
'); + relatedEl.append('
Add by
'); relatedEl.find('.result-' + result.id + ' .title').html(result.title); relatedEl.find('.result-' + result.id + ' .title').attr('href', result.url); relatedEl.find('.result-' + result.id + ' .author').html('@' + result.author); @@ -24017,7 +24017,7 @@ module.exports = PublicLab.TitleModule = PublicLab.Module.extend({ _module.menuEl = _module.el.find('.ple-menu-more'); // a "more tools" menu, not currently used: - // _module.menuEl.append('...'); + // _module.menuEl.append('...'); $(_module.el).find('input').keydown(function(e) { _editor.validate(); diff --git a/examples/index.html b/examples/index.html index 925ceae2..c6845a82 100644 --- a/examples/index.html +++ b/examples/index.html @@ -72,7 +72,6 @@

Share

-