diff --git a/bower.json b/bower.json index 545d0f638..263f832b5 100644 --- a/bower.json +++ b/bower.json @@ -22,7 +22,7 @@ ], "dependencies": { "jquery": ">=1.9.0", - "medium-editor": "~2.3.0", + "medium-editor": "~2.4.0", "handlebars": "~2.0.0", "blueimp-file-upload": "~9.9.0", "jquery-sortable": "~0.9.12" diff --git a/dist/css/medium-editor-insert-plugin.css b/dist/css/medium-editor-insert-plugin.css index b646c3898..a92b8054f 100644 --- a/dist/css/medium-editor-insert-plugin.css +++ b/dist/css/medium-editor-insert-plugin.css @@ -120,7 +120,7 @@ .medium-insert-images .dragged, .mediumInsert .dragged { position: absolute; top: 0; - opacity: 0.5; + opacity: .5; z-index: 2000; } .medium-insert-images .placeholder, .mediumInsert .placeholder { position: relative; diff --git a/dist/js/medium-editor-insert-plugin.js b/dist/js/medium-editor-insert-plugin.js index afae1e53a..fa57f332e 100644 --- a/dist/js/medium-editor-insert-plugin.js +++ b/dist/js/medium-editor-insert-plugin.js @@ -24,14 +24,10 @@ this["MediumInsert"]["Templates"]["src/js/templates/core-buttons.hbs"] = Handleb return buffer + " \n\n"; },"useData":true}); - - this["MediumInsert"]["Templates"]["src/js/templates/core-empty-line.hbs"] = Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { return "


\n"; },"useData":true}); - - this["MediumInsert"]["Templates"]["src/js/templates/embeds-placeholder.hbs"] = Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; return "
" @@ -39,8 +35,6 @@ this["MediumInsert"]["Templates"]["src/js/templates/embeds-placeholder.hbs"] = H + "
"; },"useData":true}); - - this["MediumInsert"]["Templates"]["src/js/templates/embeds-wrapper.hbs"] = Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, buffer = "
"; stack1 = ((helper = (helper = helpers.html || (depth0 != null ? depth0.html : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"html","hash":{},"data":data}) : helper)); @@ -48,14 +42,10 @@ this["MediumInsert"]["Templates"]["src/js/templates/embeds-wrapper.hbs"] = Handl return buffer + "
"; },"useData":true}); - - this["MediumInsert"]["Templates"]["src/js/templates/images-fileupload.hbs"] = Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { return ""; },"useData":true}); - - this["MediumInsert"]["Templates"]["src/js/templates/images-image.hbs"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { return "
\n"; },"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { @@ -67,14 +57,10 @@ this["MediumInsert"]["Templates"]["src/js/templates/images-image.hbs"] = Handleb return buffer + ""; },"useData":true}); - - this["MediumInsert"]["Templates"]["src/js/templates/images-progressbar.hbs"] = Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { return "0"; },"useData":true}); - - this["MediumInsert"]["Templates"]["src/js/templates/images-toolbar.hbs"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { var stack1, buffer = ""; stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.label : depth0), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data}); diff --git a/package.json b/package.json index 94be2d2cc..380d801e5 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "grunt-contrib-watch": "~0.6.1", "grunt-contrib-concat": "^0.4.0", "grunt-autoprefixer": "^2.1.0", - "grunt-sass": "~0.17.0", + "grunt-sass": "~0.18.0", "grunt-csso": "^0.7.0", "grunt-banner": "^0.2.3", "grunt-contrib-handlebars": "^0.9.1" diff --git a/src/js/templates.js b/src/js/templates.js index 8361f5421..f3774f8ce 100644 --- a/src/js/templates.js +++ b/src/js/templates.js @@ -15,14 +15,10 @@ this["MediumInsert"]["Templates"]["src/js/templates/core-buttons.hbs"] = Handleb return buffer + " \n\n"; },"useData":true}); - - this["MediumInsert"]["Templates"]["src/js/templates/core-empty-line.hbs"] = Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { return "


\n"; },"useData":true}); - - this["MediumInsert"]["Templates"]["src/js/templates/embeds-placeholder.hbs"] = Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { var helper, functionType="function", helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression; return "
" @@ -30,8 +26,6 @@ this["MediumInsert"]["Templates"]["src/js/templates/embeds-placeholder.hbs"] = H + "
"; },"useData":true}); - - this["MediumInsert"]["Templates"]["src/js/templates/embeds-wrapper.hbs"] = Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { var stack1, helper, functionType="function", helperMissing=helpers.helperMissing, buffer = "
"; stack1 = ((helper = (helper = helpers.html || (depth0 != null ? depth0.html : depth0)) != null ? helper : helperMissing),(typeof helper === functionType ? helper.call(depth0, {"name":"html","hash":{},"data":data}) : helper)); @@ -39,14 +33,10 @@ this["MediumInsert"]["Templates"]["src/js/templates/embeds-wrapper.hbs"] = Handl return buffer + "
"; },"useData":true}); - - this["MediumInsert"]["Templates"]["src/js/templates/images-fileupload.hbs"] = Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { return ""; },"useData":true}); - - this["MediumInsert"]["Templates"]["src/js/templates/images-image.hbs"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { return "
\n"; },"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { @@ -58,14 +48,10 @@ this["MediumInsert"]["Templates"]["src/js/templates/images-image.hbs"] = Handleb return buffer + ""; },"useData":true}); - - this["MediumInsert"]["Templates"]["src/js/templates/images-progressbar.hbs"] = Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) { return "0"; },"useData":true}); - - this["MediumInsert"]["Templates"]["src/js/templates/images-toolbar.hbs"] = Handlebars.template({"1":function(depth0,helpers,partials,data) { var stack1, buffer = ""; stack1 = helpers['if'].call(depth0, (depth0 != null ? depth0.label : depth0), {"name":"if","hash":{},"fn":this.program(2, data),"inverse":this.noop,"data":data});