From 3f2bd1f991ff7ee65220328c54910b15e4b62b7b Mon Sep 17 00:00:00 2001 From: Jjoye Date: Fri, 24 Nov 2017 11:15:05 +0100 Subject: [PATCH] Chrome-Fix --- dist/langs/fr.js | 2 +- dist/plugins/fontcolor.js | 2 +- dist/plugins/limiter.js | 2 +- dist/plugins/table.js | 2 +- dist/plugins/textexpander.js | 2 +- dist/redactor.css | 2 +- dist/redactor.js | 11 +++++------ src/redactor.js | 6 +++++- 8 files changed, 16 insertions(+), 13 deletions(-) diff --git a/dist/langs/fr.js b/dist/langs/fr.js index 19a218e..1fca693 100644 --- a/dist/langs/fr.js +++ b/dist/langs/fr.js @@ -1 +1 @@ -!function(e){e.Redactor.opts.langs.fr={html:"Code HTML",video:"Insérer une vidéo...",image:"Insérer une image...",table:"Tableau",link:"Lien",link_insert:"Insérer un lien...",link_edit:"Modifier le lien",unlink:"Supprimer le lien",formatting:"Styles",paragraph:"Paragraphe",quote:"Citation",code:"Code",header1:"Titre 1",header2:"Titre 2",header3:"Titre 3",header4:"Titre 4",header5:"Titre 5",bold:"Gras",italic:"Italique",fontcolor:"Couleur du texte",backcolor:"Couleur d'arrière plan du texte",unorderedlist:"Liste à puces",orderedlist:"Liste numérotée",outdent:"Diminuer le retrait",indent:"Augmenter le retrait",cancel:"Annuler",insert:"Insérer",save:"Enregistrer",_delete:"Supprimer",insert_table:"Insérer un tableau...",insert_row_above:"Ajouter une rangée au-dessus",insert_row_below:"Ajouter une rangée en-dessous",insert_column_left:"Ajouter une colonne à gauche",insert_column_right:"Ajouter une colonne à droite",delete_column:"Supprimer la colonne",delete_row:"Supprimer la rangée",delete_table:"Supprimer le tableau",rows:"Rangées",columns:"Colonnes",add_head:"Ajouter un en-tête",delete_head:"Supprimer l'en-tête",title:"Titre",image_position:"Position",none:"Aucun",left:"Gauche",right:"Droite",image_web_link:"Adresse URL de l'image",text:"Texte",mailto:"Courriel",web:"Adresse URL",video_html_code:"Code d'intégration du video",file:"Insérer un fichier...",upload:"Téléverser",download:"Télécharger",choose:"Choisir",or_choose:"Ou choisissez",drop_file_here:"Déposez le fichier ici",align_left:"Aligner à gauche",align_center:"Aligner au centre",align_right:"Aligner à droite",align_justify:"Justifier",horizontalrule:"Insérer une ligne horizontale",deleted:"Supprimé",anchor:"Ancre",link_new_tab:"Ouvrir le lien dans un nouvel onglet",underline:"Souligner",alignment:"Alignement",filename:"Nom de fichier (optionnel)",edit:"Edit",center:"Center",upload_label:"Déposez le fichier ici ou "}}(jQuery); +!function(e){e.Redactor.opts.langs.fr={html:"Code HTML",video:"Insérer une vidéo...",image:"Insérer une image...",table:"Tableau",link:"Lien",link_insert:"Insérer un lien...",link_edit:"Modifier le lien",unlink:"Supprimer le lien",formatting:"Styles",paragraph:"Paragraphe",quote:"Citation",code:"Code",header1:"Titre 1",header2:"Titre 2",header3:"Titre 3",header4:"Titre 4",header5:"Titre 5",bold:"Gras",italic:"Italique",fontcolor:"Couleur du texte",backcolor:"Couleur d'arrière plan du texte",unorderedlist:"Liste à puces",orderedlist:"Liste numérotée",outdent:"Diminuer le retrait",indent:"Augmenter le retrait",cancel:"Annuler",insert:"Insérer",save:"Enregistrer",_delete:"Supprimer",insert_table:"Insérer un tableau...",insert_row_above:"Ajouter une rangée au-dessus",insert_row_below:"Ajouter une rangée en-dessous",insert_column_left:"Ajouter une colonne à gauche",insert_column_right:"Ajouter une colonne à droite",delete_column:"Supprimer la colonne",delete_row:"Supprimer la rangée",delete_table:"Supprimer le tableau",rows:"Rangées",columns:"Colonnes",add_head:"Ajouter un en-tête",delete_head:"Supprimer l'en-tête",title:"Titre",image_position:"Position",none:"Aucun",left:"Gauche",right:"Droite",image_web_link:"Adresse URL de l'image",text:"Texte",mailto:"Courriel",web:"Adresse URL",video_html_code:"Code d'intégration du video",file:"Insérer un fichier...",upload:"Téléverser",download:"Télécharger",choose:"Choisir",or_choose:"Ou choisissez",drop_file_here:"Déposez le fichier ici",align_left:"Aligner à gauche",align_center:"Aligner au centre",align_right:"Aligner à droite",align_justify:"Justifier",horizontalrule:"Insérer une ligne horizontale",deleted:"Supprimé",anchor:"Ancre",link_new_tab:"Ouvrir le lien dans un nouvel onglet",underline:"Souligner",alignment:"Alignement",filename:"Nom de fichier (optionnel)",edit:"Edit",center:"Center",upload_label:"Déposez le fichier ici ou "}}(jQuery); \ No newline at end of file diff --git a/dist/plugins/fontcolor.js b/dist/plugins/fontcolor.js index 3711f16..32f7a21 100755 --- a/dist/plugins/fontcolor.js +++ b/dist/plugins/fontcolor.js @@ -1 +1 @@ -!function(f){f.Redactor.prototype.fontcolor=function(){return{init:function(){for(var f=["#ffffff","#000000","#eeece1","#1f497d","#4f81bd","#c0504d","#9bbb59","#8064a2","#4bacc6","#f79646","#ffff00","#f2f2f2","#7f7f7f","#ddd9c3","#c6d9f0","#dbe5f1","#f2dcdb","#ebf1dd","#e5e0ec","#dbeef3","#fdeada","#fff2ca","#d8d8d8","#595959","#c4bd97","#8db3e2","#b8cce4","#e5b9b7","#d7e3bc","#ccc1d9","#b7dde8","#fbd5b5","#ffe694","#bfbfbf","#3f3f3f","#938953","#548dd4","#95b3d7","#d99694","#c3d69b","#b2a2c7","#b7dde8","#fac08f","#f2c314","#a5a5a5","#262626","#494429","#17365d","#366092","#953734","#76923c","#5f497a","#92cddc","#e36c09","#c09100","#7f7f7f","#0c0c0c","#1d1b10","#0f243e","#244061","#632423","#4f6128","#3f3151","#31859b","#974806","#7f6000"],e=["fontcolor","backcolor"],t=0;2>t;t++){var c=e[t],d=this.button.add(c,this.lang.get(c)),o=this.button.addDropdown(d);o.width(242),this.fontcolor.buildPicker(o,c,f)}},buildPicker:function(e,t,c){for(var d="backcolor"==t?"background-color":"color",o=c.length,n=this,a=function(e){e.preventDefault(),n.fontcolor.set(f(this).data("rule"),f(this).attr("rel"))},r=0;o>r;r++){var i=c[r],b=f('');b.css("background-color",i),b.on("click",a),e.append(b)}var l=f('').html(this.lang.get("none"));l.on("click",f.proxy(function(f){f.preventDefault(),this.fontcolor.remove(d)},this)),e.append(l)},set:function(f,e){this.inline.format("span","style",f+": "+e+";")},remove:function(f){this.inline.removeStyleRule(f)}}}}(jQuery); \ No newline at end of file +!function(f){f.Redactor.prototype.fontcolor=function(){return{init:function(){for(var f=["#ffffff","#000000","#eeece1","#1f497d","#4f81bd","#c0504d","#9bbb59","#8064a2","#4bacc6","#f79646","#ffff00","#f2f2f2","#7f7f7f","#ddd9c3","#c6d9f0","#dbe5f1","#f2dcdb","#ebf1dd","#e5e0ec","#dbeef3","#fdeada","#fff2ca","#d8d8d8","#595959","#c4bd97","#8db3e2","#b8cce4","#e5b9b7","#d7e3bc","#ccc1d9","#b7dde8","#fbd5b5","#ffe694","#bfbfbf","#3f3f3f","#938953","#548dd4","#95b3d7","#d99694","#c3d69b","#b2a2c7","#b7dde8","#fac08f","#f2c314","#a5a5a5","#262626","#494429","#17365d","#366092","#953734","#76923c","#5f497a","#92cddc","#e36c09","#c09100","#7f7f7f","#0c0c0c","#1d1b10","#0f243e","#244061","#632423","#4f6128","#3f3151","#31859b","#974806","#7f6000"],e=["fontcolor","backcolor"],t=0;t<2;t++){var c=e[t],d=this.button.add(c,this.lang.get(c)),o=this.button.addDropdown(d);o.width(242),this.fontcolor.buildPicker(o,c,f)}},buildPicker:function(e,t,c){for(var d="backcolor"==t?"background-color":"color",o=c.length,n=this,a=function(e){e.preventDefault(),n.fontcolor.set(f(this).data("rule"),f(this).attr("rel"))},r=0;r');b.css("background-color",i),b.on("click",a),e.append(b)}var l=f('').html(this.lang.get("none"));l.on("click",f.proxy(function(f){f.preventDefault(),this.fontcolor.remove(d)},this)),e.append(l)},set:function(f,e){this.inline.format("span","style",f+": "+e+";")},remove:function(f){this.inline.removeStyleRule(f)}}}}(jQuery); \ No newline at end of file diff --git a/dist/plugins/limiter.js b/dist/plugins/limiter.js index 58c54c2..81f0be6 100755 --- a/dist/plugins/limiter.js +++ b/dist/plugins/limiter.js @@ -1 +1 @@ -!function(t){t.Redactor.prototype.limiter=function(){return{init:function(){this.opts.limiter&&this.$editor.on("keydown.redactor-limiter",t.proxy(function(t){var i=t.which,e=t.ctrlKey||t.metaKey;if(!(i==this.keyCode.BACKSPACE||i==this.keyCode.DELETE||i==this.keyCode.ESC||i==this.keyCode.SHIFT||e&&65==i||e&&82==i||e&&116==i)){var o=this.$editor.text().length;return o>=this.opts.limiter?!1:void 0}},this))}}}}(jQuery); \ No newline at end of file +!function(t){t.Redactor.prototype.limiter=function(){return{init:function(){this.opts.limiter&&this.$editor.on("keydown.redactor-limiter",t.proxy(function(t){var i=t.which,e=t.ctrlKey||t.metaKey;if(!(i==this.keyCode.BACKSPACE||i==this.keyCode.DELETE||i==this.keyCode.ESC||i==this.keyCode.SHIFT||e&&65==i||e&&82==i||e&&116==i)){var o=this.$editor.text().length;return!(o>=this.opts.limiter)&&void 0}},this))}}}}(jQuery); \ No newline at end of file diff --git a/dist/plugins/table.js b/dist/plugins/table.js index 488ab89..b4726aa 100755 --- a/dist/plugins/table.js +++ b/dist/plugins/table.js @@ -1 +1 @@ -!function(e){e.Redactor.prototype.table=function(){return{getTemplate:function(){return String()+'
'},init:function(){var e={};e.insert_table={title:this.lang.get("insert_table"),func:this.table.show,observe:{element:"table","in":{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.insert_row_above={title:this.lang.get("insert_row_above"),func:this.table.addRowAbove,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.insert_row_below={title:this.lang.get("insert_row_below"),func:this.table.addRowBelow,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.insert_column_left={title:this.lang.get("insert_column_left"),func:this.table.addColumnLeft,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.insert_column_right={title:this.lang.get("insert_column_right"),func:this.table.addColumnRight,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.add_head={title:this.lang.get("add_head"),func:this.table.addHead,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.delete_head={title:this.lang.get("delete_head"),func:this.table.deleteHead,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.delete_column={title:this.lang.get("delete_column"),func:this.table.deleteColumn,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.delete_row={title:this.lang.get("delete_row"),func:this.table.deleteRow,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.delete_table={title:this.lang.get("delete_table"),func:this.table.deleteTable,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},this.observe.addButton("td","table"),this.observe.addButton("th","table");var t=this.button.addBefore("link","table",this.lang.get("table"));this.button.addDropdown(t,e)},show:function(){this.modal.addTemplate("table",this.table.getTemplate()),this.modal.load("table",this.lang.get("insert_table"),300),this.modal.createCancelButton();var t=this.modal.createActionButton(this.lang.get("insert"));t.on("click",this.table.insert),this.selection.save(),this.modal.show(),e("#redactor-table-rows").focus()},insert:function(){this.placeholder.remove();var t,a,i,l,s=e("#redactor-table-rows").val(),r=e("#redactor-table-columns").val(),n=e("
"),o=Math.floor(99999*Math.random()),d=e('
');for(t=0;s>t;t++){for(a=e(""),i=0;r>i;i++)l=e(""+this.opts.invisibleSpace+""),0===t&&0===i&&l.append(this.selection.getMarker()),e(a).append(l);d.append(a)}n.append(d);var h=n.html();if(this.modal.close(),this.selection.restore(),!this.table.getTable()){this.buffer.set();var c=this.selection.getBlock()||this.selection.getCurrent();c&&"BODY"!=c.tagName?("LI"==c.tagName&&(c=e(c).closest("ul, ol")),e(c).after(h)):this.insert.html(h,!1),this.selection.restore();var b=this.$editor.find("#table"+o),f=b.prev("p");if(f.length>0&&this.utils.isEmpty(f.html())&&f.remove(),!this.opts.linebreaks&&(this.utils.browser("mozilla")||this.utils.browser("msie"))){var u=b.next();0===u.length&&b.after(this.opts.emptyHtml)}this.observe.buttons(),b.find("span.redactor-selection-marker").remove(),b.removeAttr("id"),this.code.sync(),this.core.setCallback("insertedTable",b)}},getTable:function(){var t=e(this.selection.getParent()).closest("table");return this.utils.isRedactorParent(t)?0===t.size()?!1:t:!1},restoreAfterDelete:function(e){this.selection.restore(),e.find("span.redactor-selection-marker").remove(),this.code.sync()},deleteTable:function(){var e=this.table.getTable();if(e){this.buffer.set();var t=e.next();this.opts.linebreaks||0===t.length?this.caret.setAfter(e):this.caret.setStart(t),e.remove(),this.code.sync()}},deleteRow:function(){var t=this.table.getTable();if(t){var a=e(this.selection.getCurrent());this.buffer.set();var i=a.closest("tr"),l=i.prev().length?i.prev():i.next();if(l.length){var s=l.children("td, th").first();s.length&&s.prepend(this.selection.getMarker())}i.remove(),this.table.restoreAfterDelete(t)}},deleteColumn:function(){var t=this.table.getTable();if(t){this.buffer.set();var a=e(this.selection.getCurrent()),i=a.closest("td, th"),l=i[0].cellIndex;t.find("tr").each(e.proxy(function(t,a){var i=e(a),s=0>l-1?l+1:l-1;0===t&&i.find("td, th").eq(s).prepend(this.selection.getMarker()),i.find("td, th").eq(l).remove()},this)),this.table.restoreAfterDelete(t)}},addHead:function(){var t=this.table.getTable();if(t){if(this.buffer.set(),0!==t.find("thead").size())return void this.table.deleteHead();var a=t.find("tr").first().clone();a.find("td").replaceWith(e.proxy(function(){return e("").html(this.opts.invisibleSpace)},this)),$thead=e("").append(a),t.prepend($thead),this.code.sync()}},deleteHead:function(){var e=this.table.getTable();if(e){var t=e.find("thead");0!==t.size()&&(this.buffer.set(),t.remove(),this.code.sync())}},addRowAbove:function(){this.table.addRow("before")},addRowBelow:function(){this.table.addRow("after")},addColumnLeft:function(){this.table.addColumn("before")},addColumnRight:function(){this.table.addColumn("after")},addRow:function(t){var a=this.table.getTable();if(a){this.buffer.set();var i=e(this.selection.getCurrent()),l=i.closest("tr"),s=l.clone();s.find("th").replaceWith(function(){var t=e("");return t[0].attributes=this.attributes,t.append(e(this).contents())}),s.find("td").html(this.opts.invisibleSpace),"after"==t?l.after(s):l.before(s),this.code.sync()}},addColumn:function(t){var a=this.table.getTable();if(a){var i=0,l=e(this.selection.getCurrent());this.buffer.set();var s=l.closest("tr"),r=l.closest("td, th");s.find("td, th").each(e.proxy(function(t,a){e(a)[0]===r[0]&&(i=t)},this)),a.find("tr").each(e.proxy(function(a,l){var s=e(l).find("td, th").eq(i),r=s.clone();r.html(this.opts.invisibleSpace),"after"==t?s.after(r):s.before(r)},this)),this.code.sync()}}}}}(jQuery); \ No newline at end of file +!function(e){e.Redactor.prototype.table=function(){return{getTemplate:function(){return String()+'
'},init:function(){var e={};e.insert_table={title:this.lang.get("insert_table"),func:this.table.show,observe:{element:"table","in":{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.insert_row_above={title:this.lang.get("insert_row_above"),func:this.table.addRowAbove,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.insert_row_below={title:this.lang.get("insert_row_below"),func:this.table.addRowBelow,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.insert_column_left={title:this.lang.get("insert_column_left"),func:this.table.addColumnLeft,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.insert_column_right={title:this.lang.get("insert_column_right"),func:this.table.addColumnRight,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.add_head={title:this.lang.get("add_head"),func:this.table.addHead,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.delete_head={title:this.lang.get("delete_head"),func:this.table.deleteHead,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.delete_column={title:this.lang.get("delete_column"),func:this.table.deleteColumn,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.delete_row={title:this.lang.get("delete_row"),func:this.table.deleteRow,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},e.delete_table={title:this.lang.get("delete_table"),func:this.table.deleteTable,observe:{element:"table",out:{attr:{"class":"redactor-dropdown-link-inactive","aria-disabled":!0}}}},this.observe.addButton("td","table"),this.observe.addButton("th","table");var t=this.button.addBefore("link","table",this.lang.get("table"));this.button.addDropdown(t,e)},show:function(){this.modal.addTemplate("table",this.table.getTemplate()),this.modal.load("table",this.lang.get("insert_table"),300),this.modal.createCancelButton();var t=this.modal.createActionButton(this.lang.get("insert"));t.on("click",this.table.insert),this.selection.save(),this.modal.show(),e("#redactor-table-rows").focus()},insert:function(){this.placeholder.remove();var t,a,i,l,s=e("#redactor-table-rows").val(),r=e("#redactor-table-columns").val(),n=e("
"),o=Math.floor(99999*Math.random()),d=e('
');for(t=0;t"),i=0;i"+this.opts.invisibleSpace+""),0===t&&0===i&&l.append(this.selection.getMarker()),e(a).append(l);d.append(a)}n.append(d);var h=n.html();if(this.modal.close(),this.selection.restore(),!this.table.getTable()){this.buffer.set();var c=this.selection.getBlock()||this.selection.getCurrent();c&&"BODY"!=c.tagName?("LI"==c.tagName&&(c=e(c).closest("ul, ol")),e(c).after(h)):this.insert.html(h,!1),this.selection.restore();var b=this.$editor.find("#table"+o),f=b.prev("p");if(f.length>0&&this.utils.isEmpty(f.html())&&f.remove(),!this.opts.linebreaks&&(this.utils.browser("mozilla")||this.utils.browser("msie"))){var u=b.next();0===u.length&&b.after(this.opts.emptyHtml)}this.observe.buttons(),b.find("span.redactor-selection-marker").remove(),b.removeAttr("id"),this.code.sync(),this.core.setCallback("insertedTable",b)}},getTable:function(){var t=e(this.selection.getParent()).closest("table");return!!this.utils.isRedactorParent(t)&&(0!==t.size()&&t)},restoreAfterDelete:function(e){this.selection.restore(),e.find("span.redactor-selection-marker").remove(),this.code.sync()},deleteTable:function(){var e=this.table.getTable();if(e){this.buffer.set();var t=e.next();this.opts.linebreaks||0===t.length?this.caret.setAfter(e):this.caret.setStart(t),e.remove(),this.code.sync()}},deleteRow:function(){var t=this.table.getTable();if(t){var a=e(this.selection.getCurrent());this.buffer.set();var i=a.closest("tr"),l=i.prev().length?i.prev():i.next();if(l.length){var s=l.children("td, th").first();s.length&&s.prepend(this.selection.getMarker())}i.remove(),this.table.restoreAfterDelete(t)}},deleteColumn:function(){var t=this.table.getTable();if(t){this.buffer.set();var a=e(this.selection.getCurrent()),i=a.closest("td, th"),l=i[0].cellIndex;t.find("tr").each(e.proxy(function(t,a){var i=e(a),s=l-1<0?l+1:l-1;0===t&&i.find("td, th").eq(s).prepend(this.selection.getMarker()),i.find("td, th").eq(l).remove()},this)),this.table.restoreAfterDelete(t)}},addHead:function(){var t=this.table.getTable();if(t){if(this.buffer.set(),0!==t.find("thead").size())return void this.table.deleteHead();var a=t.find("tr").first().clone();a.find("td").replaceWith(e.proxy(function(){return e("").html(this.opts.invisibleSpace)},this)),$thead=e("").append(a),t.prepend($thead),this.code.sync()}},deleteHead:function(){var e=this.table.getTable();if(e){var t=e.find("thead");0!==t.size()&&(this.buffer.set(),t.remove(),this.code.sync())}},addRowAbove:function(){this.table.addRow("before")},addRowBelow:function(){this.table.addRow("after")},addColumnLeft:function(){this.table.addColumn("before")},addColumnRight:function(){this.table.addColumn("after")},addRow:function(t){var a=this.table.getTable();if(a){this.buffer.set();var i=e(this.selection.getCurrent()),l=i.closest("tr"),s=l.clone();s.find("th").replaceWith(function(){var t=e("");return t[0].attributes=this.attributes,t.append(e(this).contents())}),s.find("td").html(this.opts.invisibleSpace),"after"==t?l.after(s):l.before(s),this.code.sync()}},addColumn:function(t){var a=this.table.getTable();if(a){var i=0,l=e(this.selection.getCurrent());this.buffer.set();var s=l.closest("tr"),r=l.closest("td, th");s.find("td, th").each(e.proxy(function(t,a){e(a)[0]===r[0]&&(i=t)},this)),a.find("tr").each(e.proxy(function(a,l){var s=e(l).find("td, th").eq(i),r=s.clone();r.html(this.opts.invisibleSpace),"after"==t?s.after(r):s.before(r)},this)),this.code.sync()}}}}}(jQuery); \ No newline at end of file diff --git a/dist/plugins/textexpander.js b/dist/plugins/textexpander.js index e96979d..c2916df 100755 --- a/dist/plugins/textexpander.js +++ b/dist/plugins/textexpander.js @@ -1 +1 @@ -!function(e){e.Redactor.prototype.textexpander=function(){return{init:function(){this.opts.textexpander&&this.$editor.on("keyup.redactor-limiter",e.proxy(function(t){var r=t.which;if(r==this.keyCode.SPACE){var n=this.textexpander.getCurrent(),o=e(n).clone(),i=e("
");i.html(o);var s=i.html();i.remove();for(var c=this.opts.textexpander.length,a=0,p=0;c>p;p++){var h=new RegExp(this.opts.textexpander[p][0]);if(-1!=s.search(h)){a++,s=s.replace(h,this.opts.textexpander[p][1]),i=e("
"),i.html(s),i.append(this.selection.getMarker());var l=i.html().replace(/ /,"");e(n).replaceWith(l),i.remove()}}0!==a&&this.selection.restore()}},this))},getCurrent:function(){var e;return window.getSelection?e=window.getSelection():document.selection&&"Control"!=document.selection.type&&(e=document.selection),this.utils.browser("mozilla")?e.anchorNode.previousSibling:e.anchorNode}}}}(jQuery); \ No newline at end of file +!function(e){e.Redactor.prototype.textexpander=function(){return{init:function(){this.opts.textexpander&&this.$editor.on("keyup.redactor-limiter",e.proxy(function(t){var r=t.which;if(r==this.keyCode.SPACE){var n=this.textexpander.getCurrent(),o=e(n).clone(),i=e("
");i.html(o);var s=i.html();i.remove();for(var c=this.opts.textexpander.length,a=0,p=0;p"),i.html(s),i.append(this.selection.getMarker());var l=i.html().replace(/ /,"");e(n).replaceWith(l),i.remove()}}0!==a&&this.selection.restore()}},this))},getCurrent:function(){var e;return window.getSelection?e=window.getSelection():document.selection&&"Control"!=document.selection.type&&(e=document.selection),this.utils.browser("mozilla")?e.anchorNode.previousSibling:e.anchorNode}}}}(jQuery); \ No newline at end of file diff --git a/dist/redactor.css b/dist/redactor.css index 853ac26..4b70d82 100755 --- a/dist/redactor.css +++ b/dist/redactor.css @@ -1 +1 @@ -@font-face{font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oJpAAAAAEAAAAkAJAACgAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAYAAAAAQAAAAAAAgAOAGoAAQAAAAAAAwAYAC4AAQAAAAAABAAYAHgAAQAAAAAABQAWABgAAQAAAAAABgAMAEYAAQAAAAAACgAoAJAAAwABBAkAAQAYAAAAAwABBAkAAgAOAGoAAwABBAkAAwAYAC4AAwABBAkABAAYAHgAAwABBAkABQAWABgAAwABBAkABgAYAFIAAwABBAkACgAoAJAAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHQAVgBlAHIAcwBpAG8AbgAgADEALgAwAFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0UmVkYWN0b3JGb250AFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0AFIAZQBnAHUAbABhAHIAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHQARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('truetype'),url(data:application/font-woff;charset=utf-8;base64,d09GRk9UVE8AABIoAAoAAAAAEeAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAADgEAAA4Bg0Rie09TLzIAAA74AAAAYAAAAGAIIvzVY21hcAAAD1gAAABMAAAATBpVzHZnYXNwAAAPpAAAAAgAAAAIAAAAEGhlYWQAAA+sAAAANgAAADYACVb9aGhlYQAAD+QAAAAkAAAAJAPhAgVobXR4AAAQCAAAAJAAAACQQQED3m1heHAAABCYAAAABgAAAAYAJFAAbmFtZQAAEKAAAAFmAAABZhHEcG1wb3N0AAASCAAAACAAAAAgAAMAAAEABAQAAQEBDVJlZGFjdG9yRm9udAABAgABADr4HAL4GwP4GAQeCgAZU/+Lix4KABlT/4uLDAeKZviU+HQFHQAAAT8PHQAAAUQRHQAAAAkdAAAN+BIAJQEBDRkbHSAlKi80OT5DSE1SV1xhZmtwdXp/hImO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gAOAGoAAwABBAkAAwAYAC4AAwABBAkABAAYAHgAAwABBAkABQAWABgAAwABBAkABgAYAFIAAwABBAkACgAoAJAAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHQAVgBlAHIAcwBpAG8AbgAgADEALgAwAFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0UmVkYWN0b3JGb250AFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0AFIAZQBnAHUAbABhAHIAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHQARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('woff');font-weight:400;font-style:normal}.redactor-box{position:relative;overflow:visible;margin-bottom:24px}.redactor-box textarea{display:block;position:relative;margin:0;padding:0;width:100%;overflow:auto;outline:none;border:none;background-color:#111;box-shadow:none;color:#ccc;font-size:13px;font-family:Menlo,Monaco,monospace,sans-serif!important;resize:none}.redactor-box textarea:focus{outline:none}.redactor-editor,.redactor-box{background:#fff}.redactor-editor,.redactor-box,.redactor-box textarea{z-index:auto}.redactor-box-fullscreen{z-index:1051}.redactor-toolbar{z-index:100}.redactor-dropdown{z-index:1052}#redactor-modal-overlay,#redactor-modal-box,#redactor-modal{z-index:1053}body .redactor-box-fullscreen{position:fixed;top:0;left:0;width:100%}.redactor-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.redactor-editor{position:relative;overflow:auto;margin:0!important;padding:20px;min-height:80px;outline:none;white-space:normal;border:1px solid #eee;font-family:Arial,Helvetica,Verdana,Tahoma,sans-serif!important;font-size:14px;line-height:1.6em}.redactor-editor:focus{outline:none}.toolbar-fixed-box+.redactor-editor{padding-top:32px!important}.redactor-placeholder:after{position:absolute;top:20px;left:20px;content:attr(placeholder);display:block;color:#999!important;font-weight:400!important}.redactor-toolbar{position:relative;top:0;left:0;margin:0!important;padding:0!important;list-style:none!important;font-size:14px!important;line-height:1!important;background:#fff;border:none;box-shadow:0 1px 2px rgba(0,0,0,.2)}.redactor-toolbar:after{content:"";display:table;clear:both}.redactor-toolbar.redactor-toolbar-overflow{overflow-y:auto;height:29px;white-space:nowrap}.redactor-toolbar.redactor-toolbar-external{z-index:999;box-shadow:none;border:1px solid rgba(0,0,0,.1)}.redactor-toolbar li{vertical-align:top;display:inline-block;margin:0!important;padding:0!important;outline:none;list-style:none!important;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.redactor-toolbar li a{display:block;color:#333;text-align:center;padding:9px 10px;outline:none;border:none;text-decoration:none;cursor:pointer;zoom:1;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.redactor-toolbar li a:hover{outline:none;background-color:#1f78d8;color:#fff}.redactor-toolbar li a:hover i:before{color:#fff}.redactor-toolbar li a:active,.redactor-toolbar li a.redactor-act{outline:none;background-color:#ccc;color:#444}.redactor-toolbar li a.redactor-btn-image{width:14px;height:14px;background-position:center center;background-repeat:no-repeat}.redactor-toolbar li a.fa-redactor-btn{display:inline-block;padding:9px 10px 8px 10px;line-height:1}.redactor-toolbar li a.redactor-button-disabled{filter:alpha(opacity=30);-moz-opacity:.3;opacity:.3}.redactor-toolbar li a.redactor-button-disabled:hover{color:#333;outline:none;background-color:transparent!important;cursor:default}.redactor-toolbar li a.redactor-button-focus{color:#fff;background:#000}.redactor-box .CodeMirror{display:none}.re-icon{font-family:'RedactorFont';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.re-icon i:before{position:relative;font-size:14px}.re-video:before{content:"\e600"}.re-unorderedlist:before{content:"\e601"}.re-undo:before{content:"\e602"}.re-underline:before{content:"\e603"}.re-textdirection:before{content:"\e604"}.re-fontcolor:before{content:"\e605"}.re-table:before{content:"\e606"}.re-redo:before{content:"\e607"}.re-quote:before{content:"\e608"}.re-outdent:before{content:"\e609"}.re-orderedlist:before{content:"\e60a"}.re-link:before{content:"\e60b"}.re-horizontalrule:before{content:"\e60c"}.re-italic:before{content:"\e60d"}.re-indent:before{content:"\e60e"}.re-image:before{content:"\e60f"}.re-fullscreen:before{content:"\e610"}.re-normalscreen:before{content:"\e611"}.re-formatting:before{content:"\e612"}.re-fontsize:before{content:"\e613"}.re-fontfamily:before{content:"\e614"}.re-deleted:before{content:"\e615"}.re-html:before{content:"\e616"}.re-clips:before{content:"\e617"}.re-bold:before{content:"\e618"}.re-backcolor:before{content:"\e619"}.re-file:before{content:"\e61a"}.re-alignright:before{content:"\e61b"}.re-alignment:before,.re-alignleft:before{content:"\e61c"}.re-alignjustify:before{content:"\e61d"}.re-aligncenter:before{content:"\e61e"}.re-gallery:before{content:"\e61f"}.redactor-toolbar-tooltip{position:absolute;z-index:1054;text-align:center;top:0;left:0;background:#000;color:#fff;padding:5px 8px;line-height:1;font-family:Arial,Helvetica,Verdana,Tahoma,sans-serif!important;font-size:12px;border-radius:2px}.redactor-dropdown{position:absolute;top:28px;left:0;padding:0;min-width:220px;max-height:254px;overflow:auto;background-color:#fff;box-shadow:0 1px 7px rgba(0,0,0,.25);font-size:14px;font-family:Arial,Helvetica,Verdana,Tahoma,sans-serif!important;line-height:1.6em}.redactor-dropdown a{display:block;padding:10px 15px;color:#000;text-decoration:none;border-bottom:1px solid rgba(0,0,0,.07)}.redactor-dropdown a:last-child{border-bottom:none}.redactor-dropdown a:hover{background-color:#1f78d8;color:#fff!important;text-decoration:none}.redactor-dropdown a.selected{background-color:#000;color:#fff}.redactor-dropdown a.redactor-dropdown-link-inactive,.redactor-dropdown a.redactor-dropdown-link-inactive:hover{background:0 0;cursor:default;color:#000!important;filter:alpha(opacity=40);-moz-opacity:.4;opacity:.4}.redactor-dropdown a.redactor-dropdown-link-selected{color:#fff;background:#000}#redactor-image-box{position:relative;max-width:100%;display:inline-block;line-height:0;outline:1px dashed rgba(0,0,0,.6)}#redactor-image-editter{position:absolute;z-index:5;top:50%;left:50%;margin-top:-11px;margin-left:-18px;line-height:1;background-color:#000;color:#fff;font-size:11px;padding:7px 10px;cursor:pointer}#redactor-image-resizer{position:absolute;z-index:2;line-height:1;cursor:nw-resize;bottom:-4px;right:-5px;border:1px solid #fff;background-color:#000;width:8px;height:8px}.redactor-link-tooltip{position:absolute;z-index:99;padding:10px;line-height:1;display:inline-block;background-color:#000;color:#555!important}.redactor-link-tooltip,.redactor-link-tooltip a{font-size:12px;font-family:Arial,Helvetica,Verdana,Tahoma,sans-serif!important}.redactor-link-tooltip a{color:#ccc;margin:0 5px;text-decoration:none}.redactor-link-tooltip a:hover{color:#fff}#redactor-droparea{position:relative;overflow:hidden;padding:140px 20px;border:3px dashed rgba(0,0,0,.1)}#redactor-droparea.drag-hover{background:rgba(200,222,250,.75)}#redactor-droparea.drag-drop{background:rgba(250,248,200,.5)}#redactor-droparea-placeholder{text-align:center;font-size:12px;color:rgba(0,0,0,.7)}#redactor-progress{position:fixed;top:0;left:0;width:100%;z-index:1000000;height:10px}#redactor-progress span{display:block;width:100%;height:100%;background-color:#3d58a8;background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.2)25%,transparent 25%,transparent 50%,rgba(255,255,255,.2)50%,rgba(255,255,255,.2)75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.2)25%,transparent 25%,transparent 50%,rgba(255,255,255,.2)50%,rgba(255,255,255,.2)75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.2)25%,transparent 25%,transparent 50%,rgba(255,255,255,.2)50%,rgba(255,255,255,.2)75%,transparent 75%,transparent);-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite;background-size:40px 40px}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}#redactor-modal-overlay{position:fixed;top:0;left:0;margin:auto;overflow:auto;width:100%;height:100%;background-color:#000!important;filter:alpha(opacity=30);-moz-opacity:.3;opacity:.3}#redactor-modal-box{position:fixed;top:0;left:0;bottom:0;right:0;overflow-x:hidden;overflow-y:auto}#redactor-modal{outline:0;position:relative;margin:auto;margin-bottom:20px;padding:0;background:#fff;color:#000;font-size:14px!important;font-family:Arial,Helvetica,Verdana,Tahoma,sans-serif!important;box-shadow:0 1px 70px rgba(0,0,0,.5)}#redactor-modal header{padding:30px 40px 5px 40px;font-size:18px;font-weight:700}#redactor-modal section{padding:30px 40px 50px 40px}#redactor-modal label{display:block;float:none!important;margin:15px 0 3px 0!important;padding:0}#redactor-modal input[type="radio"],#redactor-modal input[type="checkbox"]{position:relative;top:-1px}#redactor-modal select{width:100%}#redactor-modal input[type="text"],#redactor-modal input[type="password"],#redactor-modal input[type="email"],#redactor-modal input[type="url"],#redactor-modal textarea{position:relative;z-index:2;margin:0;padding:5px 4px;height:28px;border:1px solid #ccc;border-radius:1px;background-color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2)inset;color:#333;width:100%;font-size:14px;font-family:Arial,Helvetica,Verdana,Tahoma,sans-serif!important;-moz-transition:border .3s ease-in;transition:border .3s ease-in}#redactor-modal input[type="text"]:focus,#redactor-modal input[type="password"]:focus,#redactor-modal input[type="email"]:focus,#redactor-modal input[type="url"]:focus,#redactor-modal textarea:focus{outline:none;border-color:#5ca9e4;box-shadow:0 0 0 2px rgba(70,161,231,.3),0 1px 2px rgba(0,0,0,.2)inset}#redactor-modal input[type="text"].redactor-input-error,#redactor-modal input[type="password"].redactor-input-error,#redactor-modal input[type="email"].redactor-input-error,#redactor-modal input[type="url"].redactor-input-error,#redactor-modal textarea.redactor-input-error{border-color:#e82f2f;box-shadow:0 0 0 2px rgba(232,47,47,.3),0 1px 2px rgba(0,0,0,.2)inset}#redactor-modal textarea{display:block;margin-top:4px;line-height:1.4em}#redactor-modal-tabber{margin-bottom:15px;font-size:12px}#redactor-modal-tabber a{border:1px solid #ddd;line-height:1;padding:8px 15px;margin-right:-1px;text-decoration:none;color:#000}#redactor-modal-tabber a:hover{background-color:#1f78d8;border-color:#1f78d8;color:#fff}#redactor-modal-tabber a.active{cursor:default;background-color:#ddd;border-color:#ddd;color:rgba(0,0,0,.6)}#redactor-modal #redactor-modal-list{margin-left:0;padding-left:0;list-style:none;max-height:250px;overflow-x:auto}#redactor-modal #redactor-modal-list li{border-bottom:1px solid #ddd}#redactor-modal #redactor-modal-list li:last-child{border-bottom:none}#redactor-modal #redactor-modal-list a{padding:10px 5px;color:#000;text-decoration:none;font-size:13px;display:block;position:relative}#redactor-modal #redactor-modal-list a:hover{background-color:#eee}#redactor-modal-close{position:absolute;top:10px;right:10px;width:30px;height:30px;text-align:right;color:#bbb;font-size:30px;font-weight:300;cursor:pointer;-webkit-appearance:none;padding:0;border:0;background:0;outline:none}#redactor-modal-close:hover{color:#000}#redactor-modal footer button{position:relative;width:100%;padding:14px 16px;margin:0;outline:none;border:none;background-color:#ddd;color:#000;text-align:center;text-decoration:none;font-weight:400;font-size:12px;font-family:Arial,Helvetica,Verdana,Tahoma,sans-serif!important;line-height:1;cursor:pointer}#redactor-modal footer button:hover{color:#777;background:0 0;background:#bbb;text-decoration:none}#redactor-modal footer button.redactor-modal-delete-btn{background:0 0;color:#fff;background-color:#b52525}#redactor-modal footer button.redactor-modal-delete-btn:hover{color:rgba(255,255,255,.6);background-color:#881b1b}#redactor-modal footer button.redactor-modal-action-btn{background:0 0;color:#fff;background-color:#2461b5}#redactor-modal footer button.redactor-modal-action-btn:hover{color:rgba(255,255,255,.6);background-color:#1a4580}.redactor-dropdown .redactor-formatting-blockquote{color:rgba(0,0,0,.4);font-style:italic}.redactor-dropdown .redactor-formatting-pre{font-family:monospace,sans-serif}.redactor-dropdown .redactor-formatting-h1{font-size:36px;line-height:36px;font-weight:700}.redactor-dropdown .redactor-formatting-h2{font-size:24px;line-height:36px;font-weight:700}.redactor-dropdown .redactor-formatting-h3{font-size:21px;line-height:30px;font-weight:700}.redactor-dropdown .redactor-formatting-h4{font-size:18px;line-height:26px;font-weight:700}.redactor-dropdown .redactor-formatting-h5{font-size:16px;line-height:23px;font-weight:700}.redactor-editor code,.redactor-editor pre{font-family:Menlo,Monaco,monospace,sans-serif!important;cursor:text}.redactor-editor div,.redactor-editor p,.redactor-editor ul,.redactor-editor ol,.redactor-editor table,.redactor-editor dl,.redactor-editor blockquote,.redactor-editor pre{font-size:14px;line-height:1.6em}.redactor-editor a{color:#15c;text-decoration:underline}.redactor-editor object,.redactor-editor embed,.redactor-editor video,.redactor-editor img{max-width:100%;width:auto}.redactor-editor video,.redactor-editor img{height:auto}.redactor-editor div,.redactor-editor p,.redactor-editor ul,.redactor-editor ol,.redactor-editor table,.redactor-editor dl,.redactor-editor figure,.redactor-editor blockquote,.redactor-editor pre{margin:0;margin-bottom:15px;border:none;background:0 0;box-shadow:none}.redactor-editor iframe,.redactor-editor object,.redactor-editor hr{margin-bottom:15px}.redactor-editor blockquote{margin-left:1.6em!important;padding:0;text-align:left;color:#777;font-style:italic}.redactor-editor blockquote:before,.redactor-editor blockquote:after{content:''}.redactor-editor ul,.redactor-editor ol{padding-left:2em}.redactor-editor ul ul,.redactor-editor ol ol,.redactor-editor ul ol,.redactor-editor ol ul{margin:2px;padding:0;padding-left:2em;border:none}.redactor-editor ol ol li{list-style-type:lower-alpha}.redactor-editor ol ol ol li{list-style-type:lower-roman}.redactor-editor dl dt{font-weight:700}.redactor-editor dd{margin-left:1em}.redactor-editor table{border-collapse:collapse;font-size:1em;width:100%}.redactor-editor table td,.redactor-editor table th{padding:5px;border:1px solid #ddd;vertical-align:top}.redactor-editor table thead td,.redactor-editor table th{font-weight:700;border-bottom-color:#888}.redactor-editor code{background-color:#d8d7d7}.redactor-editor pre{padding:1em;border:1px solid #ddd;border-radius:3px;background:#f8f8f8;font-size:90%}.redactor-editor hr{display:block;height:1px;border:0;border-top:1px solid #ccc}.redactor-editor h1,.redactor-editor h2,.redactor-editor h3,.redactor-editor h4,.redactor-editor h5,.redactor-editor h6{font-weight:700;color:#000;padding:0;background:0 0;text-rendering:optimizeLegibility;margin:0 0 .5em 0}.redactor-editor h1,.redactor-editor h2,.redactor-editor h3,.redactor-editor h4{line-height:1.3}.redactor-editor h1{font-size:36px}.redactor-editor h2{font-size:24px;margin-bottom:.7em}.redactor-editor h3{font-size:21px}.redactor-editor h4{font-size:18px}.redactor-editor h5{font-size:16px}.redactor-editor h6{font-size:12px;text-transform:uppercase} \ No newline at end of file +@font-face{font-family:'RedactorFont';src:url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggi/NUAAAC8AAAAYGNtYXAaVcx2AAABHAAAAExnYXNwAAAAEAAAAWgAAAAIZ2x5Zm8dIFkAAAFwAAATSGhlYWQACVb9AAAUuAAAADZoaGVhA+ECBQAAFPAAAAAkaG10eEEBA94AABUUAAAAkGxvY2FVlFE8AAAVpAAAAEptYXhwAC8AkgAAFfAAAAAgbmFtZRHEcG0AABYQAAABZnBvc3QAAwAAAAAXeAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADmHwHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEADgAAAAKAAgAAgACAAEAIOYf//3//wAAAAAAIOYA//3//wAB/+MaBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAwAAACUCAAGSAAQACQANAAA3EQURBQEFEQURATUXBwACAP4AAdv+SgG2/tySkiUBbgH+lAEBSgH+3AEBJv7/3G9sAAAGAAAASQIAAW4ABAAJAA4AEwAYAB0AABMhFSE1FSEVITUVIRUhNSczFSM1FTMVIzUVMxUjNZIBbv6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G4CAAAAAgAAbQIAAAACAAAJAgAASQIA//8CAAAAAgAAAAIAAAACAACSAgAAAAIAAAACAAAlAgAAAAIAAG4CAAAlAgAAJQIAAEkCAAAAAgAAAAIAAJMCAAAlAgAAQgIAAAACAAAAAgAAAAIAAAACAAAAAABQAAAkAAAAAAAOAK4AAQAAAAAAAQAYAAAAAQAAAAAAAgAOAGoAAQAAAAAAAwAYAC4AAQAAAAAABAAYAHgAAQAAAAAABQAWABgAAQAAAAAABgAMAEYAAQAAAAAACgAoAJAAAwABBAkAAQAYAAAAAwABBAkAAgAOAGoAAwABBAkAAwAYAC4AAwABBAkABAAYAHgAAwABBAkABQAWABgAAwABBAkABgAYAFIAAwABBAkACgAoAJAAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHQAVgBlAHIAcwBpAG8AbgAgADEALgAwAFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0UmVkYWN0b3JGb250AFIAZQBkAGEAYwB0AG8AcgBGAG8AbgB0AFIAZQBnAHUAbABhAHIAUgBlAGQAYQBjAHQAbwByAEYAbwBuAHQARwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format('woff');font-weight:400;font-style:normal}.redactor-box{position:relative;overflow:visible;margin-bottom:24px}.redactor-box textarea{display:block;position:relative;margin:0;padding:0;width:100%;overflow:auto;outline:none;border:none;background-color:#111;box-shadow:none;color:#ccc;font-size:13px;font-family:Menlo,Monaco,monospace,sans-serif!important;resize:none}.redactor-box textarea:focus,.redactor-editor:focus{outline:none}.redactor-box,.redactor-editor{background:#fff}.redactor-box,.redactor-box textarea,.redactor-editor{z-index:auto}.redactor-box-fullscreen{z-index:1051}.redactor-toolbar{z-index:100}.redactor-dropdown{z-index:1052}#redactor-modal,#redactor-modal-box,#redactor-modal-overlay{z-index:1053}body .redactor-box-fullscreen{position:fixed;top:0;left:0;width:100%}.redactor-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.redactor-editor,.redactor-toolbar{position:relative;margin:0!important}.redactor-editor{overflow:auto;min-height:80px;outline:none;white-space:normal;font-family:Arial,Helvetica,Verdana,Tahoma,sans-serif!important;padding:20px;border:1px solid #eee;font-size:14px;line-height:1.6em}.toolbar-fixed-box+.redactor-editor{padding-top:32px!important}.redactor-placeholder:after{position:absolute;top:20px;left:20px;content:attr(placeholder);display:block;color:#999!important;font-weight:400!important}.redactor-toolbar{top:0;left:0;padding:0!important;list-style:none!important;font-size:14px!important;line-height:1!important;background:#fff;border:none;box-shadow:0 1px 2px rgba(0,0,0,.2)}.redactor-toolbar:after{content:"";display:table;clear:both}.redactor-toolbar.redactor-toolbar-overflow{overflow-y:auto;height:29px;white-space:nowrap}.redactor-toolbar.redactor-toolbar-external{z-index:999;box-shadow:none;border:1px solid rgba(0,0,0,.1)}.redactor-toolbar li,.redactor-toolbar li a{outline:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.redactor-toolbar li{vertical-align:top;margin:0!important;padding:0!important;list-style:none!important;display:inline-block}.redactor-toolbar li a{display:block;color:#333;text-align:center;padding:9px 10px;border:none;text-decoration:none;cursor:pointer;zoom:1}.redactor-toolbar li a:hover{outline:none;background-color:#1f78d8;color:#fff}.redactor-toolbar li a:hover i:before{color:#fff}.redactor-toolbar li a.redactor-act,.redactor-toolbar li a:active{outline:none;background-color:#ccc;color:#444}.redactor-toolbar li a.redactor-btn-image{width:14px;height:14px;background-position:center center;background-repeat:no-repeat}.redactor-toolbar li a.fa-redactor-btn{display:inline-block;padding:9px 10px 8px;line-height:1}.redactor-toolbar li a.redactor-button-disabled{filter:alpha(opacity=30);-moz-opacity:.3;opacity:.3}.redactor-toolbar li a.redactor-button-disabled:hover{color:#333;outline:none;background-color:transparent!important;cursor:default}.redactor-toolbar li a.redactor-button-focus{color:#fff;background:#000}.redactor-box .CodeMirror{display:none}.re-icon{font-family:'RedactorFont';speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.re-icon i:before{position:relative;font-size:14px}.re-video:before{content:"\e600"}.re-unorderedlist:before{content:"\e601"}.re-undo:before{content:"\e602"}.re-underline:before{content:"\e603"}.re-textdirection:before{content:"\e604"}.re-fontcolor:before{content:"\e605"}.re-table:before{content:"\e606"}.re-redo:before{content:"\e607"}.re-quote:before{content:"\e608"}.re-outdent:before{content:"\e609"}.re-orderedlist:before{content:"\e60a"}.re-link:before{content:"\e60b"}.re-horizontalrule:before{content:"\e60c"}.re-italic:before{content:"\e60d"}.re-indent:before{content:"\e60e"}.re-image:before{content:"\e60f"}.re-fullscreen:before{content:"\e610"}.re-normalscreen:before{content:"\e611"}.re-formatting:before{content:"\e612"}.re-fontsize:before{content:"\e613"}.re-fontfamily:before{content:"\e614"}.re-deleted:before{content:"\e615"}.re-html:before{content:"\e616"}.re-clips:before{content:"\e617"}.re-bold:before{content:"\e618"}.re-backcolor:before{content:"\e619"}.re-file:before{content:"\e61a"}.re-alignright:before{content:"\e61b"}.re-alignleft:before,.re-alignment:before{content:"\e61c"}.re-alignjustify:before{content:"\e61d"}.re-aligncenter:before{content:"\e61e"}.re-gallery:before{content:"\e61f"}.redactor-dropdown,.redactor-toolbar-tooltip{position:absolute;left:0;font-family:Arial,Helvetica,Verdana,Tahoma,sans-serif!important}.redactor-toolbar-tooltip{z-index:1054;text-align:center;background:#000;color:#fff;border-radius:2px;top:0;padding:5px 8px;line-height:1;font-size:12px}.redactor-dropdown{top:28px;padding:0;min-width:220px;max-height:254px;overflow:auto;background-color:#fff;box-shadow:0 1px 7px rgba(0,0,0,.25);font-size:14px;line-height:1.6em}.redactor-dropdown a{display:block;padding:10px 15px;color:#000;text-decoration:none;border-bottom:1px solid rgba(0,0,0,.07)}#redactor-modal #redactor-modal-list li:last-child,.redactor-dropdown a:last-child{border-bottom:none}.redactor-dropdown a:hover{background-color:#1f78d8;color:#fff!important;text-decoration:none}.redactor-dropdown a.selected{background-color:#000;color:#fff}.redactor-dropdown a.redactor-dropdown-link-inactive,.redactor-dropdown a.redactor-dropdown-link-inactive:hover{background:0 0;cursor:default;color:#000!important;filter:alpha(opacity=40);-moz-opacity:.4;opacity:.4}.redactor-dropdown a.redactor-dropdown-link-selected{color:#fff;background:#000}#redactor-image-box{position:relative;max-width:100%;display:inline-block;line-height:0;outline:1px dashed rgba(0,0,0,.6)}#redactor-image-editter{z-index:5;top:50%;left:50%;margin-top:-11px;margin-left:-18px;color:#fff;font-size:11px;padding:7px 10px;cursor:pointer}#redactor-image-editter,#redactor-image-resizer,.redactor-link-tooltip{position:absolute;line-height:1;background-color:#000}#redactor-image-resizer{cursor:nw-resize;bottom:-4px;right:-5px;border:1px solid #fff;width:8px;height:8px;z-index:2}.redactor-link-tooltip,.redactor-link-tooltip a{font-size:12px;font-family:Arial,Helvetica,Verdana,Tahoma,sans-serif!important}.redactor-link-tooltip{z-index:99;padding:10px;display:inline-block;color:#555!important}.redactor-link-tooltip a{color:#ccc;margin:0 5px;text-decoration:none}.redactor-link-tooltip a:hover{color:#fff}#redactor-droparea{position:relative;overflow:hidden;padding:140px 20px;border:3px dashed rgba(0,0,0,.1)}#redactor-droparea.drag-hover{background:rgba(200,222,250,.75)}#redactor-droparea.drag-drop{background:rgba(250,248,200,.5)}#redactor-droparea-placeholder{text-align:center;font-size:12px;color:rgba(0,0,0,.7)}#redactor-progress{position:fixed;top:0;left:0;width:100%;z-index:1000000;height:10px}#redactor-progress span{display:block;width:100%;height:100%;background-color:#3d58a8;background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.2) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.2) 50%,rgba(255,255,255,.2) 75%,transparent 75%,transparent);-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite;background-size:40px 40px}@-webkit-keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{0%{background-position:40px 0}to{background-position:0 0}}#redactor-modal-overlay{position:fixed;top:0;left:0;margin:auto;overflow:auto;width:100%;height:100%;background-color:#000!important;filter:alpha(opacity=30);-moz-opacity:.3;opacity:.3}#redactor-modal-box{position:fixed;top:0;left:0;bottom:0;right:0;overflow-x:hidden;overflow-y:auto}#redactor-modal{outline:0;position:relative;margin:auto auto 20px;padding:0;background:#fff;color:#000;font-size:14px!important;font-family:Arial,Helvetica,Verdana,Tahoma,sans-serif!important;box-shadow:0 1px 70px rgba(0,0,0,.5)}#redactor-modal header{padding:30px 40px 5px;font-size:18px;font-weight:700}#redactor-modal section{padding:30px 40px 50px}#redactor-modal label{display:block;float:none!important;margin:15px 0 3px!important;padding:0}#redactor-modal input[type=checkbox],#redactor-modal input[type=radio]{position:relative;top:-1px}#redactor-modal select{width:100%}#redactor-modal input[type=email],#redactor-modal input[type=password],#redactor-modal input[type=text],#redactor-modal input[type=url]{margin:0}#redactor-modal input[type=email],#redactor-modal input[type=password],#redactor-modal input[type=text],#redactor-modal input[type=url],#redactor-modal textarea{position:relative;z-index:2;padding:5px 4px;height:28px;border:1px solid #ccc;border-radius:1px;background-color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2) inset;color:#333;width:100%;font-size:14px;font-family:Arial,Helvetica,Verdana,Tahoma,sans-serif!important;-moz-transition:border .3s ease-in;transition:border .3s ease-in}#redactor-modal input[type=email]:focus,#redactor-modal input[type=password]:focus,#redactor-modal input[type=text]:focus,#redactor-modal input[type=url]:focus,#redactor-modal textarea:focus{outline:none;border-color:#5ca9e4;box-shadow:0 0 0 2px rgba(70,161,231,.3),0 1px 2px rgba(0,0,0,.2) inset}#redactor-modal input[type=email].redactor-input-error,#redactor-modal input[type=password].redactor-input-error,#redactor-modal input[type=text].redactor-input-error,#redactor-modal input[type=url].redactor-input-error,#redactor-modal textarea.redactor-input-error{border-color:#e82f2f;box-shadow:0 0 0 2px rgba(232,47,47,.3),0 1px 2px rgba(0,0,0,.2) inset}#redactor-modal textarea{display:block;margin:4px 0 0;line-height:1.4em}#redactor-modal-tabber{margin-bottom:15px;font-size:12px}#redactor-modal-tabber a{border:1px solid #ddd;line-height:1;padding:8px 15px;margin-right:-1px;text-decoration:none;color:#000}#redactor-modal-tabber a:hover{background-color:#1f78d8;border-color:#1f78d8;color:#fff}#redactor-modal-tabber a.active{cursor:default;background-color:#ddd;border-color:#ddd;color:rgba(0,0,0,.6)}#redactor-modal #redactor-modal-list{margin-left:0;padding-left:0;list-style:none;max-height:250px;overflow-x:auto}#redactor-modal #redactor-modal-list li{border-bottom:1px solid #ddd}#redactor-modal #redactor-modal-list a{padding:10px 5px;color:#000;text-decoration:none;font-size:13px;display:block;position:relative}#redactor-modal #redactor-modal-list a:hover{background-color:#eee}#redactor-modal-close{position:absolute;top:10px;right:10px;width:30px;height:30px;text-align:right;color:#bbb;font-size:30px;font-weight:300;cursor:pointer;-webkit-appearance:none;padding:0;border:0;background:0;outline:none}#redactor-modal-close:hover{color:#000}#redactor-modal footer button{position:relative;width:100%;padding:14px 16px;margin:0;outline:none;border:none;background-color:#ddd;color:#000;text-align:center;text-decoration:none;font-weight:400;font-size:12px;font-family:Arial,Helvetica,Verdana,Tahoma,sans-serif!important;line-height:1;cursor:pointer}#redactor-modal footer button:hover{color:#777;background:0 0;background:#bbb;text-decoration:none}#redactor-modal footer button.redactor-modal-delete-btn{background:0 0;color:#fff;background-color:#b52525}#redactor-modal footer button.redactor-modal-delete-btn:hover{color:rgba(255,255,255,.6);background-color:#881b1b}#redactor-modal footer button.redactor-modal-action-btn{background:0 0;color:#fff;background-color:#2461b5}#redactor-modal footer button.redactor-modal-action-btn:hover{color:rgba(255,255,255,.6);background-color:#1a4580}.redactor-dropdown .redactor-formatting-blockquote{color:rgba(0,0,0,.4);font-style:italic}.redactor-dropdown .redactor-formatting-pre{font-family:monospace,sans-serif}.redactor-dropdown .redactor-formatting-h1{font-size:36px;line-height:36px;font-weight:700}.redactor-dropdown .redactor-formatting-h2{font-size:24px;line-height:36px;font-weight:700}.redactor-dropdown .redactor-formatting-h3{font-size:21px;line-height:30px;font-weight:700}.redactor-dropdown .redactor-formatting-h4{font-size:18px;line-height:26px;font-weight:700}.redactor-dropdown .redactor-formatting-h5{font-size:16px;line-height:23px;font-weight:700}.redactor-editor code,.redactor-editor pre{font-family:Menlo,Monaco,monospace,sans-serif!important;cursor:text}.redactor-editor blockquote,.redactor-editor div,.redactor-editor dl,.redactor-editor ol,.redactor-editor p,.redactor-editor ul{font-size:14px;line-height:1.6em}.redactor-editor pre,.redactor-editor table{line-height:1.6em}.redactor-editor a{color:#15c;text-decoration:underline}.redactor-editor embed,.redactor-editor img,.redactor-editor object,.redactor-editor video{max-width:100%;width:auto}.redactor-editor img,.redactor-editor video{height:auto}.redactor-editor blockquote,.redactor-editor div,.redactor-editor dl,.redactor-editor figure,.redactor-editor ol,.redactor-editor p,.redactor-editor pre,.redactor-editor table,.redactor-editor ul{margin:0 0 15px;border:none;background:0 0;box-shadow:none}.redactor-editor pre{padding:1em;border:1px solid #ddd;border-radius:3px;background:#f8f8f8;font-size:90%}.redactor-editor hr,.redactor-editor iframe,.redactor-editor object{margin-bottom:15px}.redactor-editor blockquote{margin-left:1.6em!important;padding:0;text-align:left;color:#777;font-style:italic}.redactor-editor blockquote:after,.redactor-editor blockquote:before{content:''}.redactor-editor ol,.redactor-editor ul{padding-left:2em}.redactor-editor ol ol,.redactor-editor ol ul,.redactor-editor ul ol,.redactor-editor ul ul{margin:2px;padding:0 0 0 2em;border:none}.redactor-editor ol ol li{list-style-type:lower-alpha}.redactor-editor ol ol ol li{list-style-type:lower-roman}.redactor-editor dl dt{font-weight:700}.redactor-editor dd{margin-left:1em}.redactor-editor table{border-collapse:collapse;font-size:1em;width:100%}.redactor-editor table td,.redactor-editor table th{padding:5px;border:1px solid #ddd;vertical-align:top}.redactor-editor table th,.redactor-editor table thead td{font-weight:700;border-bottom-color:#888}.redactor-editor code{background-color:#d8d7d7}.redactor-editor hr{display:block;height:1px;border:0;border-top:1px solid #ccc}.redactor-editor h1,.redactor-editor h2,.redactor-editor h3,.redactor-editor h4,.redactor-editor h5,.redactor-editor h6{font-weight:700;color:#000;padding:0;background:0 0;text-rendering:optimizeLegibility;margin:0 0 .5em}.redactor-editor h1,.redactor-editor h2,.redactor-editor h3,.redactor-editor h4{line-height:1.3}.redactor-editor h1{font-size:36px}.redactor-editor h2{font-size:24px;margin-bottom:.7em}.redactor-editor h3{font-size:21px}.redactor-editor h4{font-size:18px}.redactor-editor h5{font-size:16px}.redactor-editor h6{font-size:12px;text-transform:uppercase} \ No newline at end of file diff --git a/dist/redactor.js b/dist/redactor.js index 2904b89..86f8fff 100755 --- a/dist/redactor.js +++ b/dist/redactor.js @@ -9,9 +9,8 @@ Usage: $('#content').redactor(); */ -!function(t){"use strict";function e(t,i){return new e.prototype.init(t,i)}Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;return function(){return e.apply(t)}});var i=0;t.fn.redactor=function(i){var s=[],r=Array.prototype.slice.call(arguments,1);return this.each("string"==typeof i?function(){var e,o=t.data(this,"redactor");if("-1"!=i.search(/\./)?(e=i.split("."),"undefined"!=typeof o[e[0]]&&(e=o[e[0]][e[1]])):e=o[i],"undefined"!=typeof o&&t.isFunction(e)){var n=e.apply(o,r);void 0!==n&&n!==o&&s.push(n)}else t.error('No such method "'+i+'" for Redactor')}:function(){t.data(this,"redactor",{}),t.data(this,"redactor",e(this,i))}),0===s.length?this:1===s.length?s[0]:s},t.Redactor=e,t.Redactor.VERSION="10.2.5",t.Redactor.modules=["alignment","autosave","block","buffer","build","button","caret","clean","code","core","dropdown","file","focus","image","indent","inline","insert","keydown","keyup","lang","line","link","linkify","list","modal","observe","paragraphize","paste","placeholder","progress","selection","shortcuts","tabifier","tidy","toolbar","upload","utils"],t.Redactor.opts={lang:"en",direction:"ltr",plugins:!1,focus:!1,focusEnd:!1,placeholder:!1,visual:!0,tabindex:!1,minHeight:!1,maxHeight:!1,linebreaks:!1,replaceDivs:!0,paragraphize:!0,cleanStyleOnEnter:!1,enterKey:!0,cleanOnPaste:!0,cleanSpaces:!0,pastePlainText:!1,autosave:!1,autosaveName:!1,autosaveInterval:60,autosaveOnChange:!1,autosaveFields:!1,linkTooltip:!0,linkProtocol:"http",linkNofollow:!1,linkSize:50,imageEditable:!0,imageLink:!0,imagePosition:!0,imageFloatMargin:"10px",imageResizable:!0,imageUpload:null,imageUploadParam:"file",uploadImageField:!1,dragImageUpload:!0,fileUpload:null,fileUploadParam:"file",dragFileUpload:!0,s3:!1,convertLinks:!0,convertUrlLinks:!0,convertImageLinks:!0,convertVideoLinks:!0,preSpaces:4,tabAsSpaces:!1,tabKey:!0,scrollTarget:!1,toolbar:!0,toolbarFixed:!0,toolbarFixedTarget:document,toolbarFixedTopOffset:0,toolbarExternal:!1,toolbarOverflow:!1,source:!0,buttons:["html","formatting","bold","italic","deleted","unorderedlist","orderedlist","outdent","indent","image","file","link","alignment","horizontalrule"],buttonsHide:[],buttonsHideOnMobile:[],formatting:["p","blockquote","pre","h1","h2","h3","h4","h5","h6"],formattingAdd:!1,tabifier:!0,deniedTags:["script","style"],allowedTags:!1,paragraphizeBlocks:["table","div","pre","form","ul","ol","h1","h2","h3","h4","h5","h6","dl","blockquote","figcaption","address","section","header","footer","aside","article","object","style","script","iframe","select","input","textarea","button","option","map","area","math","hr","fieldset","legend","hgroup","nav","figure","details","menu","summary","p"],removeComments:!1,replaceTags:[["strike","del"],["b","strong"]],replaceStyles:[["font-weight:\\s?bold","strong"],["font-style:\\s?italic","em"],["text-decoration:\\s?underline","u"],["text-decoration:\\s?line-through","del"]],removeDataAttr:!1,removeAttr:!1,allowedAttr:!1,removeWithoutAttr:["span"],removeEmpty:["p"],activeButtons:["deleted","italic","bold","underline","unorderedlist","orderedlist","alignleft","aligncenter","alignright","justify"],activeButtonsStates:{b:"bold",strong:"bold",i:"italic",em:"italic",del:"deleted",strike:"deleted",ul:"unorderedlist",ol:"orderedlist",u:"underline"},shortcuts:{"ctrl+shift+m, meta+shift+m":{func:"inline.removeFormat"},"ctrl+b, meta+b":{func:"inline.format",params:["bold"]},"ctrl+i, meta+i":{func:"inline.format",params:["italic"]},"ctrl+h, meta+h":{func:"inline.format",params:["superscript"]},"ctrl+l, meta+l":{func:"inline.format",params:["subscript"]},"ctrl+k, meta+k":{func:"link.show"},"ctrl+shift+7":{func:"list.toggle",params:["orderedlist"]},"ctrl+shift+8":{func:"list.toggle",params:["unorderedlist"]}},shortcutsAdd:!1,buffer:[],rebuffer:[],emptyHtml:"

",invisibleSpace:"​",imageTypes:["image/png","image/jpeg","image/gif"],indentValue:20,verifiedTags:["a","img","b","strong","sub","sup","i","em","u","small","strike","del","cite","ul","ol","li"],inlineTags:["strong","b","u","em","i","code","del","ins","samp","kbd","sup","sub","mark","var","cite","small"],alignmentTags:["P","H1","H2","H3","H4","H5","H6","DL","DT","DD","DIV","TD","BLOCKQUOTE","OUTPUT","FIGCAPTION","ADDRESS","SECTION","HEADER","FOOTER","ASIDE","ARTICLE"],blockLevelElements:["PRE","UL","OL","LI"],highContrast:!1,observe:{dropdowns:[]},langs:{en:{html:"HTML",video:"Insert Video",image:"Insert Image",table:"Table",link:"Link",link_insert:"Insert link",link_edit:"Edit link",unlink:"Unlink",formatting:"Formatting",paragraph:"Normal text",quote:"Quote",code:"Code",header1:"Header 1",header2:"Header 2",header3:"Header 3",header4:"Header 4",header5:"Header 5",bold:"Bold",italic:"Italic",fontcolor:"Font Color",backcolor:"Back Color",unorderedlist:"Unordered List",orderedlist:"Ordered List",outdent:"Outdent",indent:"Indent",cancel:"Cancel",insert:"Insert",save:"Save",_delete:"Delete",insert_table:"Insert Table",insert_row_above:"Add Row Above",insert_row_below:"Add Row Below",insert_column_left:"Add Column Left",insert_column_right:"Add Column Right",delete_column:"Delete Column",delete_row:"Delete Row",delete_table:"Delete Table",rows:"Rows",columns:"Columns",add_head:"Add Head",delete_head:"Delete Head",title:"Title",image_position:"Position",none:"None",left:"Left",right:"Right",center:"Center",image_web_link:"Image Web Link",text:"Text",mailto:"Email",web:"URL",video_html_code:"Video Embed Code or Youtube/Vimeo Link",file:"Insert File",upload:"Upload",download:"Download",choose:"Choose",or_choose:"Or choose",drop_file_here:"Drop file here",align_left:"Align text to the left",align_center:"Center text",align_right:"Align text to the right",align_justify:"Justify text",horizontalrule:"Insert Horizontal Rule",deleted:"Deleted",anchor:"Anchor",link_new_tab:"Open link in new tab",underline:"Underline",alignment:"Alignment",filename:"Name (optional)",edit:"Edit",upload_label:"Drop file here or "}},linkify:{regexps:{youtube:/https?:\/\/(?:[0-9A-Z-]+\.)?(?:youtu\.be\/|youtube\.com\S*[^\w\-\s])([\w\-]{11})(?=[^\w\-]|$)(?![?=&+%\w.\-]*(?:['"][^<>]*>|<\/a>))[?=&+%\w.-]*/gi,vimeo:/https?:\/\/(www\.)?vimeo.com\/(\d+)($|\/)/,image:/((https?|www)[^\s]+\.)(jpe?g|png|gif)(\?[^\s-]+)?/gi,url:/(https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/gi}},codemirror:!1},e.fn=t.Redactor.prototype={keyCode:{BACKSPACE:8,DELETE:46,UP:38,DOWN:40,ENTER:13,SPACE:32,ESC:27,TAB:9,CTRL:17,META:91,SHIFT:16,ALT:18,RIGHT:39,LEFT:37,LEFT_WIN:91},init:function(e,s){if(this.$element=t(e),this.uuid=i++,this.rtePaste=!1,this.$pasteBox=!1,this.loadOptions(s),this.loadModules(),this.formatting={},t.merge(this.opts.blockLevelElements,this.opts.alignmentTags),this.reIsBlock=new RegExp("^("+this.opts.blockLevelElements.join("|")+")$","i"),this.tidy.setupAllowed(),this.opts.deniedTags!==!1)for(var r=["html","head","link","body","meta","applet"],o=0;oi;i++)this.bindModuleMethods(t.Redactor.modules[i])},bindModuleMethods:function(t){if("undefined"!=typeof this[t]){this[t]=this[t]();for(var e=this.getModuleMethods(this[t]),i=e.length,s=0;i>s;s++)this[t][e[s]]=this[t][e[s]].bind(this)}},alignment:function(){return{left:function(){this.alignment.set("")},right:function(){this.alignment.set("right")},center:function(){this.alignment.set("center")},justify:function(){this.alignment.set("justify")},set:function(t){this.utils.browser("msie")||this.opts.linebreaks||this.$editor.focus(),this.alignment.blocks=this.selection.getBlocks(),this.alignment.type=t,this.buffer.set(),this.selection.save(),this.alignment.isLinebreaksOrNoBlocks()?this.alignment.setText():this.alignment.setBlocks(),this.selection.restore(),this.code.sync()},setText:function(){var e=this.selection.wrap("div");t(e).attr("data-tagblock","redactor").css("text-align",this.alignment.type)},setBlocks:function(){t.each(this.alignment.blocks,t.proxy(function(t,e){var i=this.utils.getAlignmentElement(e);i&&(this.alignment.isNeedReplaceElement(i)?this.alignment.replaceElement(i):this.alignment.alignElement(i))},this))},isLinebreaksOrNoBlocks:function(){return this.opts.linebreaks&&this.alignment.blocks[0]===!1},isNeedReplaceElement:function(t){return""===this.alignment.type&&"undefined"!=typeof t.data("tagblock")},replaceElement:function(t){t.replaceWith(t.html())},alignElement:function(t){t.css("text-align",this.alignment.type),this.utils.removeEmptyAttr(t,"style")}}},autosave:function(){return{html:!1,enable:function(){this.opts.autosave&&(this.autosave.name=this.opts.autosaveName?this.opts.autosaveName:this.$textarea.attr("name"),this.opts.autosaveOnChange||(this.autosaveInterval=setInterval(this.autosave.load,1e3*this.opts.autosaveInterval)))},onChange:function(){this.opts.autosaveOnChange&&this.autosave.load()},load:function(){if(this.opts.autosave&&(this.autosave.source=this.code.get(),this.autosave.html!==this.autosave.source)){var e={};e.name=this.autosave.name,e[this.autosave.name]=this.autosave.source,e=this.autosave.getHiddenFields(e);var i=t.ajax({url:this.opts.autosave,type:"post",data:e});i.done(this.autosave.success)}},getHiddenFields:function(e){return this.opts.autosaveFields===!1||"object"!=typeof this.opts.autosaveFields?e:(t.each(this.opts.autosaveFields,t.proxy(function(i,s){null!==s&&0===s.toString().indexOf("#")&&(s=t(s).val()),e[i]=s},this)),e)},success:function(e){var i;try{i=t.parseJSON(e)}catch(s){i=e}var r="undefined"==typeof i.error?"autosave":"autosaveError";this.core.setCallback(r,this.autosave.name,i),this.autosave.html=this.autosave.source},disable:function(){clearInterval(this.autosaveInterval)}}},block:function(){return{formatting:function(t){this.block.clearStyle=!1;var e,i;"undefined"!=typeof this.formatting[t].data?e="data":"undefined"!=typeof this.formatting[t].attr?e="attr":"undefined"!=typeof this.formatting[t]["class"]&&(e="class"),"undefined"!=typeof this.formatting[t].clear&&(this.block.clearStyle=!0),e&&(i=this.formatting[t][e]),this.block.format(this.formatting[t].tag,e,i)},format:function(e,i,s){"quote"==e&&(e="blockquote");var r=["p","pre","blockquote","h1","h2","h3","h4","h5","h6"];if(-1!=t.inArray(e,r)){this.block.isRemoveInline="pre"==e||-1!=e.search(/h[1-6]/i),this.utils.browser("msie")||this.$editor.focus();var o=t.trim(this.$editor.html());if(this.block.isEmpty=this.utils.isEmpty(o),this.utils.browser("mozilla")&&!this.focus.isFocused()&&this.block.isEmpty){var n;this.opts.linebreaks||(n=this.$editor.children().first(),this.caret.setEnd(n))}this.block.blocks=this.selection.getBlocks(),this.block.blocksSize=this.block.blocks.length,this.block.type=i,this.block.value=s,this.buffer.set(),this.selection.save(),this.block.set(e),this.selection.restore(),this.code.sync(),this.observe.load()}},set:function(t){this.selection.get(),this.block.containerTag=this.range.commonAncestorContainer.tagName,this.range.collapsed?this.block.setCollapsed(t):this.block.setMultiple(t)},setCollapsed:function(e){if(this.opts.linebreaks&&this.block.isEmpty&&"p"!=e){var i=document.createElement(e);return this.$editor.html(i),void this.caret.setEnd(i)}var s=this.block.blocks[0];if(s!==!1){if("LI"==s.tagName){if("blockquote"!=e)return;return void this.block.formatListToBlockquote()}var r="TD"==this.block.containerTag||"TH"==this.block.containerTag;if(r&&!this.opts.linebreaks)document.execCommand("formatblock",!1,"<"+e+">"),s=this.selection.getBlock(),this.block.toggle(t(s));else if(s.tagName.toLowerCase()!=e)if(this.opts.linebreaks&&"p"==e)t(s).append("
"),this.utils.replaceWithContents(s);else{var o=this.utils.replaceToTag(s,e);this.block.toggle(o),"p"!=e&&"blockquote"!=e&&o.find("img").remove(),this.block.isRemoveInline&&this.utils.removeInlineTags(o),("p"==e||this.block.headTag)&&o.find("p").contents().unwrap(),this.block.formatTableWrapping(o)}else if("blockquote"==e&&s.tagName.toLowerCase()==e)if(this.opts.linebreaks)t(s).append("
"),this.utils.replaceWithContents(s);else{var n=this.utils.replaceToTag(s,"p");this.block.toggle(n)}else s.tagName.toLowerCase()==e&&this.block.toggle(t(s));"undefined"==typeof this.block.type&&"undefined"==typeof this.block.value&&t(s).removeAttr("class").removeAttr("style")}},setMultiple:function(e){var i=this.block.blocks[0],s="TD"==this.block.containerTag||"TH"==this.block.containerTag;if(i!==!1&&1===this.block.blocksSize)if(i.tagName.toLowerCase()==e&&"blockquote"==e)if(this.opts.linebreaks)t(i).append("
"),this.utils.replaceWithContents(i);else{var r=this.utils.replaceToTag(i,"p");this.block.toggle(r)}else if("LI"==i.tagName){if("blockquote"!=e)return;this.block.formatListToBlockquote()}else if("BLOCKQUOTE"==this.block.containerTag)this.block.formatBlockquote(e);else if(this.opts.linebreaks&&(s||this.range.commonAncestorContainer!=i))this.block.formatWrap(e);else if(this.opts.linebreaks&&"p"==e)t(i).prepend("
").append("
"),this.utils.replaceWithContents(i);else if("TD"===i.tagName)this.block.formatWrap(e);else{var o=this.utils.replaceToTag(i,e);this.block.toggle(o),this.block.isRemoveInline&&this.utils.removeInlineTags(o),("p"==e||this.block.headTag)&&o.find("p").contents().unwrap()}else if(this.opts.linebreaks||"p"!=e){if("blockquote"==e){for(var n=0,a=0;a").append("
"),s=this.utils.replaceWithContents(i)):s=this.utils.replaceToTag(i,"p"),s&&"undefined"==typeof this.block.type&&"undefined"==typeof this.block.value&&s.removeAttr("class").removeAttr("style")},this))}this.block.formatWrap(e)}else{var l=0,c=!1;"class"==this.block.type&&(c="toggle",l=t(this.block.blocks).filter("."+this.block.value).length,this.block.blocksSize==l?c="toggle":this.block.blocksSize>l?c="set":0===l&&(c="set"));var h=["ul","ol","li","td","th","dl","dt","dd"];t.each(this.block.blocks,t.proxy(function(i,s){if(-1==t.inArray(s.tagName.toLowerCase(),h)){var r=this.utils.replaceToTag(s,e);c?"toggle"==c?this.block.toggle(r):"remove"==c?this.block.remove(r):"set"==c&&this.block.setForce(r):this.block.toggle(r),"p"!=e&&"blockquote"!=e&&r.find("img").remove(),this.block.isRemoveInline&&this.utils.removeInlineTags(r),("p"==e||this.block.headTag)&&r.find("p").contents().unwrap(),"undefined"==typeof this.block.type&&"undefined"==typeof this.block.value&&r.removeAttr("class").removeAttr("style")}},this))}},setForce:function(t){return this.block.clearStyle&&t.removeAttr("class").removeAttr("style"),"class"==this.block.type?void t.addClass(this.block.value):"attr"==this.block.type||"data"==this.block.type?void t.attr(this.block.value.name,this.block.value.value):void 0},toggle:function(t){return this.block.clearStyle&&t.removeAttr("class").removeAttr("style"),"class"==this.block.type?void t.toggleClass(this.block.value):"attr"==this.block.type||"data"==this.block.type?void(t.attr(this.block.value.name)==this.block.value.value?t.removeAttr(this.block.value.name):t.attr(this.block.value.name,this.block.value.value)):void t.removeAttr("style class")},remove:function(t){t.removeClass(this.block.value)},formatListToBlockquote:function(){var e=t(this.block.blocks[0]).closest("ul, ol",this.$editor[0]);t(e).find("ul, ol").contents().unwrap(),t(e).find("li").append(t("
")).contents().unwrap();var i=this.utils.replaceToTag(e,"blockquote");this.block.toggle(i)},formatBlockquote:function(e){document.execCommand("outdent"),document.execCommand("formatblock",!1,e),this.clean.clearUnverified(),this.$editor.find("p:empty").remove();var i=this.selection.getBlock();"p"!=e&&t(i).find("img").remove(),this.opts.linebreaks||this.block.toggle(t(i)),this.$editor.find("ul, ol, tr, blockquote, p").each(t.proxy(this.utils.removeEmpty,this)),this.opts.linebreaks&&"p"==e&&this.utils.replaceWithContents(i)},formatWrap:function(e){if("UL"==this.block.containerTag||"OL"==this.block.containerTag){if("blockquote"!=e)return;this.block.formatListToBlockquote()}var i=this.selection.wrap(e);if(i!==!1){var s=t(i);this.block.formatTableWrapping(s);var r=s.find(this.opts.blockLevelElements.join(",")+", td, table, thead, tbody, tfoot, th, tr");if(r.contents().unwrap(),"p"!=e&&"blockquote"!=e&&s.find("img").remove(),t.each(this.block.blocks,t.proxy(this.utils.removeEmpty,this)),s.append(this.selection.getMarker(2)),this.opts.linebreaks||this.block.toggle(s),this.$editor.find("ul, ol, tr, blockquote, p").each(t.proxy(this.utils.removeEmpty,this)),s.find("blockquote:empty").remove(),this.block.isRemoveInline&&this.utils.removeInlineTags(s),this.opts.linebreaks&&"p"==e&&this.utils.replaceWithContents(s),this.opts.linebreaks){var o=s.next().next();0!=o.size()&&"BR"===o[0].tagName&&o.remove()}}},formatTableWrapping:function(t){0!==t.closest("table",this.$editor[0]).length&&(0===t.closest("tr",this.$editor[0]).length&&t.wrap(""),0===t.closest("td",this.$editor[0]).length&&0===t.closest("th").length&&t.wrap(""))},removeData:function(e,i){var s=this.selection.getBlocks();t(s).removeAttr("data-"+e),this.code.sync()},setData:function(e,i){var s=this.selection.getBlocks();t(s).attr("data-"+e,i),this.code.sync()},toggleData:function(e,i){var s=this.selection.getBlocks();t.each(s,function(){t(this).attr("data-"+e)?t(this).removeAttr("data-"+e):t(this).attr("data-"+e,i)})},removeAttr:function(e,i){var s=this.selection.getBlocks();t(s).removeAttr(e),this.code.sync()},setAttr:function(e,i){var s=this.selection.getBlocks();t(s).attr(e,i),this.code.sync()},toggleAttr:function(e,i){var s=this.selection.getBlocks();t.each(s,function(){t(this).attr(name)?t(this).removeAttr(name):t(this).attr(name,i)})},removeClass:function(e){var i=this.selection.getBlocks();t(i).removeClass(e),this.utils.removeEmptyAttr(i,"class"),this.code.sync()},setClass:function(e){var i=this.selection.getBlocks();t(i).addClass(e),this.code.sync()},toggleClass:function(e){var i=this.selection.getBlocks();t(i).toggleClass(e),this.code.sync()}}},buffer:function(){return{set:function(t){"undefined"==typeof t||"undo"==t?this.buffer.setUndo():this.buffer.setRedo()},setUndo:function(){this.selection.save(),this.opts.buffer.push(this.$editor.html()),this.selection.restore()},setRedo:function(){this.selection.save(),this.opts.rebuffer.push(this.$editor.html()),this.selection.restore()},getUndo:function(){this.$editor.html(this.opts.buffer.pop())},getRedo:function(){this.$editor.html(this.opts.rebuffer.pop())},add:function(){this.opts.buffer.push(this.$editor.html())},undo:function(){0!==this.opts.buffer.length&&(this.buffer.set("redo"),this.buffer.getUndo(),this.selection.restore(),setTimeout(t.proxy(this.observe.load,this),50))},redo:function(){0!==this.opts.rebuffer.length&&(this.buffer.set("undo"),this.buffer.getRedo(),this.selection.restore(),setTimeout(t.proxy(this.observe.load,this),50))}}},build:function(){return{focused:!1,blured:!0,run:function(){this.build.createContainerBox(),this.build.loadContent(),this.build.loadEditor(),this.build.enableEditor(),this.build.setCodeAndCall()},isTextarea:function(){return"TEXTAREA"===this.$element[0].tagName},createContainerBox:function(){this.$box=t('
')},createTextarea:function(){this.$textarea=t("