wysiwyg-rails 1.1.7 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -8
  3. data/app/assets/javascripts/froala_editor.min.js +6 -5
  4. data/app/assets/javascripts/froala_editor_ie8.min.js +2 -2
  5. data/app/assets/javascripts/langs/ar.js +3 -1
  6. data/app/assets/javascripts/langs/bs.js +90 -0
  7. data/app/assets/javascripts/langs/cs.js +3 -1
  8. data/app/assets/javascripts/langs/da.js +3 -1
  9. data/app/assets/javascripts/langs/de.js +3 -1
  10. data/app/assets/javascripts/langs/en_ca.js +3 -1
  11. data/app/assets/javascripts/langs/en_gb.js +3 -1
  12. data/app/assets/javascripts/langs/en_us.js +3 -1
  13. data/app/assets/javascripts/langs/es.js +3 -1
  14. data/app/assets/javascripts/langs/fa.js +3 -1
  15. data/app/assets/javascripts/langs/fi.js +3 -1
  16. data/app/assets/javascripts/langs/fr.js +3 -1
  17. data/app/assets/javascripts/langs/he.js +89 -0
  18. data/app/assets/javascripts/langs/hr.js +90 -0
  19. data/app/assets/javascripts/langs/hu.js +3 -1
  20. data/app/assets/javascripts/langs/id.js +3 -1
  21. data/app/assets/javascripts/langs/it.js +3 -1
  22. data/app/assets/javascripts/langs/ja.js +3 -1
  23. data/app/assets/javascripts/langs/ko.js +3 -1
  24. data/app/assets/javascripts/langs/me.js +90 -0
  25. data/app/assets/javascripts/langs/nb.js +3 -1
  26. data/app/assets/javascripts/langs/nl.js +3 -1
  27. data/app/assets/javascripts/langs/pl.js +3 -1
  28. data/app/assets/javascripts/langs/pt_br.js +5 -3
  29. data/app/assets/javascripts/langs/pt_pt.js +3 -1
  30. data/app/assets/javascripts/langs/ro.js +4 -2
  31. data/app/assets/javascripts/langs/ru.js +3 -1
  32. data/app/assets/javascripts/langs/sr.js +90 -0
  33. data/app/assets/javascripts/langs/sv.js +3 -1
  34. data/app/assets/javascripts/langs/th.js +3 -1
  35. data/app/assets/javascripts/langs/tr.js +3 -1
  36. data/app/assets/javascripts/langs/zh_cn.js +3 -1
  37. data/app/assets/javascripts/langs/zh_tw.js +3 -1
  38. data/app/assets/javascripts/plugins/block_styles.min.js +2 -2
  39. data/app/assets/javascripts/plugins/colors.min.js +2 -2
  40. data/app/assets/javascripts/plugins/file_upload.min.js +5 -0
  41. data/app/assets/javascripts/plugins/font_family.min.js +5 -0
  42. data/app/assets/javascripts/plugins/font_size.min.js +5 -0
  43. data/app/assets/javascripts/plugins/lists.min.js +5 -0
  44. data/app/assets/javascripts/plugins/media_manager.min.js +2 -2
  45. data/app/assets/javascripts/plugins/tables.min.js +2 -2
  46. data/app/assets/javascripts/plugins/video.min.js +2 -2
  47. data/app/assets/stylesheets/froala_editor.min.css +2 -2
  48. data/app/assets/stylesheets/froala_page.min.css +4 -0
  49. data/app/assets/stylesheets/themes/dark.min.css +2 -2
  50. data/app/assets/stylesheets/themes/gray.min.css +4 -0
  51. data/app/assets/stylesheets/themes/red.min.css +4 -0
  52. data/lib/wysiwyg-rails/version.rb +1 -1
  53. metadata +16 -12
  54. data/app/assets/javascripts/libs/beautify/beautify-css.js +0 -384
  55. data/app/assets/javascripts/libs/beautify/beautify-html.js +0 -840
  56. data/app/assets/javascripts/libs/beautify/beautify.js +0 -1737
  57. data/app/assets/javascripts/plugins/fonts/font_family.min.js +0 -5
  58. data/app/assets/javascripts/plugins/fonts/font_size.min.js +0 -5
  59. data/app/assets/javascripts/plugins/fonts/fonts.min.js +0 -5
  60. data/app/assets/stylesheets/froala_reset.min.css +0 -4
  61. data/app/assets/stylesheets/themes/dark.css +0 -291
@@ -0,0 +1,90 @@
1
+ /*!
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
+ * Copyright 2014-2014 Froala
4
+ */
5
+
6
+ /**
7
+ * Serbian.
8
+ */
9
+
10
+ $.Editable.LANGS['sr'] = {
11
+ translation: {
12
+ "Bold": "Podebljan",
13
+ "Italic": "Isko\u0161en",
14
+ "Underline": "Podvu\u010deno",
15
+ "Strikethrough": "Precrtan",
16
+ "Font Size": "Veli\u010dina fontova",
17
+ "Color": "Boja",
18
+ "Background Color": "Boja pozadine",
19
+ "Text Color": "Boja tekst",
20
+ "Format Block": "Formatiranje bloka",
21
+ "Normal": "Normalno",
22
+ "Paragraph": "Paragraf",
23
+ "Code": "Izvorni kod",
24
+ "Quote": "Citat",
25
+ "Heading 1": "Zaglavlje 1",
26
+ "Heading 2": "Zaglavlje 2",
27
+ "Heading 3": "Zaglavlje 3",
28
+ "Heading 4": "Zaglavlje 4",
29
+ "Heading 5": "Zaglavlje 5",
30
+ "Heading 6": "Zaglavlje 6",
31
+ "Block Style": "Blok style",
32
+ "Alignment": "Poravnano",
33
+ "Align Left": "Poravnano levo",
34
+ "Align Center": "Poravnano centar",
35
+ "Align Right": "Poravnano desno",
36
+ "Justify": "Cjelokupno poravnanje",
37
+ "Numbered List": "Numerisana lista",
38
+ "Bulleted List": "Lista nabrajanja",
39
+ "Indent Less": "Uvuci paragraf",
40
+ "Indent More": "Izvuci paragraf",
41
+ "Select All": "Obele\u017ei sve",
42
+ "Insert Link": "Ubaci vezu",
43
+ "Insert Image": "Ubaci sliku",
44
+ "Insert Video": "Ubaci video",
45
+ "Undo": "Nazad",
46
+ "Redo": "Napred",
47
+ "Show HTML": "Prika\u017ei HTML kod",
48
+ "Float Left": "Prebaci levo",
49
+ "Float None": "Bez prebacivanja",
50
+ "Float Right": "Prebaci desno",
51
+ "Replace Image": "Zameni sliku",
52
+ "Remove Image": "Ukloni sliku",
53
+ "Title": "Naslov",
54
+ "Insert image": "Ubaci sliku",
55
+ "Drop image": "Izbaci sliku",
56
+ "or click": "ili odaberi",
57
+ "or": "ili",
58
+ "Enter URL": "Enter URL",
59
+ "Please wait!": "Molim sa\u010dekaj.",
60
+ "Are you sure? Image will be deleted.": "Da li ste sigurni da \u017eelite da obri\u0161ete ovu sliku?",
61
+ "UNLINK": "Ukloni link",
62
+ "Open in new tab": "Otvori u novom prozoru",
63
+ "Type something": "Ukucajte ne\u0161tp",
64
+ "Cancel": "Opozovi",
65
+ "OK": "Ok",
66
+ "Manage images": "Upravljanje sliku",
67
+ "Delete": "Obri\u0161i",
68
+ "Font Family": "Odaberi font",
69
+ "Insert Horizontal Line": "Ubaci horizontalna liniju",
70
+ "Table": "Tabela",
71
+ "Insert table": "Ubaci tabelu",
72
+ "Cell": "\u0106elija",
73
+ "Row": "Red",
74
+ "Column": "Kolona",
75
+ "Delete table": "Obri\u0161i tabelu",
76
+ "Insert cell before": "Ubaci \u0107elije pre",
77
+ "Insert cell after": "Ubaci \u0107elije posle",
78
+ "Delete cell": "Obri\u0161i polje",
79
+ "Merge cells": "Spoji \u0107elije",
80
+ "Horizontal split": "Horizontalno razdvajanje polja",
81
+ "Vertical split": "Vertikalno razdvajanje polja",
82
+ "Insert row above": "Ubaci red iznad",
83
+ "Insert row below": "Ubaci red ispod",
84
+ "Delete row": "Obri\u0161i red",
85
+ "Insert column before": "Ubaci kolonu pre",
86
+ "Insert column after": "Ubaci kolonu posle",
87
+ "Delete column": "Obri\u0161i kolonu"
88
+ },
89
+ direction: "ltr"
90
+ };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v1.1.7 (http://editor.froala.com)
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
3
  * Copyright 2014-2014 Froala
4
4
  */
5
5
 
@@ -28,6 +28,7 @@ $.Editable.LANGS['sv'] = {
28
28
  "Heading 4": "Rubrik 4",
29
29
  "Heading 5": "Rubrik 5",
30
30
  "Heading 6": "Rubrik 6",
31
+ "Block Style": "Block stil",
31
32
  "Alignment": "Justering",
32
33
  "Align Left": "V\u00e4nsterst\u00e4ll",
33
34
  "Align Center": "Centrera",
@@ -53,6 +54,7 @@ $.Editable.LANGS['sv'] = {
53
54
  "Insert image": "Infoga bild",
54
55
  "Drop image": "Sl\u00e4ppa bild",
55
56
  "or click": "eller klicka",
57
+ "or": "eller",
56
58
  "Enter URL": "Ange URL",
57
59
  "Please wait!": "V\u00e4nta!",
58
60
  "Are you sure? Image will be deleted.": "\u00c4r du s\u00e4ker? Bild kommer att raderas.",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v1.1.7 (http://editor.froala.com)
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
3
  * Copyright 2014-2014 Froala
4
4
  */
5
5
 
@@ -28,6 +28,7 @@ $.Editable.LANGS['th'] = {
28
28
  "Heading 4": "\u0e2a\u0e48\u0e27\u0e19\u0e2b\u0e31\u0e27 4",
29
29
  "Heading 5": "\u0e2a\u0e48\u0e27\u0e19\u0e2b\u0e31\u0e27 5",
30
30
  "Heading 6": "\u0e2a\u0e48\u0e27\u0e19\u0e2b\u0e31\u0e27 6",
31
+ "Block Style": "\u0e23\u0e39\u0e1b\u0e41\u0e1a\u0e1a\u0e1a\u0e25\u0e47\u0e2d\u0e01",
31
32
  "Alignment": "\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e41\u0e19\u0e27",
32
33
  "Align Left": "\u0e08\u0e31\u0e14\u0e0a\u0e34\u0e14\u0e0b\u0e49\u0e32\u0e22",
33
34
  "Align Center": "\u0e08\u0e31\u0e14\u0e01\u0e36\u0e48\u0e07\u0e01\u0e25\u0e32\u0e07",
@@ -53,6 +54,7 @@ $.Editable.LANGS['th'] = {
53
54
  "Insert image": "\u0e41\u0e17\u0e23\u0e01\u0e23\u0e39\u0e1b\u0e20\u0e32\u0e1e",
54
55
  "Drop image": "\u0e27\u0e32\u0e07\u0e20\u0e32\u0e1e",
55
56
  "or click": "\u0e2b\u0e23\u0e37\u0e2d\u0e04\u0e25\u0e34\u0e01\u0e17\u0e35\u0e48",
57
+ "or": "\u0e2b\u0e23\u0e37\u0e2d",
56
58
  "Enter URL": "\u0e1b\u0e49\u0e2d\u0e19 URL",
57
59
  "Please wait!": "\u0e01\u0e23\u0e38\u0e13\u0e32\u0e23\u0e2d\u0e2a\u0e31\u0e01\u0e04\u0e23\u0e39\u0e48!",
58
60
  "Are you sure? Image will be deleted.": "\u0e04\u0e38\u0e13\u0e41\u0e19\u0e48\u0e43\u0e08\u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48 \u0e20\u0e32\u0e1e\u0e08\u0e30\u0e16\u0e39\u0e01\u0e25\u0e1a",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v1.1.7 (http://editor.froala.com)
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
3
  * Copyright 2014-2014 Froala
4
4
  */
5
5
 
@@ -28,6 +28,7 @@ $.Editable.LANGS['tr'] = {
28
28
  "Heading 4": "Ba\u015fl\u0131k 4",
29
29
  "Heading 5": "Ba\u015fl\u0131k 5",
30
30
  "Heading 6": "Ba\u015fl\u0131k 6",
31
+ "Block Style": "Blok tarz\u0131",
31
32
  "Alignment": "Hizalama",
32
33
  "Align Left": "Sola hizala",
33
34
  "Align Center": "Ortala",
@@ -53,6 +54,7 @@ $.Editable.LANGS['tr'] = {
53
54
  "Insert image": "Resim ekle",
54
55
  "Drop image": "B\u0131rak resim",
55
56
  "or click": "ya da t\u0131klay\u0131n",
57
+ "or": "veya",
56
58
  "Enter URL": "URL'yi girin",
57
59
  "Please wait!": "L\u00fctfen bekleyin!",
58
60
  "Are you sure? Image will be deleted.": "Emin misin? Resim silinecektir.",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v1.1.7 (http://editor.froala.com)
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
3
  * Copyright 2014-2014 Froala
4
4
  */
5
5
 
@@ -28,6 +28,7 @@ $.Editable.LANGS['zh_cn'] = {
28
28
  "Heading 4": "\u6807\u98984",
29
29
  "Heading 5": "\u6807\u98985",
30
30
  "Heading 6": "\u6807\u98986",
31
+ "Block Style": "\u5ea7\u5f0f",
31
32
  "Alignment": "\u5bf9\u9f50\u65b9\u5f0f",
32
33
  "Align Left": "\u5de6\u5bf9\u9f50",
33
34
  "Align Center": "\u5c45\u4e2d",
@@ -53,6 +54,7 @@ $.Editable.LANGS['zh_cn'] = {
53
54
  "Insert image": "\u63d2\u5165\u56fe\u7247",
54
55
  "Drop image": "\u56fe\u50cf\u62d6\u653e",
55
56
  "or click": "\u6216\u70b9\u51fb",
57
+ "or": "\u6216",
56
58
  "Enter URL": "\u8f93\u5165\u7f51\u5740",
57
59
  "Please wait!": "\u8bf7\u7a0d\u7b49\uff01",
58
60
  "Are you sure? Image will be deleted.": "\u4f60\u786e\u5b9a\u5417\uff1f\u56fe\u50cf\u5c06\u88ab\u5220\u9664\u3002",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v1.1.7 (http://editor.froala.com)
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
3
  * Copyright 2014-2014 Froala
4
4
  */
5
5
 
@@ -28,6 +28,7 @@ $.Editable.LANGS['zh_tw'] = {
28
28
  "Heading 4": "\u6a19\u984c 4",
29
29
  "Heading 5": "\u6a19\u984c 5",
30
30
  "Heading 6": "\u6a19\u984c 6",
31
+ "Block Style": "\u5ea7\u5f0f",
31
32
  "Alignment": "\u5c0d\u9f4a",
32
33
  "Align Left": "\u7f6e\u5de6\u5c0d\u9f4a",
33
34
  "Align Center": "\u7f6e\u4e2d\u5c0d\u9f4a",
@@ -53,6 +54,7 @@ $.Editable.LANGS['zh_tw'] = {
53
54
  "Insert image": "\u63d2\u5165\u5716\u7247",
54
55
  "Drop image": "\u56fe\u50cf\u62d6\u653e",
55
56
  "or click": "\u6216\u70b9\u51fb",
57
+ "or": "\u6216",
56
58
  "Enter URL": "\u8f93\u5165\u7f51\u5740",
57
59
  "Please wait!": "\u8bf7\u7a0d\u7b49\uff01",
58
60
  "Are you sure? Image will be deleted.": "\u4f60\u786e\u5b9a\u5417\uff1f\u56fe\u50cf\u5c06\u88ab\u5220\u9664\u3002",
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v1.1.7 (http://editor.froala.com)
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
3
  * Copyright 2014-2014 Froala
4
4
  */
5
- $.Editable.commands=$.extend($.Editable.commands,{blockStyle:{title:"Block Style",icon:"fa fa-magic"}}),$.Editable.DEFAULTS=$.extend($.Editable.DEFAULTS,{defaultBlockStyle:{"f-italic":"Italic","f-typewriter":"Typewriter","f-spaced":"Spaced","f-uppercase":"Uppercase"},blockStylesToggle:!0,blockStyles:{}}),$.Editable.prototype.execCommand=$.extend($.Editable.prototype.execCommand,{blockStyle:function(a,b,c){this.blockStyle(b,c)}}),$.Editable.prototype.command_dispatcher=$.extend($.Editable.prototype.command_dispatcher,{blockStyle:function(a){var b=this.buildDropdownBlockStyle(a),c=this.buildDropdownButton(a,b);this.$bttn_wrapper.append(c),this.addListener("refresh",this.updateBlockStyles),this.registerRefreshEvent("blockStyle",function(a){this.refreshBlockStyle(a)})}}),$.Editable.prototype.buildDropdownBlockStyle=function(){var a='<ul class="fr-dropdown-menu fr-block-style">';return a+="</ul>"},$.Editable.prototype.activeBlockTag=function(){return $('.active[data-cmd="formatBlock"]').data("val")},$.Editable.prototype.updateBlockStyles=function(){var a=this.activeBlockTag();this.$bttn_wrapper.find(".fr-block-style").empty();var b=this.options.blockStyles[a];if(void 0===b&&(b=this.options.defaultBlockStyle),void 0!==b)for(var c in b){var d=b[c];this.$bttn_wrapper.find(".fr-block-style").append($("<li>").append($('<a href="#" data-text="true">').text(d).addClass(c)).attr("data-cmd","blockStyle").attr("data-val",c))}},$.Editable.prototype.refreshBlockStyle=function(a){this.disabledList.indexOf("blockStyle")>=0&&$(a).parents(".fr-dropdown .fr-trigger").prop("disabled",!0),$(a).removeClass("active"),this.isActive($(a).data("cmd"),$(a).data("val"))&&$(a).addClass("active")},$.Editable.prototype.blockStyle=function(a,b){var c=this.activeBlockTag();this.formatBlock(c,a,b)};
5
+ !function(a){a.Editable.commands=a.extend(a.Editable.commands,{blockStyle:{title:"Block Style",icon:"fa fa-magic"}}),a.Editable.DEFAULTS=a.extend(a.Editable.DEFAULTS,{defaultBlockStyle:{"f-italic":"Italic","f-typewriter":"Typewriter","f-spaced":"Spaced","f-uppercase":"Uppercase"},blockStylesToggle:!0,blockStyles:{}}),a.Editable.prototype.execCommand=a.extend(a.Editable.prototype.execCommand,{blockStyle:function(a,b,c){this.blockStyle(b,c)}}),a.Editable.prototype.command_dispatcher=a.extend(a.Editable.prototype.command_dispatcher,{blockStyle:function(a){var b=this.buildDropdownBlockStyle(a),c=this.buildDropdownButton(a,b);this.$bttn_wrapper.append(c),this.addListener("refresh",this.updateBlockStyles),this.registerRefreshEvent("blockStyle",function(a){this.refreshBlockStyle(a)})}}),a.Editable.prototype.buildDropdownBlockStyle=function(){var a='<ul class="fr-dropdown-menu fr-block-style">';return a+="</ul>"},a.Editable.prototype.activeBlockTag=function(){var b=a('.active[data-cmd="formatBlock"]').data("val");return b},a.Editable.prototype.updateBlockStyles=function(){var b=this.activeBlockTag();this.$bttn_wrapper.find(".fr-block-style").empty();var c=this.options.blockStyles[b];if(void 0===c&&(c=this.options.defaultBlockStyle),void 0!==c){this.$bttn_wrapper.find('.fr-dropdown[data-name="blockStyle"] .fr-trigger').prop("disabled",!1);for(var d in c){var e=c[d];this.$bttn_wrapper.find(".fr-block-style").append(a("<li>").append(a('<a href="#" data-text="true">').text(e).addClass(d)).attr("data-cmd","blockStyle").attr("data-val",d))}}},a.Editable.prototype.refreshBlockStyle=function(b){this.disabledList.indexOf("blockStyle")>=0&&a(b).parents(".fr-dropdown .fr-trigger").prop("disabled",!0),a(b).removeClass("active"),this.isActive(a(b).data("cmd"),a(b).data("val"))&&a(b).addClass("active")},a.Editable.prototype.active_dispatcher=a.extend(a.Editable.prototype.active_dispatcher,{blockStyle:function(a,b){return this._isActiveBlockStyle(a,b)}}),a.Editable.prototype._isActiveBlockStyle=function(b,c){var d=a(this.getSelectionElements()[0]);return d.get(0)!=this.$element.get(0)&&d.hasClass(c)?!0:!1},a.Editable.prototype.blockStyle=function(a,b){this.refreshBlocks();var c=this.activeBlockTag();this.formatBlock(c,a,b)}}(jQuery);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v1.1.7 (http://editor.froala.com)
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
3
  * Copyright 2014-2014 Froala
4
4
  */
5
- $.Editable.COLORS=["#000000","#444444","#666666","#999999","#CCCCCC","#EEEEEE","#F3F3F3","#FFFFFF","#FF0000","#FF9900","#FFFF00","#00FF00","#00FFFF","#0000FF","#9900FF","#FF00FF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#CFE2F3","#D9D2E9","#EAD1DC","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#9FC5E8","#B4A7D6","#D5A6BD","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6FA8DC","#8E7CC3","#C27BA0","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3D85C6","#674EA7","#A64D79","#990000","#B45F06","#BF9000","#38771D","#134F5C","#0B5394","#351C75","#741B47","#660000","#783F04","#7F6000","#274E13","#0C343D","#073763","#201211","#4C1130"],$.Editable.commands=$.extend($.Editable.commands,{color:{icon:"fa fa-tint",title:"Color",seed:[{cmd:"backColor",value:$.Editable.COLORS,title:"Background Color"},{cmd:"foreColor",value:$.Editable.COLORS,title:"Text Color"}]}}),$.Editable.prototype.execCommand=$.extend($.Editable.prototype.execCommand,{backColor:function(a,b){this.backColor(b)},foreColor:function(a,b){this.foreColor(b)}}),$.Editable.prototype.command_dispatcher=$.extend($.Editable.prototype.command_dispatcher,{color:function(a){var b=this.buildDropdownColor(a),c=this.buildDropdownButton(a,b,"fr-color-picker");this.$bttn_wrapper.append(c),this.registerRefreshEvent("backColor",function(a){this.refreshBackColor(a)}),this.registerRefreshEvent("foreColor",function(a){this.refreshForeColor(a)})}}),$.Editable.prototype.buildDropdownColor=function(a){for(var b='<div class="fr-dropdown-menu">',c=0;c<a.seed.length;c++){for(var d=a.seed[c],e='<div><p data-text="true">'+d.title+"</p>",f=0;f<d.value.length;f++){var g=d.value[f];e+='<button type="button" class="fr-color-bttn" data-val="'+g+'" data-cmd="'+d.cmd+'" style="background-color: '+g+';">&nbsp;</button>',f%8==7&&f>0&&(e+="<hr/>",(7==f||15==f)&&(e+='<div class="separator"></div>'))}e+="</div>",b+=e}return b+="</div>"},$.Editable.prototype.backColor=function(a){var b="backColor";this.browser.msie||(b="hiliteColor");var c=$(this.getSelectionElement()).css("background-color");document.execCommand(b,!1,a);var d=this.$editor.find('button.fr-color-bttn[data-cmd="backColor"][data-val="'+a+'"]');d.addClass("active"),d.siblings().removeClass("active"),this.callback("backColor",[$.Editable.hexToRGBString(a),c])},$.Editable.prototype.foreColor=function(a){var b=$(this.getSelectionElement()).css("color");document.execCommand("foreColor",!1,a),this.saveSelectionByMarkers(),this.$element.find("font[color]").each(function(b,c){$(c).replaceWith($("<span>").css("color",a).html($(c).html()))}),this.restoreSelectionByMarkers();var c=this.$editor.find('button.fr-color-bttn[data-cmd="foreColor"][data-val="'+a+'"]');c.addClass("active"),c.siblings().removeClass("active"),this.callback("foreColor",[$.Editable.hexToRGBString(a),b])};
5
+ !function(a){a.Editable.COLORS=["#000000","#444444","#666666","#999999","#CCCCCC","#EEEEEE","#F3F3F3","#FFFFFF","#FF0000","#FF9900","#FFFF00","#00FF00","#00FFFF","#0000FF","#9900FF","#FF00FF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#CFE2F3","#D9D2E9","#EAD1DC","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#9FC5E8","#B4A7D6","#D5A6BD","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6FA8DC","#8E7CC3","#C27BA0","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3D85C6","#674EA7","#A64D79","#990000","#B45F06","#BF9000","#38771D","#134F5C","#0B5394","#351C75","#741B47","#660000","#783F04","#7F6000","#274E13","#0C343D","#073763","#201211","#4C1130"],a.Editable.commands=a.extend(a.Editable.commands,{color:{icon:"fa fa-tint",title:"Color",seed:[{cmd:"backColor",value:a.Editable.COLORS,title:"Background Color"},{cmd:"foreColor",value:a.Editable.COLORS,title:"Text Color"}]}}),a.Editable.prototype.execCommand=a.extend(a.Editable.prototype.execCommand,{backColor:function(a,b){this.backColor(b)},foreColor:function(a,b){this.foreColor(b)}}),a.Editable.prototype.command_dispatcher=a.extend(a.Editable.prototype.command_dispatcher,{color:function(a){var b=this.buildDropdownColor(a),c=this.buildDropdownButton(a,b,"fr-color-picker");this.$bttn_wrapper.append(c),this.registerRefreshEvent("backColor",function(a){this.refreshBackColor(a)}),this.registerRefreshEvent("foreColor",function(a){this.refreshForeColor(a)})}}),a.Editable.prototype.buildDropdownColor=function(a){for(var b='<div class="fr-dropdown-menu">',c=0;c<a.seed.length;c++){for(var d=a.seed[c],e='<div><p><span data-text="true">'+d.title+'</span> <a data-val=" " data-cmd="'+d.cmd+'" class="fr-bttn" title="Clear"><i class="fa fa-eraser"></i></a></p>',f=0;f<d.value.length;f++){var g=d.value[f];e+='<button type="button" class="fr-color-bttn" data-val="'+g+'" data-cmd="'+d.cmd+'" style="background-color: '+g+';">&nbsp;</button>',f%8==7&&f>0&&(e+="<hr/>",(7==f||15==f)&&(e+='<div class="separator"></div>'))}e+="</div>",b+=e}return b+="</div>"},a.Editable.prototype.backColor=function(a){this.inlineStyle("background-color","backColor",a);var b=this.$editor.find('button.fr-color-bttn[data-cmd="backColor"][data-val="'+a+'"]');b.addClass("active"),b.siblings().removeClass("active")},a.Editable.prototype.foreColor=function(a){this.inlineStyle("color","foreColor",a);var b=this.$editor.find('button.fr-color-bttn[data-cmd="foreColor"][data-val="'+a+'"]');b.addClass("active"),b.siblings().removeClass("active")}}(jQuery);
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
+ * Copyright 2014-2014 Froala
4
+ */
5
+ !function(a){a.Editable.commands=a.extend(a.Editable.commands,{uploadFile:{title:"Upload File",icon:"fa fa-paperclip"}}),a.Editable.prototype.cmds_without_focus.push("uploadFile"),a.Editable.prototype.execCommand=a.extend(a.Editable.prototype.execCommand,{uploadFile:function(){this.insertFile()}}),a.Editable.DEFAULTS=a.extend(a.Editable.DEFAULTS,{allowedFileTypes:["*"],fileDeleteUrl:null,fileDeleteParams:{},fileUploadParams:{},fileUploadURL:"http://i.froala.com/upload",fileUploadParam:"file",maxFileSize:10485760}),a.Editable.prototype.showFileWrapper=function(){this.$file_wrapper&&this.$file_wrapper.show()},a.Editable.prototype.hideFileWrapper=function(){this.$file_wrapper&&this.$file_wrapper.hide()},a.Editable.prototype.showFileUpload=function(){this.hidePopups(),this.showFileWrapper()},a.Editable.prototype.insertFile=function(){this.showFileUpload(),this.saveSelection(),this.options.inlineMode||this.positionPopup("uploadFile")},a.Editable.prototype.fileUploadHTML=function(){var b='<div class="froala-popup froala-file-popup" style="display: none;"><h4><span data-text="true">Upload file</span><i title="Cancel" class="fa fa-times" id="f-file-close-'+this._id+'"></i></h4>';return b+='<div id="f-file-list-'+this._id+'">',this.options.imageUpload&&(b+='<div class="f-popup-line drop-upload">',b+='<div class="f-upload" id="f-file-upload-div-'+this._id+'"><strong data-text="true">Drop File</strong><br>(<span data-text="true">or click</span>)<form target="file-frame-'+this._id+'" enctype="multipart/form-data" encoding="multipart/form-data" action="'+this.options.fileUploadURL+'" method="post" id="f-file-form-'+this._id+'"><input id="f-file-upload-'+this._id+'" type="file" name="'+this.options.fileUploadParam+'" accept="/*"></form></div>',this.browser.msie&&a.Editable.getIEversion()<=9&&(b+='<iframe id="file-frame-'+this._id+'" name="file-frame-'+this._id+'" src="javascript:false;" style="width:0; height:0; border:0px solid #FFF; position: fixed; z-index: -1;" data-loaded="true"></iframe>'),b+="</div>"),b+="</div>",b+='<p class="f-progress" id="f-file-progress-'+this._id+'"><span></span></p>',b+="</div>"},a.Editable.prototype.buildFileUpload=function(){this.$file_wrapper=a(this.fileUploadHTML()),this.$popup_editor.append(this.$file_wrapper);var b=this;if(this.addListener("hidePopups",a.proxy(function(){this.hideFileWrapper()}),this),this.$file_progress_bar=this.$file_wrapper.find("p#f-file-progress-"+this._id),this.browser.msie&&a.Editable.getIEversion()<=9){var c=this.$file_wrapper.find("iframe").get(0);c.attachEvent?c.attachEvent("onload",function(){b.iFrameLoad()}):c.onload=function(){b.iFrameLoad()}}this.$file_wrapper.on("change",'input[type="file"]',function(){if(void 0!==this.files)b.uploadFile(this.files);else{var c=a(this).parents("form");c.find('input[type="hidden"]').remove();var d;for(d in b.options.fileUploadParams)c.prepend('<input type="hidden" name="'+d+'" value="'+b.options.fileUploadParams[d]+'" />');b.$file_wrapper.find("#f-file-list-"+b._id).hide(),b.$file_progress_bar.show(),b.$file_progress_bar.find("span").css("width","100%").text("Please wait!"),b.showFileUpload(),c.submit()}a(this).val("")}),this.buildDragUpload(),this.$file_wrapper.on("click","#f-file-close-"+this._id,a.proxy(function(){this.$bttn_wrapper.show(),this.hideFileWrapper(),this.restoreSelection(),this.hide()},this)),this.$file_wrapper.on("click",function(a){a.stopPropagation()}),this.$file_wrapper.on("click","*",function(a){a.stopPropagation()})},a.Editable.initializers.push(a.Editable.prototype.buildFileUpload),a.Editable.prototype.uploadFile=function(b){if(!this.triggerEvent("beforeFileUpload",[b],!1))return!1;if(void 0!==b&&b.length>0){var c;if(this.drag_support.formdata&&(c=this.drag_support.formdata?new FormData:null),c){var d;for(d in this.options.fileUploadParams)c.append(d,this.options.fileUploadParams[d]);if(c.append(this.options.fileUploadParam,b[0]),b[0].size>this.options.maxFileSize)return this.throwFileError(5),!1;if(this.options.allowedFileTypes.indexOf(b[0].type)<0&&this.options.allowedFileTypes.indexOf("*")<0)return this.throwFileError(6),!1}if(c){var e;this.options.crossDomain?e=this.createCORSRequest("POST",this.options.fileUploadURL):(e=new XMLHttpRequest,e.open("POST",this.options.fileUploadURL));var f=b[0].name;e.onload=a.proxy(function(){this.$file_progress_bar.find("span").css("width","100%").text("Please wait!");try{e.status>=200&&e.status<300?this.parseFileResponse(e.responseText,f):this.throwFileError(3)}catch(a){this.throwFileError(4)}},this),e.onerror=a.proxy(function(){this.throwFileError(3)},this),e.upload.onprogress=a.proxy(function(a){if(a.lengthComputable){var b=a.loaded/a.total*100|0;this.$file_progress_bar.find("span").css("width",b+"%")}},this),e.send(c),this.$file_wrapper.find("#f-file-list-"+this._id).hide(),this.$file_progress_bar.show(),this.showFileUpload()}}},a.Editable.prototype.throwFileError=function(a){var b="Unknown file upload error.";1==a?b="Bad link.":2==a?b="No link in upload response.":3==a?b="Error during file upload.":4==a?b="Parsing response failed.":5==a?b="File too large.":6==a?b="Invalid file type.":7==a&&(b="File can be uploaded only to same domain in IE 8 and IE 9."),this.triggerEvent("fileError",[{code:a,message:b}],!1),this.hideFileLoader()},a.Editable.prototype.hideFileLoader=function(){this.$file_progress_bar.hide(),this.$file_progress_bar.find("span").css("width","0%").text(""),this.$file_wrapper.find("#f-file-list-"+this._id).show()},a.Editable.prototype.throwFileErrorWithMessage=function(a){this.triggerEvent("fileError",[{message:a,code:0}],!1),this.hideFileLoader()},a.Editable.prototype.parseFileResponse=function(b,c){try{var d=a.parseJSON(b);d.link?this.writeFile(d.link,c):d.error?this.throwFileErrorWithMessage(d.error):this.throwFileError(2)}catch(e){this.throwFileError(4)}},a.Editable.prototype.writeFile=function(a,b){this.restoreSelection(),this.focus(),this.insertHTML('<a class="fr-file" href="'+this.sanitizeURL(a)+'">'+b+"</a>"),this.hide(),this.hideFileLoader(),this.saveUndoStep(),this.focus(),this.wrapText(),this.triggerEvent("fileUploaded",[b,a])}}(jQuery);
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
+ * Copyright 2014-2014 Froala
4
+ */
5
+ !function(a){a.Editable.DEFAULTS=a.extend(a.Editable.DEFAULTS,{fontList:["Arial, Helvetica","Courier, Courier New","Georgia","Times New Roman, Times","Trebuchet MS","Verdana, Geneva"]}),a.Editable.prototype.execCommand=a.extend(a.Editable.prototype.execCommand,{fontFamily:function(a,b){this.inlineStyle("font-family",a,b)}}),a.Editable.commands=a.extend(a.Editable.commands,{fontFamily:{title:"Font Family",icon:"fa fa-font"}}),a.Editable.prototype.command_dispatcher=a.extend(a.Editable.prototype.command_dispatcher,{fontFamily:function(a){var b=this.buildDropdownFontFamily(),c=this.buildDropdownButton(a,b,"fr-family");this.$bttn_wrapper.append(c)}}),a.Editable.prototype.buildDropdownFontFamily=function(){for(var a='<ul class="fr-dropdown-menu">',b=0;b<this.options.fontList.length;b++){var c=this.options.fontList[b],d='<li data-cmd="fontFamily" data-val="'+c+'">';d+='<a href="#" data-text="true" title="'+c+'" style="font-family: '+c+';">'+c+"</a></li>",a+=d}return a+="</ul>"}}(jQuery);
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
+ * Copyright 2014-2014 Froala
4
+ */
5
+ !function(a){a.Editable.prototype.execCommand=a.extend(a.Editable.prototype.execCommand,{fontSize:function(a,b){this.inlineStyle("font-size",a,b)}}),a.Editable.commands=a.extend(a.Editable.commands,{fontSize:{title:"Font Size",icon:"fa fa-text-height",seed:[{min:11,max:52}]}}),a.Editable.prototype.command_dispatcher=a.extend(a.Editable.prototype.command_dispatcher,{fontSize:function(a){var b=this.buildDropdownFontsize(a),c=this.buildDropdownButton(a,b);this.$bttn_wrapper.append(c)}}),a.Editable.prototype.buildDropdownFontsize=function(a){for(var b='<ul class="fr-dropdown-menu f-font-sizes">',c=0;c<a.seed.length;c++)for(var d=a.seed[c],e=d.min;e<=d.max;e++)b+='<li data-cmd="'+a.cmd+'" data-val="'+e+'px"><a href="#"><span>'+e+"px</span></a></li>";return b+="</ul>"}}(jQuery);
@@ -0,0 +1,5 @@
1
+ /*!
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
+ * Copyright 2014-2014 Froala
4
+ */
5
+ !function(a){a.Editable.commands=a.extend(a.Editable.commands,{insertOrderedList:{title:"Numbered List",icon:"fa fa-list-ol"},insertUnorderedList:{title:"Bulleted List",icon:"fa fa-list-ul"}}),a.Editable.prototype.execCommand=a.extend(a.Editable.prototype.execCommand,{insertOrderedList:function(a){this.formatList(a)},insertUnorderedList:function(a){this.formatList(a)}}),a.Editable.prototype.processBackspace=function(b){var c=b.prev();if(c.length){this.removeMarkers(),("UL"==c.get(0).tagName||"OL"==c.get(0).tagName)&&(c=c.find("li:last"));var d=c.find("> p, > h1, > h3, > h4, > h5, > h6, > div, > pre, > blockquote");0===c.text().length&&0===c.find("img, table, input, iframe, video").length?c.remove():(this.keep_enter=!0,b.find("> p, > h1, > h3, > h4, > h5, > h6, > div, > pre, > blockquote").each(function(b,c){a(c).replaceWith(a(c).html())}),this.keep_enter=!1,d.length?(a(d[d.length-1]).append('<span class="f-marker" data-type="true" data-id="0" data-fr-verified="true"></span><span class="f-marker" data-type="false" data-id="0" data-fr-verified="true"></span>'),a(d[d.length-1]).append(b.html())):(c.append('<span class="f-marker" data-type="true" data-id="0" data-fr-verified="true"></span><span class="f-marker" data-type="false" data-id="0" data-fr-verified="true"></span>'),c.append(b.html())),b.remove(),this.$element.find("breakli").remove(),this.restoreSelectionByMarkers())}else this.formatList(b.parents("ul").length?"insertUnorderedList":"insertOrderedList");this.sync(),this.saveUndoStep()},a.Editable.prototype.liBackspace=function(){var b,c=this.getSelectionElement(),d=a(c).parents("table, li");if(d.length>0&&"TABLE"===d[0].tagName)return!0;if(b="LI"==c.tagName?a(c):a(c).parents("li:first"),this.removeMarkers(),this.insertHTML("<breakli></breakli>"),b.find("breakli").prev().length&&"TABLE"===b.find("breakli").prev().get(0).tagName&&b.find("breakli").next().length&&"BR"===b.find("breakli").next().get(0).tagName)return this.setSelection(b.find("breakli").prev().find("td:first").get(0)),b.find("breakli").next().remove(),!1;for(var e,f=b.html(),g=[],h=0;h<f.length;h++){if(char=f.charAt(h),"<"!=char)return this.$element.find("breakli").remove(),!0;var i=f.indexOf(">",h+1);if(-1!==i){e=f.substring(h,i+1);var j=this.tagName(e);if(h=i,"breakli"==j){if(!this.isClosingTag(e)&&!this.isClosingTag(g[g.length-1]))return this.processBackspace(b),!1}else g.push(e)}}return this.$element.find("breakli").remove(),!0},a.Editable.prototype.emptyLiEnter=function(b){this.removeMarkers();var c="ol";b.parents("ul:first").length>0&&(c="ul");var d=a(b.parents("ul, ol")[0]);b.replaceWith(d.parents("ul, ol").length>0?'<span id="close-'+c+'" data-fr-verified="true"></span><li><p><span class="f-marker" data-type="true" data-id="0" data-fr-verified="true"></span><span class="f-marker" data-type="false" data-id="0" data-fr-verified="true"></span><br/></p></li><span id="open-'+c+'" data-fr-verified="true"></span>':'<span id="close-'+c+'" data-fr-verified="true"></span><p><span class="f-marker" data-type="true" data-id="0" data-fr-verified="true"></span><span class="f-marker" data-type="false" data-id="0" data-fr-verified="true"></span><br/></p><span id="open-'+c+'" data-fr-verified="true"></span>'),html=d.html(),html=html.replace('<span id="close-ul" data-fr-verified="true"></span>',"</ul>"),html=html.replace('<span id="close-ol" data-fr-verified="true"></span>',"</ol>"),html=html.replace('<span id="open-ul" data-fr-verified="true"></span>',"<ul>"),html=html.replace('<span id="open-ol" data-fr-verified="true"></span>',"<ol>"),d.replaceWith("<"+c+">"+html+"</"+c+">"),this.cleanupLists()},a.Editable.prototype.textLiEnter=function(b){this.removeMarkers(),this.insertHTML("<breakli></breakli>",!1);for(var c,d=b.html(),e=[],f={},g=[],h=0,i=0;i<d.length;i++)if(char=d.charAt(i),"<"==char){var j=d.indexOf(">",i+1);if(-1!==j){c=d.substring(i,j+1);var k=this.tagName(c);if(i=j,"breakli"==k){if(!this.isClosingTag(c)){for(var l=e.length-1;l>=0;l--){var m=this.tagName(e[l]);g.push("</"+m+">")}g.push("</li>"),g.push("<li>");for(var n=0;n<e.length;n++)g.push(e[n]);g.push('<span class="f-marker" data-type="true" data-id="0" data-fr-verified="true"></span><span class="f-marker" data-type="false" data-id="0" data-fr-verified="true"></span>')}}else if(g.push(c),!this.isSelfClosingTag(c))if(this.isClosingTag(c)){var o=f[k].pop();e.splice(o,1)}else e.push(c),void 0===f[k]&&(f[k]=[]),f[k].push(e.length-1)}}else h++,g.push(char);var p=a(b.parents("ul, ol")[0]);b.replaceWith("<li>"+g.join("")+"</li>"),p.find("p:empty + table").prev().remove(),p.find("p + table").each(function(b,c){var d=a(c);d.prev().append(d.clone()),d.remove()}),p.find("table + p").each(function(b,c){var d=a(c);d.append(d.prev().clone()),d.prev().remove()}),p.find(a.Editable.VALID_NODES.join(",")).each(function(b,c){"LI"!=c.tagName&&0===a(c).find("br").length&&""===a(c).text().trim()&&a(c).append("<br/>")}),p.find("li").each(a.proxy(function(b,c){this.wrapTextInElement(a(c))},this))},a.Editable.prototype.liEnter=function(){var b,c=this.getSelectionElement(),d=a(c).parents("table, li");return d.length>0&&"TABLE"==d[0].tagName?!0:(b="LI"==c.tagName?a(c):a(c).parents("li:first"),0===b.text().length&&0===b.find("img, table, iframe, input, object").length?this.emptyLiEnter(b):this.textLiEnter(b),this.restoreSelectionByMarkers(),this.sync(),this.saveUndoStep(),!1)},a.Editable.prototype.listTab=function(){return this.isActive("insertOrderedList")||this.isActive("insertUnorderedList")?(this.indent(),!1):void 0},a.Editable.prototype.listShiftTab=function(){return this.isActive("insertOrderedList")||this.isActive("insertUnorderedList")?(this.outdent(),!1):void 0},a.Editable.prototype.initList=function(){this.addListener("tab",this.listTab),this.addListener("shift+tab",this.listShiftTab),this.domInsertList(),this.isImage||this.isLink||this.options.editInPopup||this.$element.on("keydown",a.proxy(function(b){var c=b.which,d=this.getSelectionElement();if("LI"==d.tagName||a(d).parents("li").length>0){if(13==c&&!b.shiftKey)return this.liEnter();if(8==c)return this.liBackspace()}},this))},a.Editable.initializers.push(a.Editable.prototype.initList),a.Editable.prototype.formatList=function(b){if(this.browser.msie&&a.Editable.getIEversion()<9)return document.execCommand(b,!1,!1),!1;var c=!1;this.isActive(b)||(c=!0);var d,e=!0,f=!1,g=this.getSelectionElements();for(this.saveSelectionByMarkers(),i=0;i<g.length;i++)if(d=a(g[i]),("TD"==d.get(0).tagName||"TH"==d.get(0).tagName)&&this.wrapTextInElement(d),d.parents("li").length>0||"LI"==d.get(0).tagName){var h;h="LI"==d.get(0).tagName?d:d.parents("li");var j=d.parents("ul, ol");if(j.length>0){var k=j[0].tagName.toLowerCase();h.before('<span class="close-'+k+'" data-fr-verified="true"></span>'),h.after('<span class="open-'+k+'" data-fr-verified="true"></span>')}(0===a(j[0]).parents("ol, ul").length||c)&&h.replaceWith(h.contents()),f=!0}else e=!1;if(f&&this.cleanupLists(),this.clearSelection(),e===!1||c===!0){this.wrapText(),this.restoreSelectionByMarkers(),g=this.getSelectionElements(),this.saveSelectionByMarkers();var l=a("<ol>");"insertUnorderedList"==b&&(l=a("<ul>")),g[0]==this.$element.get(0)&&(g=this.$element.find("> "+a.Editable.VALID_NODES.join(", >")));for(var m=0;m<g.length;m++)d=a(g[m]),d.get(0)!=this.$element.get(0)&&(l.append(a("<li>").html(d.clone())),l.find("li").length>1?d.remove():d.replaceWith(l));this.unwrapText(),this.cleanupLists()}this.restoreSelectionByMarkers(),this.repositionEditor(),b="insertUnorderedList"==b?"unorderedListInserted":"orderedListInserted",this.triggerEvent(b)},a.Editable.prototype.cleanupLists=function(){this.$element.find("ul, ol").each(function(b,c){var d=a(c);if(d.find(".close-ul, .open-ul, .close-ol, .open-ol").length>0){var e="<"+c.tagName.toLowerCase()+">"+d.html()+"</"+c.tagName.toLowerCase()+">";e=e.replace(new RegExp('<span class="close-ul" data-fr-verified="true"></span>',"g"),"</ul>"),e=e.replace(new RegExp('<span class="open-ul" data-fr-verified="true"></span>',"g"),"<ul>"),e=e.replace(new RegExp('<span class="close-ol" data-fr-verified="true"></span>',"g"),"</ol>"),e=e.replace(new RegExp('<span class="open-ol" data-fr-verified="true"></span>',"g"),"<ol>"),d.replaceWith(e)}});for(var b=this.$element.find("ol + ol, ul + ul"),c=0;c<b.length;c++){var d=a(b[c]);d.prev().append(d.html()),d.remove()}this.$element.find("ul, ol").each(function(b,c){var d=a(c);0===d.find(a.Editable.VALID_NODES.join(",")).length&&d.remove()}),this.$element.find("li > td").remove(),this.$element.find("li:empty").remove(),this.$element.find("li td:empty").append("</br>")},a.Editable.prototype.indentLi=function(a){var b=a.closest("ul, ol"),c=b.get(0).tagName.toLowerCase();a.wrap("<"+c+"></"+c+">")},a.Editable.prototype.outdentLi=function(b){var c=a(b.parents("ul, ol")[0]),d=c.parents("ul, ol"),e=c.get(0).tagName.toLowerCase();b.before('<span class="close-'+e+'" data-fr-verified="true"></span>'),b.after('<span class="open-'+e+'" data-fr-verified="true"></span>'),d.length||b.replaceWith(b.html())},a.Editable.prototype._isActiveList=function(b){var c=this.getSelectionElement(),d=a(c).parents("ul, ol");return d.length&&d[0].tagName.toLowerCase()==b?!0:!1},a.Editable.prototype.domInsertList=function(){this.$element.on("DOMNodeInserted",a.proxy(function(b){"BR"!==b.target.tagName||"LI"!==a(b.target).parent().get(0).tagName||this.keep_enter||a(b.target).remove()},this))}}(jQuery);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v1.1.7 (http://editor.froala.com)
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
3
  * Copyright 2014-2014 Froala
4
4
  */
5
- $.Editable.DEFAULTS=$.extend($.Editable.DEFAULTS,{mediaManager:!0}),$.Editable.prototype.showMediaManager=function(){this.$image_modal.show(),this.$overlay.show(),this.loadImages(),$("body").css("overflow","hidden")},$.Editable.prototype.hideMediaManager=function(){this.$image_modal.hide(),this.$overlay.hide(),$("body").css("overflow","")},$.Editable.prototype.mediaModalHTML=function(){var a='<div class="froala-modal"><div class="f-modal-wrapper"><h4><span data-text="true">Manage images</span><i title="Cancel" class="fa fa-times" id="f-modal-close-'+this._id+'"></i></h4>';return a+='<img class="f-preloader" id="f-preloader-'+this._id+'" alt="Loading..." src="'+this.options.preloaderSrc+'" style="display: none;">',a+=WYSIWYGModernizr.touch?'<div class="f-image-list f-touch" id="f-image-list-'+this._id+'"></div>':'<div class="f-image-list" id="f-image-list-'+this._id+'"></div>',a+="</div></div>"},$.Editable.prototype.buildMediaManager=function(){this.$image_modal=$(this.mediaModalHTML()).appendTo("body"),this.$preloader=this.$image_modal.find("#f-preloader-"+this._id),this.$media_images=this.$image_modal.find("#f-image-list-"+this._id),this.$overlay=$('<div class="froala-overlay">').appendTo("body"),this.$image_modal.find("i#f-modal-close-"+this._id).click($.proxy(function(){this.hideMediaManager()},this)),this.$media_images.on("click touch","img",$.proxy(function(a){a.stopPropagation();var b=a.currentTarget;this.writeImage($(b).attr("src")),this.hideMediaManager()},this)),this.$media_images.on("click touchend",".f-delete-img",$.proxy(function(a){a.stopPropagation();var b=$(a.currentTarget).prev(),c="Are you sure? Image will be deleted.";$.Editable.LANGS[this.options.language]&&(c=$.Editable.LANGS[this.options.language].translation[c]),confirm(c)&&this.callback("beforeDeleteImage",[$(b)],!1)!==!1&&($(b).parent().addClass("f-img-deleting"),this.deleteImage($(b)))},this));this.options.mediaManager&&(this.$image_wrapper.on("click","#f-browser-"+this._id,$.proxy(function(){this.showMediaManager()},this)).on("click","#f-browser-"+this._id+" i",$.proxy(function(){this.showMediaManager()},this)),this.$image_wrapper.find("#f-browser-"+this._id).show()),this.hideMediaManager()},$.Editable.prototype.processLoadedImages=function(a){try{var b=a;this.$media_images.empty();for(var c=0;c<b.length;c++)b[c].src?this.loadImage(b[c].src,b[c].info):this.loadImage(b[c])}catch(d){this.throwImageError(4)}},$.Editable.prototype.loadImages=function(){this.$preloader.show(),this.$media_images.empty(),this.options.imagesLoadURL?($.support.cors=!0,$.getJSON(this.options.imagesLoadURL,this.options.imagesLoadParams,$.proxy(function(a){this.callback("imagesLoaded",[a],!1),this.processLoadedImages(a),this.$preloader.hide()},this)).fail($.proxy(function(){this.callback("imagesLoadError",["Load request failed."],!1),this.$preloader.hide()},this))):(this.callback("imagesLoadError",["Missing imagesLoadURL option."],!1),this.$preloader.hide())},$.Editable.prototype.loadImage=function(a,b){var c=new Image,d=$("<div>").addClass("f-empty");c.onload=$.proxy(function(){var c="Delete";$.Editable.LANGS[this.options.language]&&(c=$.Editable.LANGS[this.options.language].translation[c]);var e=$('<img src="'+a+'"/>');for(var f in b)e.attr("data-"+f,b[f]);d.append(e).append('<a class="f-delete-img"><span data-text="true">'+c+"</span></a>"),d.removeClass("f-empty"),this.$media_images.hide(),this.$media_images.show(),this.callback("imageLoaded",[a],!1)},this),c.onerror=$.proxy(function(){d.remove(),this.throwImageError(1)},this),c.src=a,this.$media_images.append(d)};
5
+ !function(a){a.Editable.DEFAULTS=a.extend(a.Editable.DEFAULTS,{mediaManager:!0,imagesLoadURL:"http://i.froala.com/images",imagesLoadParams:{}}),a.Editable.prototype.showMediaManager=function(){this.$image_modal.show(),this.$overlay.show(),this.loadImages(),a("body").css("overflow","hidden")},a.Editable.prototype.hideMediaManager=function(){this.$image_modal.hide(),this.$overlay.hide(),a("body").css("overflow","")},a.Editable.prototype.mediaModalHTML=function(){var a='<div class="froala-modal"><div class="f-modal-wrapper"><h4><span data-text="true">Manage images</span><i title="Cancel" class="fa fa-times" id="f-modal-close-'+this._id+'"></i></h4>';return a+='<img class="f-preloader" id="f-preloader-'+this._id+'" alt="Loading..." src="'+this.options.preloaderSrc+'" style="display: none;">',a+=WYSIWYGModernizr.touch?'<div class="f-image-list f-touch" id="f-image-list-'+this._id+'"></div>':'<div class="f-image-list" id="f-image-list-'+this._id+'"></div>',a+="</div></div>"},a.Editable.prototype.buildMediaManager=function(){this.$image_modal=a(this.mediaModalHTML()).appendTo("body"),this.$preloader=this.$image_modal.find("#f-preloader-"+this._id),this.$media_images=this.$image_modal.find("#f-image-list-"+this._id),this.$overlay=a('<div class="froala-overlay">').appendTo("body"),this.$overlay.on("mouseup",a.proxy(function(a){this.isResizing()||a.stopPropagation()},this)),this.$image_modal.on("mouseup",a.proxy(function(a){this.isResizing()||a.stopPropagation()},this)),this.$image_modal.find("i#f-modal-close-"+this._id).click(a.proxy(function(){this.hideMediaManager()},this)),this.$media_images.on("click touch","img",a.proxy(function(b){b.stopPropagation();var c=b.currentTarget;this.writeImage(a(c).attr("src")),this.hideMediaManager()},this)),this.$media_images.on("click touchend",".f-delete-img",a.proxy(function(b){b.stopPropagation();var c=a(b.currentTarget).prev(),d="Are you sure? Image will be deleted.";a.Editable.LANGS[this.options.language]&&(d=a.Editable.LANGS[this.options.language].translation[d]),confirm(d)&&this.triggerEvent("beforeDeleteImage",[a(c)],!1)!==!1&&(a(c).parent().addClass("f-img-deleting"),this.deleteImage(a(c)))},this)),this.options.mediaManager&&(this.$image_wrapper.on("click","#f-browser-"+this._id,a.proxy(function(){this.showMediaManager()},this)).on("click","#f-browser-"+this._id+" i",a.proxy(function(){this.showMediaManager()},this)),this.$image_wrapper.find("#f-browser-"+this._id).show()),this.hideMediaManager()},a.Editable.prototype.destroyMediaManager=function(){this.hideMediaManager(),this.$overlay.html("").removeData().remove(),this.$image_modal.html("").removeData().remove()},a.Editable.prototype.initMediaManager=function(){return this.options.mediaManager?(this.buildMediaManager(),void this.addListener("destroy",this.destroyMediaManager)):!1},a.Editable.initializers.push(a.Editable.prototype.initMediaManager),a.Editable.prototype.processLoadedImages=function(a){try{if(a.error)this.throwImagesLoadErrorWithMessage(a.error);else{this.$media_images.empty();for(var b=0;b<a.length;b++)a[b].src?this.loadImage(a[b].src,a[b].info):this.loadImage(a[b])}}catch(c){this.throwLoadImagesError(4)}},a.Editable.prototype.throwImagesLoadErrorWithMessage=function(a){this.triggerEvent("imagesLoadError",[{message:a,code:0}],!1),this.hideImageLoader()},a.Editable.prototype.loadImages=function(){this.$preloader.show(),this.$media_images.empty(),this.options.imagesLoadURL?(a.support.cors=!0,a.getJSON(this.options.imagesLoadURL,this.options.imagesLoadParams,a.proxy(function(a){this.triggerEvent("imagesLoaded",[a],!1),this.processLoadedImages(a),this.$preloader.hide()},this)).fail(a.proxy(function(){this.throwLoadImagesError(2)},this))):this.throwLoadImagesError(3)},a.Editable.prototype.throwLoadImagesError=function(a){void 0===a&&(a=-1);var b="Unknown image upload error.";1==a?b="Bad link.":2==a?b="Error during request.":3==a?b="Missing imagesLoadURL option.":4==a&&(b="Parsing response failed."),this.triggerEvent("imagesLoadError",[{code:a,message:b}],!1),this.$preloader.hide()},a.Editable.prototype.loadImage=function(b,c){var d=new Image,e=a("<div>").addClass("f-empty");d.onload=a.proxy(function(){var d="Delete";a.Editable.LANGS[this.options.language]&&(d=a.Editable.LANGS[this.options.language].translation[d]);var f=a('<img src="'+b+'"/>');for(var g in c)f.attr("data-"+g,c[g]);e.append(f).append('<a class="f-delete-img"><span data-text="true">'+d+"</span></a>"),e.removeClass("f-empty"),this.$media_images.hide(),this.$media_images.show(),this.triggerEvent("imageLoaded",[b],!1)},this),d.onerror=a.proxy(function(){e.remove(),this.throwLoadImagesError(1)},this),d.src=b,this.$media_images.append(e)}}(jQuery);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v1.1.7 (http://editor.froala.com)
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
3
  * Copyright 2014-2014 Froala
4
4
  */
5
- $.Editable.commands=$.extend($.Editable.commands,{table:{title:"Table",icon:"fa fa-table"}}),$.Editable.DEFAULTS.buttons[$.Editable.DEFAULTS.buttons.indexOf("insertHorizontalRule")]="table",$.Editable.prototype.execCommand=$.extend($.Editable.prototype.execCommand,{insertTable:function(a,b,c){this.insertTable(b,c)},insertRowAbove:function(){this.insertRow("above")},insertRowBelow:function(){this.insertRow("below")},insertColumnBefore:function(){this.insertColumn("before")},insertColumnAfter:function(){this.insertColumn("after")},deleteColumn:function(){this.deleteColumn()},deleteRow:function(){this.deleteRow()},insertCellBefore:function(){this.insertCell("before")},insertCellAfter:function(){this.insertCell("after")},mergeCells:function(){this.mergeCells()},deleteCell:function(){this.deleteCell()},splitVertical:function(){this.splitVertical()},splitHorizontal:function(){this.splitHorizontal()},insertHeader:function(){this.insertHeader()},deleteHeader:function(){this.deleteHeader()},deleteTable:function(){this.deleteTable()}}),$.Editable.prototype.command_dispatcher=$.extend($.Editable.prototype.command_dispatcher,{table:function(a){var b=this.buildDropdownTable(),c=this.buildDropdownButton(a,b,"fr-table");this.$bttn_wrapper.append(c),this.bindTableDropdownEvents()}}),$.Editable.prototype.buildDropdownTable=function(){var a='<ul class="fr-dropdown-menu fr-table">';a+='<li> <a href="#"><span data-text="true">Insert table</span> <i class="fa fa-chevron-right"></i></a> <div class="select-table"> ',a+='<div class="fr-t-info">1 x 1</div>';for(var b=1;10>=b;b++){for(var c=1;10>=c;c++){var d="inline-block";(b>5||c>5)&&(d="none");var e="fr-bttn ";1==b&&1==c&&(e+=" hover"),a+='<span class="'+e+'" data-cmd="insertTable" data-val="'+b+'" data-param="'+c+'" style="display: '+d+';"><span></span></span>'}a+='<div class="new-line"></div>'}return a+="</div> </li>",a+='<li><a href="#"><span data-text="true">Cell</span> <i class="fa fa-chevron-right"></i></a> <ul> <li data-cmd="insertCellBefore"><a href="#" data-text="true">Insert cell before</a></li> <li data-cmd="insertCellAfter"><a href="#" data-text="true">Insert cell after</a></li> <li data-cmd="deleteCell"><a href="#" data-text="true">Delete cell</a></li> <li data-cmd="mergeCells"><a href="#" data-text="true">Merge cells</a></li> <li data-cmd="splitHorizontal"><a href="#" data-text="true">Horizontal split</a></li> <li data-cmd="splitVertical"><a href="#" data-text="true">Vertical split</a></li> </ul></li>',a+='<li><a href="#"><span data-text="true">Row</span> <i class="fa fa-chevron-right"></i></a> <ul> <li data-cmd="insertRowAbove"><a href="#" data-text="true">Insert row above</a></li> <li data-cmd="insertRowBelow"><a href="#" data-text="true">Insert row below</a></li> <li data-cmd="deleteRow"><a href="#" data-text="true">Delete row</a></li> </ul></li>',a+='<li><a href="#"><span data-text="true">Column</span> <i class="fa fa-chevron-right"></i></a> <ul> <li data-cmd="insertColumnBefore"><a href="#" data-text="true">Insert column before</a></li> <li data-cmd="insertColumnAfter"><a href="#" data-text="true">Insert column after</a></li> <li data-cmd="deleteColumn"><a href="#" data-text="true">Delete column</a></li> </ul></li>',a+='<li data-cmd="deleteTable"><a href="#" data-text="true">Delete table</a></li>',a+="</ul>"},$.Editable.prototype.bindTableDropdownEvents=function(){var a=this;this.$bttn_wrapper.on("mouseenter",".fr-table .select-table > span",function(){var b=$(this).data("val"),c=$(this).data("param");a.$bttn_wrapper.find(".fr-table .select-table .fr-t-info").text(b+" x "+c),a.$bttn_wrapper.find(".fr-table .select-table > span").removeClass("hover");for(var d=1;10>=d;d++)for(var e=0;10>=e;e++){var f=a.$bttn_wrapper.find('.fr-table .select-table > span[data-val="'+d+'"][data-param="'+e+'"]');b>=d&&c>=e?f.addClass("hover"):(b+1>=d||5>=d)&&(c+1>=e||5>=e)?f.css("display","inline-block"):(d>5||e>5)&&f.css("display","none")}}),this.$bttn_wrapper.on("mouseleave",".fr-table .select-table",function(){a.$bttn_wrapper.find('.fr-table .select-table > span[data-val="1"][data-param="1"]').trigger("mouseenter")})},$.Editable.prototype.tableMap=function(){var a=this.currentTable(),b=[];return a&&a.find("tr").each(function(a,c){var d=$(c),e=0;d.find("td").each(function(c,d){for(var f=$(d),g=parseInt(f.attr("colspan"))||1,h=parseInt(f.attr("rowspan"))||1,i=a;a+h>i;i++)for(var j=e;e+g>j;j++)b[i]||(b[i]=[]),b[i][j]?e++:b[i][j]=d;e+=g})}),b},$.Editable.prototype.cellOrigin=function(a,b){for(var c=0;c<b.length;c++)for(var d=0;d<b[c].length;d++)if(b[c][d]==a)return{row:c,col:d}},$.Editable.prototype.canMergeCells=function(){var a=this.getSelectionCells();if(a.length<2)return!1;for(var b=this.tableMap(),c=0,d=32e3,e=0,f=32e3,g=0,h=0;h<a.length;h++){var i=$(a[h]),j=parseInt(i.attr("colspan"))||1,k=parseInt(i.attr("rowspan"))||1,l=this.cellOrigin(a[h],b);c+=j*k,d=Math.min(d,l.col),e=Math.max(e,l.col+j),f=Math.min(f,l.row),g=Math.max(g,l.row+k)}return c==(e-d)*(g-f)?{row:f,col:d,colspan:e-d,rowspan:g-f,map:b,cells:a}:null},$.Editable.prototype.currentCell=function(){var a=this.getSelectionCells();return a.length>0?a[0]:null},$.Editable.prototype.currentTable=function(){for(var a=$(this.getSelectionElement());a.get(0)!=this.$element.get(0)&&a.get(0)!=$("body").get(0)&&"TABLE"!=a.get(0).tagName;)a=a.parent();return a.get(0)!=this.$element.get(0)?a:null},$.Editable.prototype.focusOnTable=function(){var a=this.currentTable();if(a){var b=a.find("td:first");this.setSelection(b.get(0))}},$.Editable.prototype.insertCell=function(a){for(var b=this.getSelectionCells(),c=0;c<b.length;c++){var d=$(b[c]);"before"==a?d.before(d.clone().removeAttr("colspan").removeAttr("rowspan").html("<br/>")):"after"==a&&d.after(d.clone().removeAttr("colspan").removeAttr("rowspan").html("<br/>"))}"before"==a?this.callback("insertCellBefore"):"after"==a&&this.callback("insertCellAfter")},$.Editable.prototype.mergeCells=function(){var a=this.canMergeCells();if(a){var b=$(a.map[a.row][a.col]);b.attr("colspan",a.colspan),b.attr("rowspan",a.rowspan);for(var c=0;c<a.cells.length;c++){var d=a.cells[c];if(b.get(0)!=d){var e=$(d);b.append(e.html()),e.remove()}}this.setSelection(b.get(0))}this.callback("mergeCells")},$.Editable.prototype.deleteCell=function(){for(var a=this.getSelectionCells(),b=0;b<a.length;b++){var c=$(a[b]);c.remove()}this.focusOnTable(),this.callback("deleteCell")},$.Editable.prototype.insertHeader=function(){var a=this.currentTable();a&&a.find(" > thead").length>0&&this.callback("insertHeader")},$.Editable.prototype.deleteHeader=function(){},$.Editable.prototype.insertColumn=function(a){var b=this.currentCell();if(b)for(var c=$(b),d=this.tableMap(),e=this.cellOrigin(c.get(0),d),f=0;f<d.length;f++){var g=d[f][e.col],h=parseInt($(g).attr("colspan"))||1,i=parseInt($(g).attr("rowspan"))||1;if("before"==a){var j=d[f][e.col-1];j?j==g?$(j).attr("colspan",h+1):i>1?$(j).after("<td><br/></td>"):$(g).before("<td><br/></td>"):$(g).before("<td><br/></td>")}else if("after"==a){var k=d[f][e.col+1];k?k==g?$(k).attr("colspan",h+1):i>1?$(k).before("<td><br/></td>"):$(g).after("<td><br/></td>"):$(g).after("<td><br/></td>")}}"before"==a?this.callback("insertColumnBefore"):"after"==a&&this.callback("insertColumnAfter")},$.Editable.prototype.deleteColumn=function(){for(var a=this.getSelectionCells(),b=0;b<a.length;b++)for(var c=$(a[b]),d=this.tableMap(),e=this.cellOrigin(c.get(0),d),f=0;f<d.length;f++){{var g=d[f][e.col],h=parseInt($(g).attr("colspan"))||1;parseInt($(g).attr("rowspan"))||1}if(1==h)$(g).remove();else{{this.cellOrigin(g,d)}$(g).attr("colspan",h-1)}}this.focusOnTable(),this.callback("deleteColumn")},$.Editable.prototype.insertRow=function(a){var b=this.currentCell();if(b){for(var c=$(b),d=this.tableMap(),e=this.cellOrigin(c.get(0),d),f=0,g=null,h=0;h<d[e.row].length;h++){var i=d[e.row][h],j=(parseInt($(i).attr("colspan"))||1,parseInt($(i).attr("rowspan"))||1);if("above"==a)if(0==e.row)f++;else{var k=d[e.row-1][h];k==i&&g!=i?$(i).attr("rowspan",j+1):f++}else if("below"==a)if(e.row==d.length-1)f++;else{var l=d[e.row+1][h];l==i&&g!=i?$(i).attr("rowspan",j+1):f++}g=d[e.row][h]}for(var m="<tr>",h=0;f>h;h++)m+="<td><br/></td>";m+="</tr>","below"==a?c.closest("tr").after(m):"above"==a&&c.closest("tr").before(m)}"below"==a?this.callback("insertRowBelow"):"above"==a&&this.callback("insertRowAbove")},$.Editable.prototype.deleteRow=function(){for(var a=this.getSelectionCells(),b=0;b<a.length;b++){for(var c=$(a[b]),d=this.tableMap(),e=this.cellOrigin(c.get(0),d),f=c.parents("tr:first"),g=0;g<d[e.row].length;g++){var h=d[e.row][g],i=(parseInt($(h).attr("colspan"))||1,parseInt($(h).attr("rowspan"))||1);if(1==i)$(h).remove();else{var j=this.cellOrigin(h,d);if($(h).attr("rowspan",i-1),j.row==e.row){var k=d[e.row+1];k&&k[g-1]&&($(k[g-1]).after($(h).clone()),$(h).remove())}}}f.remove()}this.focusOnTable(),this.callback("deleteRow")},$.Editable.prototype.splitVertical=function(){for(var a=this.getSelectionCells(),b=0;b<a.length;b++){var c=$(a[b]),d=this.tableMap(),e=this.cellOrigin(c.get(0),d),f=parseInt(c.attr("colspan"))||1,g=parseInt(c.attr("rowspan"))||1;if(g>1){var h=Math.floor(g/2),i=e.row+(g-h),j=d[i][e.col-1];j||(j=d[i][e.col+f]),j?$(j).before(c.clone().attr("rowspan",h).html("<br/>")):c.parents("tr:first").after($("<tr>").append(c.clone().attr("rowspan",h).html("<br/>"))),c.attr("rowspan",g-h)}else{for(var k=$("<tr>").append(c.clone().html("<br/>")),l=null,m=0;m<d[e.row].length;m++){var n=d[e.row][m],o=parseInt($(n).attr("rowspan"))||1;l!=n&&n!=c.get(0)&&$(n).attr("rowspan",o+1),l=n}c.parents("tr:first").after(k)}}this.callback("splitHorizontal")},$.Editable.prototype.splitHorizontal=function(){for(var a=this.getSelectionCells(),b=0;b<a.length;b++){{var c=$(a[b]),d=this.tableMap(),e=this.cellOrigin(c.get(0),d),f=parseInt(c.attr("colspan"))||1;parseInt(c.attr("rowspan"))||1}if(f>1){var g=Math.floor(f/2);c.after(c.clone().attr("colspan",g).html("<br/>")),c.attr("colspan",f-g)}else{for(var h=null,i=0;i<d.length;i++){var j=d[i][e.col],k=parseInt($(j).attr("colspan"))||1;h!=j&&j!=c.get(0)&&$(j).attr("colspan",k+1),h=j}c.after(c.clone().html("<br/>"))}}this.callback("splitVertical")},$.Editable.prototype.insertTable=function(a,b){for(var c='<table class="f-t-l" width="100%">',d=0;a>d;d++){c+="<tr>";for(var e=0;b>e;e++)c+="<td><br/></td>";c+="</tr>"}c+="</table>",this.insertHTML(c);var f=this.$element.find("table.f-t-l");f.removeClass("f-t-l"),this.setSelection(f.find("td:first").get(0)),this.$element.focus(),this.callback("insertTable")},$.Editable.prototype.deleteTable=function(){var a=this.currentTable();a&&(a.remove(),this.callback("deleteTable"))};
5
+ !function(a){a.Editable.commands=a.extend(a.Editable.commands,{table:{title:"Table",icon:"fa fa-table"}}),a.Editable.DEFAULTS.buttons[a.Editable.DEFAULTS.buttons.indexOf("insertHorizontalRule")]="table",a.Editable.prototype.execCommand=a.extend(a.Editable.prototype.execCommand,{insertTable:function(a,b,c){this.insertTable(b,c)},insertRowAbove:function(){this.insertRow("above")},insertRowBelow:function(){this.insertRow("below")},insertColumnBefore:function(){this.insertColumn("before")},insertColumnAfter:function(){this.insertColumn("after")},deleteColumn:function(){this.deleteColumn()},deleteRow:function(){this.deleteRow()},insertCellBefore:function(){this.insertCell("before")},insertCellAfter:function(){this.insertCell("after")},mergeCells:function(){this.mergeCells()},deleteCell:function(){this.deleteCell()},splitVertical:function(){this.splitVertical()},splitHorizontal:function(){this.splitHorizontal()},insertHeader:function(){this.insertHeader()},deleteHeader:function(){this.deleteHeader()},deleteTable:function(){this.deleteTable()}}),a.Editable.prototype.command_dispatcher=a.extend(a.Editable.prototype.command_dispatcher,{table:function(a){var b=this.buildDropdownTable(),c=this.buildDropdownButton(a,b,"fr-table");this.$bttn_wrapper.append(c),this.bindTableDropdownEvents()}}),a.Editable.prototype.initTable=function(){var b=this;this.$editor.on("click mouseup touch touchend",".fr-table a",function(c){c.preventDefault(),c.stopPropagation(),b.android()&&(a(this).parent().siblings().removeClass("hover"),a(this).parent().addClass("hover"))})},a.Editable.initializers.push(a.Editable.prototype.initTable),a.Editable.prototype.buildDropdownTable=function(){var a='<ul class="fr-dropdown-menu fr-table">';a+='<li> <a href="#"><span data-text="true">Insert table</span> <i class="fa fa-chevron-right"></i></a><div class="select-table"> ',a+='<div class="fr-t-info">1 x 1</div>';for(var b=1;10>=b;b++){for(var c=1;10>=c;c++){var d="inline-block";(b>5||c>5)&&(d="none");var e="fr-bttn ";1==b&&1==c&&(e+=" hover"),a+='<span class="'+e+'" data-cmd="insertTable" data-val="'+b+'" data-param="'+c+'" style="display: '+d+';"><span></span></span>'}a+='<div class="new-line"></div>'}return a+="</div> </li>",a+='<li><a href="#"><span data-text="true">Cell</span> <i class="fa fa-chevron-right"></i></a> <ul> <li data-cmd="insertCellBefore"><a href="#" data-text="true">Insert cell before</a></li><li data-cmd="insertCellAfter"><a href="#" data-text="true">Insert cell after</a></li><li data-cmd="deleteCell"><a href="#" data-text="true">Delete cell</a></li><li data-cmd="mergeCells"><a href="#" data-text="true">Merge cells</a></li><li data-cmd="splitHorizontal"><a href="#" data-text="true">Horizontal split</a></li><li data-cmd="splitVertical"><a href="#" data-text="true">Vertical split</a></li></ul></li>',a+='<li><a href="#"><span data-text="true">Row</span> <i class="fa fa-chevron-right"></i></a> <ul><li data-cmd="insertRowAbove"><a href="#" data-text="true">Insert row above</a></li><li data-cmd="insertRowBelow"><a href="#" data-text="true">Insert row below</a></li><li data-cmd="deleteRow"><a href="#" data-text="true">Delete row</a></li></ul></li>',a+='<li><a href="#"><span data-text="true">Column</span> <i class="fa fa-chevron-right"></i></a> <ul> <li data-cmd="insertColumnBefore"><a href="#" data-text="true">Insert column before</a></li> <li data-cmd="insertColumnAfter"><a href="#" data-text="true">Insert column after</a></li> <li data-cmd="deleteColumn"><a href="#" data-text="true">Delete column</a></li> </ul></li>',a+='<li data-cmd="deleteTable"><a href="#" data-text="true">Delete table</a></li>',a+="</ul>"},a.Editable.prototype.bindTableDropdownEvents=function(){var b=this;this.$bttn_wrapper.on("mouseenter",".fr-table .select-table > span",function(){var c=a(this).data("val"),d=a(this).data("param");b.$bttn_wrapper.find(".fr-table .select-table .fr-t-info").text(c+" x "+d),b.$bttn_wrapper.find(".fr-table .select-table > span").removeClass("hover");for(var e=1;10>=e;e++)for(var f=0;10>=f;f++){var g=b.$bttn_wrapper.find('.fr-table .select-table > span[data-val="'+e+'"][data-param="'+f+'"]');c>=e&&d>=f?g.addClass("hover"):(c+1>=e||5>=e)&&(d+1>=f||5>=f)?g.css("display","inline-block"):(e>5||f>5)&&g.css("display","none")}}),this.$bttn_wrapper.on("mouseleave",".fr-table .select-table",function(){b.$bttn_wrapper.find('.fr-table .select-table > span[data-val="1"][data-param="1"]').trigger("mouseenter")}),this.android()&&this.$bttn_wrapper.on("touchend",".fr-table .fr-trigger",function(){a(this).parents(".fr-table").find(".hover").removeClass("hover")})},a.Editable.prototype.tableMap=function(){var b=this.currentTable(),c=[];return b&&b.find("tr:not(:empty)").each(function(b,d){var e=a(d),f=0;e.find("td").each(function(d,e){for(var g=a(e),h=parseInt(g.attr("colspan"))||1,i=parseInt(g.attr("rowspan"))||1,j=b;b+i>j;j++)for(var k=f;f+h>k;k++)c[j]||(c[j]=[]),c[j][k]?f++:c[j][k]=e;f+=h})}),c},a.Editable.prototype.cellOrigin=function(a,b){for(var c=0;c<b.length;c++)for(var d=0;d<b[c].length;d++)if(b[c][d]==a)return{row:c,col:d}},a.Editable.prototype.canMergeCells=function(){var b=this.getSelectionCells();if(b.length<2)return!1;for(var c=this.tableMap(),d=0,e=32e3,f=0,g=32e3,h=0,i=0;i<b.length;i++){var j=a(b[i]),k=parseInt(j.attr("colspan"))||1,l=parseInt(j.attr("rowspan"))||1,m=this.cellOrigin(b[i],c);d+=k*l,e=Math.min(e,m.col),f=Math.max(f,m.col+k),g=Math.min(g,m.row),h=Math.max(h,m.row+l)}return d==(f-e)*(h-g)?{row:g,col:e,colspan:f-e,rowspan:h-g,map:c,cells:b}:null},a.Editable.prototype.getSelectionCells=function(){var b,c=[];if(this.browser.webkit){var d=this.getSelectionElements();for(b=0;b<d.length;b++)("TD"==d[b].tagName||"TH"==d[b].tagName)&&c.push(d[b])}else{var e=this.getRanges();for(b=0;b<e.length;b++){var f=e[b],g=!1;if("TD"==f.startContainer.tagName||"TH"==f.startContainer.tagName)c.push(f.startContainer),g=!0;else{var h=f.startContainer.childNodes,i=f.startOffset;if(h.length>i&&i>=0){var j=h[i];("TD"==j.tagName||"TH"==j.tagName)&&(c.push(j),g=!0)}}if(g===!1){var k=a(f.startContainer).parents("td:first, th:first");k.length>0&&c.push(k.get(0))}}}return c},a.Editable.prototype.currentCell=function(){var a=this.getSelectionCells();return a.length>0?a[0]:null},a.Editable.prototype.prevCell=function(){var b=this.currentCell();if(b){if(a(b).prev("td").length)return a(b).prev("td").get(0);if(a(b).parent().prev("tr").find("td").length)return a(b).parent().prev("tr").find("td:last").get(0)}return null},a.Editable.prototype.nextCell=function(){var b=this.currentCell();if(b){if(a(b).next("td").length)return a(b).next("td").get(0);if(a(b).parent().next("tr").find("td").length)return a(b).parent().next("tr").find("td").get(0)}return null},a.Editable.prototype.currentTable=function(){for(var b=a(this.getSelectionElement());b.get(0)!=this.$element.get(0)&&b.get(0)!=a("body").get(0)&&"TABLE"!=b.get(0).tagName;)b=b.parent();return b.get(0)!=this.$element.get(0)?b:null},a.Editable.prototype.focusOnTable=function(){var a=this.currentTable();if(a){var b=a.find("td:first");this.setSelection(b.get(0))}},a.Editable.prototype.insertCell=function(b){for(var c=this.getSelectionCells(),d=0;d<c.length;d++){var e=a(c[d]);"before"==b?e.before(e.clone().removeAttr("colspan").removeAttr("rowspan").html("<br/>")):"after"==b&&e.after(e.clone().removeAttr("colspan").removeAttr("rowspan").html("<br/>"))}"before"==b?this.triggerEvent("cellInsertedBefore"):"after"==b&&this.triggerEvent("cellInsertedAfter")},a.Editable.prototype.mergeCells=function(){var b=this.canMergeCells();if(b){var c=a(b.map[b.row][b.col]);c.attr("colspan",b.colspan),c.attr("rowspan",b.rowspan);for(var d=0;d<b.cells.length;d++){var e=b.cells[d];if(c.get(0)!=e){var f=a(e);c.append(f.html()),f.remove()}}this.setSelection(c.get(0))}this.hide(),this.triggerEvent("cellsMerged")},a.Editable.prototype.deleteCell=function(){for(var b=this.getSelectionCells(),c=0;c<b.length;c++){var d=a(b[c]);d.remove()}this.focusOnTable(),this.hide(),this.triggerEvent("cellDeleted")},a.Editable.prototype.insertHeader=function(){var a=this.currentTable();a&&a.find(" > thead").length>0&&this.triggerEvent("headerInserted")},a.Editable.prototype.deleteHeader=function(){},a.Editable.prototype.insertColumn=function(b){var c=this.currentCell();if(c)for(var d=a(c),e=this.tableMap(),f=this.cellOrigin(d.get(0),e),g=0;g<e.length;g++){var h=e[g][f.col],i=parseInt(a(h).attr("colspan"))||1,j=parseInt(a(h).attr("rowspan"))||1;if("before"==b){var k=e[g][f.col-1];k?k==h?a(k).attr("colspan",i+1):j>1?a(k).after("<td><br/></td>"):a(h).before("<td><br/></td>"):a(h).before("<td><br/></td>")}else if("after"==b){var l=e[g][f.col+1];l?l==h?a(l).attr("colspan",i+1):j>1?a(l).before("<td><br/></td>"):a(h).after("<td><br/></td>"):a(h).after("<td><br/></td>")}}this.hide(),"before"==b?this.triggerEvent("columnInsertedBefore"):"after"==b&&this.triggerEvent("columnInsertedAfter")},a.Editable.prototype.deleteColumn=function(){for(var b=this.getSelectionCells(),c=0;c<b.length;c++)for(var d=a(b[c]),e=this.tableMap(),f=this.cellOrigin(d.get(0),e),g=0;g<e.length;g++){var h=e[g][f.col],i=parseInt(a(h).attr("colspan"))||1;1==i?a(h).remove():a(h).attr("colspan",i-1)}this.focusOnTable(),this.hide(),this.triggerEvent("columnDeleted")},a.Editable.prototype.insertRow=function(b){var c,d=this.currentCell();if(d){var e=a(d),f=this.tableMap(),g=this.cellOrigin(e.get(0),f),h=0,i=null;for(c=0;c<f[g.row].length;c++){var j=f[g.row][c],k=parseInt(a(j).attr("rowspan"))||1;if("above"==b)if(0===g.row)h++;else{var l=f[g.row-1][c];l==j&&i!=j?a(j).attr("rowspan",k+1):h++}else if("below"==b)if(g.row==f.length-1)h++;else{var m=f[g.row+1][c];m==j&&i!=j?a(j).attr("rowspan",k+1):h++}i=f[g.row][c]}var n="<tr>";for(c=0;h>c;c++)n+="<td><br/></td>";n+="</tr>","below"==b?e.closest("tr").after(n):"above"==b&&e.closest("tr").before(n)}this.hide(),"below"==b?this.triggerEvent("rowInsertedBelow"):"above"==b&&this.triggerEvent("rowInsertedAbove")},a.Editable.prototype.deleteRow=function(){for(var b=this.getSelectionCells(),c=0;c<b.length;c++){for(var d=a(b[c]),e=this.tableMap(),f=this.cellOrigin(d.get(0),e),g=d.parents("tr:first"),h=0;h<e[f.row].length;h++){var i=e[f.row][h],j=parseInt(a(i).attr("rowspan"))||1;if(1==j)a(i).remove();else{var k=this.cellOrigin(i,e);if(a(i).attr("rowspan",j-1),k.row==f.row){var l=e[f.row+1];l&&l[h-1]&&(a(l[h-1]).after(a(i).clone()),a(i).remove())}}}g.remove()}this.focusOnTable(),this.hide(),this.triggerEvent("rowDeleted")},a.Editable.prototype.splitVertical=function(){for(var b=this.getSelectionCells(),c=0;c<b.length;c++){var d=a(b[c]),e=this.tableMap(),f=this.cellOrigin(d.get(0),e),g=parseInt(d.attr("colspan"))||1,h=parseInt(d.attr("rowspan"))||1;if(h>1){var i=Math.floor(h/2),j=f.row+(h-i),k=e[j][f.col-1];k||(k=e[j][f.col+g]),k?a(k).before(d.clone().attr("rowspan",i).html("<br/>")):d.parents("tr:first").after(a("<tr>").append(d.clone().attr("rowspan",i).html("<br/>"))),d.attr("rowspan",h-i)}else{for(var l=a("<tr>").append(d.clone().html("<br/>")),m=null,n=0;n<e[f.row].length;n++){var o=e[f.row][n],p=parseInt(a(o).attr("rowspan"))||1;m!=o&&o!=d.get(0)&&a(o).attr("rowspan",p+1),m=o}d.parents("tr:first").after(l)}}this.hide(),this.triggerEvent("cellVerticalSplit")},a.Editable.prototype.splitHorizontal=function(){for(var b=this.getSelectionCells(),c=0;c<b.length;c++){var d=a(b[c]),e=this.tableMap(),f=this.cellOrigin(d.get(0),e),g=parseInt(d.attr("colspan"))||1;if(g>1){var h=Math.floor(g/2);d.after(d.clone().attr("colspan",h).html("<br/>")),d.attr("colspan",g-h)}else{for(var i=null,j=0;j<e.length;j++){var k=e[j][f.col],l=parseInt(a(k).attr("colspan"))||1;i!=k&&k!=d.get(0)&&a(k).attr("colspan",l+1),i=k}d.after(d.clone().html("<br/>"))}}this.hide(),this.triggerEvent("cellHorizontalSplit")},a.Editable.prototype.insertTable=function(a,b){for(var c='<table data-last-table="true" width="100%">',d=0;a>d;d++){c+="<tr>";for(var e=0;b>e;e++)c+="<td><br/></td>";c+="</tr>"}c+="</table>",this.insertHTML(c);var f=this.$element.find('table[data-last-table="true"]');f.removeAttr("data-last-table"),this.setSelection(f.find("td:first").get(0)),this.$element.focus(),this.hide(),this.triggerEvent("tableInserted")},a.Editable.prototype.deleteTable=function(){var a=this.currentTable();a&&(a.remove(),this.focus(),this.hide(),this.triggerEvent("tableDeleted"))}}(jQuery);
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * froala_editor v1.1.7 (http://editor.froala.com)
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
3
  * Copyright 2014-2014 Froala
4
4
  */
5
- $.Editable.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?(.+)/g,url_text:"//www.youtube.com/embed/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>'},{test_regex:/^.*(vimeo\.com\/)((channels\/[A-z]+\/)|(groups\/[A-z]+\/videos\/))?([0-9]+)/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:vimeo\.com)\/(?:channels\/[A-z]+\/|groups\/[A-z]+\/videos\/)?(.+)/g,url_text:"//player.vimeo.com/video/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>'},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"//www.dailymotion.com/embed/video/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>'},{test_regex:/^.+(screen.yahoo.com)\/(videos-for-you|popular)?\/[^_&]+/,url_regex:"",url_text:"",html:'<iframe width="640" height="360" src="{url}?format=embed" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>'}],$.Editable.commands=$.extend($.Editable.commands,{insertVideo:{title:"Insert Video",icon:"fa fa-video-camera"}}),$.Editable.prototype.execCommand=$.extend($.Editable.prototype.execCommand,{insertVideo:function(){this.insertVideo()}}),$.Editable.prototype.command_dispatcher=$.extend($.Editable.prototype.command_dispatcher,{insertVideo:function(a){var b=this.buildDefaultButton(a);this.$bttn_wrapper.append(b),this.buildInsertVideo()}}),$.Editable.prototype.insertVideo=function(){this.showInsertVideo(),this.saveSelection(),this.options.inlineMode||this.positionPopup("insertVideo"),this.$video_wrapper.find("textarea").val("")},$.Editable.prototype.insertVideoHTML=function(){var a='<div class="froala-popup froala-video-popup" style="display: block;"><h4><span data-text="true">Insert video</span><i title="Cancel" class="fa fa-times" id="f-video-close-'+this._id+'"></i></h4><div class="f-popup-line"><textarea placeholder="Embeded code" id="f-video-textarea-'+this._id+'"></textarea></div><p class="or">or</p><div class="f-popup-line"><input type="text" placeholder="http://youtube.com/" id="f-video-input-'+this._id+'"/><button data-text="true" class="f-ok" id="f-video-ok-'+this._id+'">OK</button></div></div>';return a},$.Editable.prototype.buildInsertVideo=function(){this.$video_wrapper=$(this.insertVideoHTML()),this.$popup_editor.append(this.$video_wrapper),this.addListener("hidePopups",this.hideVideoWrapper),this.$video_wrapper.on("mouseup keydown","input#f-video-input-"+this._id+", textarea#f-video-textarea-"+this._id,$.proxy(function(a){a.stopPropagation()},this));var a=this;this.$video_wrapper.on("change","input#f-video-input-"+this._id+", textarea#f-video-textarea-"+this._id,function(){"INPUT"==this.tagName?a.$video_wrapper.find("textarea#f-video-textarea-"+a._id).val(""):"TEXTAREA"==this.tagName&&a.$video_wrapper.find("input#f-video-input-"+a._id).val("")}),this.$video_wrapper.on("click","button#f-video-ok-"+this._id,$.proxy(function(){var a=this.$video_wrapper.find("input#f-video-input-"+this._id),b=this.$video_wrapper.find("textarea#f-video-textarea-"+this._id);""!==a.val()?this.writeVideo(a.val(),!1):""!==b.val()&&this.writeVideo(b.val(),!0)},this)),this.$video_wrapper.on("click","i#f-video-close-"+this._id,$.proxy(function(){this.$bttn_wrapper.show(),this.hideVideoWrapper(),this.options.inlineMode&&!this.imageMode&&0==this.options.buttons.length&&this.hide(),this.restoreSelection(),this.options.inlineMode||this.hide()},this)),this.$video_wrapper.on("click",function(a){a.stopPropagation()}),this.$video_wrapper.on("click","*",function(a){a.stopPropagation()})},$.Editable.prototype.writeVideo=function(a,b){if(b)c=this.clean(a);else for(var c=null,d=0;d<$.Editable.VIDEO_PROVIDERS.length;d++){var e=$.Editable.VIDEO_PROVIDERS[d];if(e.test_regex.test(a)){a=a.replace(e.url_regex,e.url_text),c=e.html.replace(/\{url\}/,a);break}}c?(this.$element.focus(),this.restoreSelection(),this.insertHTML(this.stripScript(c)),this.saveUndoStep(),this.$bttn_wrapper.show(),this.hideVideoWrapper(),this.hide(),this.callback("insertVideo",[c])):this.callback("insertVideoError")},$.Editable.prototype.showVideoWrapper=function(){this.$video_wrapper&&(this.$video_wrapper.show(),this.$video_wrapper.find(".f-popup-line input").val(""))},$.Editable.prototype.hideVideoWrapper=function(){this.$video_wrapper&&this.$video_wrapper.hide()},$.Editable.prototype.showInsertVideo=function(){this.hidePopups(),this.showVideoWrapper()};
5
+ !function(a){a.Editable.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtube\.com|youtu\.be)\/(?:watch\?v=|embed\/)?(.+)/g,url_text:"//www.youtube.com/embed/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>'},{test_regex:/^.*(vimeo\.com\/)((channels\/[A-z]+\/)|(groups\/[A-z]+\/videos\/))?([0-9]+)/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:vimeo\.com)\/(?:channels\/[A-z]+\/|groups\/[A-z]+\/videos\/)?(.+)/g,url_text:"//player.vimeo.com/video/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>'},{test_regex:/^.+(dailymotion.com|dai.ly)\/(video|hub)?\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\/\/)?(?:www\.)?(?:dailymotion\.com|dai\.ly)\/(?:video|hub)?\/?(.+)/g,url_text:"//www.dailymotion.com/embed/video/$1",html:'<iframe width="640" height="360" src="{url}" frameborder="0" allowfullscreen></iframe>'},{test_regex:/^.+(screen.yahoo.com)\/(videos-for-you|popular)?\/[^_&]+/,url_regex:"",url_text:"",html:'<iframe width="640" height="360" src="{url}?format=embed" frameborder="0" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" allowtransparency="true"></iframe>'}],a.Editable.video_commands={floatVideoLeft:{title:"Float Left",icon:{type:"font",value:"fa fa-align-left"}},floatVideoNone:{title:"Float None",icon:{type:"font",value:"fa fa-align-justify"}},floatVideoRight:{title:"Float Right",icon:{type:"font",value:"fa fa-align-right"}},removeVideo:{title:"Remove Video",icon:{type:"font",value:"fa fa-trash-o"}}},a.Editable.DEFAULTS=a.extend(a.Editable.DEFAULTS,{videoButtons:["floatVideoLeft","floatVideoNone","floatVideoRight","removeVideo"]}),a.Editable.commands=a.extend(a.Editable.commands,{insertVideo:{title:"Insert Video",icon:"fa fa-video-camera"}}),a.Editable.prototype.execCommand=a.extend(a.Editable.prototype.execCommand,{insertVideo:function(){this.insertVideo()}}),a.Editable.prototype.command_dispatcher=a.extend(a.Editable.prototype.command_dispatcher,{insertVideo:function(a){var b=this.buildDefaultButton(a);this.$bttn_wrapper.append(b)}}),a.Editable.prototype.insertVideo=function(){this.closeImageMode(),this.imageMode=!1,this.showInsertVideo(),this.saveSelection(),this.options.inlineMode||this.positionPopup("insertVideo"),this.$video_wrapper.find("textarea").val("")},a.Editable.prototype.insertVideoHTML=function(){var a='<div class="froala-popup froala-video-popup" style="display: block;"><h4><span data-text="true">Insert video</span><i title="Cancel" class="fa fa-times" id="f-video-close-'+this._id+'"></i></h4><div class="f-popup-line"><textarea placeholder="Embedded code" id="f-video-textarea-'+this._id+'"></textarea></div><p class="or"><span data-text="true">or</span></p><div class="f-popup-line"><input type="text" placeholder="http://youtube.com/" id="f-video-input-'+this._id+'"/><button data-text="true" class="f-ok" id="f-video-ok-'+this._id+'">OK</button></div></div>';return a},a.Editable.prototype.buildInsertVideo=function(){this.$video_wrapper=a(this.insertVideoHTML()),this.$popup_editor.append(this.$video_wrapper),this.addListener("hidePopups",this.hideVideoWrapper),this.$video_wrapper.on("mouseup",a.proxy(function(a){this.isResizing()||a.stopPropagation()},this)),this.$video_wrapper.on("mouseup keydown","input#f-video-input-"+this._id+", textarea#f-video-textarea-"+this._id,a.proxy(function(a){a.stopPropagation()},this));var b=this;this.$video_wrapper.on("change","input#f-video-input-"+this._id+", textarea#f-video-textarea-"+this._id,function(){"INPUT"==this.tagName?b.$video_wrapper.find("textarea#f-video-textarea-"+b._id).val(""):"TEXTAREA"==this.tagName&&b.$video_wrapper.find("input#f-video-input-"+b._id).val("")}),this.$video_wrapper.on("click","button#f-video-ok-"+this._id,a.proxy(function(){var a=this.$video_wrapper.find("input#f-video-input-"+this._id),b=this.$video_wrapper.find("textarea#f-video-textarea-"+this._id);""!==a.val()?this.writeVideo(a.val(),!1):""!==b.val()&&this.writeVideo(b.val(),!0)},this)),this.$video_wrapper.on("click","i#f-video-close-"+this._id,a.proxy(function(){this.$bttn_wrapper.show(),this.hideVideoWrapper(),this.options.inlineMode&&!this.imageMode&&0===this.options.buttons.length&&this.hide(),this.restoreSelection(),this.options.inlineMode||this.hide()},this)),this.$video_wrapper.on("click",function(a){a.stopPropagation()}),this.$video_wrapper.on("click","*",function(a){a.stopPropagation()})},a.Editable.prototype.destroyVideo=function(){this.$video_wrapper.html("").removeData().remove()},a.Editable.prototype.initVideo=function(){this.buildInsertVideo(),this.addVideoControls(),this.addListener("destroy",this.destroyVideo)},a.Editable.initializers.push(a.Editable.prototype.initVideo),a.Editable.prototype.hideVideoEditorPopup=function(){this.$video_editor&&(this.$video_editor.hide(),a("span.f-video-editor").removeClass("active"),this.$element.removeClass("f-non-selectable"),this.editableDisabled||this.isHTML||this.$element.attr("contenteditable",!0))},a.Editable.prototype.showVideoEditorPopup=function(){this.$video_editor&&this.$video_editor.show(),this.$element.removeAttr("contenteditable")},a.Editable.prototype.addVideoControlsHTML=function(){this.$video_editor=a('<div class="froala-popup froala-video-editor-popup" style="display: none">');for(var b=a('<div class="f-popup-line">').appendTo(this.$video_editor),c=0;c<this.options.videoButtons.length;c++){var d=this.options.videoButtons[c];if(void 0!==a.Editable.video_commands[d]){var e=a.Editable.video_commands[d],f='<button class="fr-bttn" data-cmd="'+d+'" title="'+e.title+'">';f+=void 0!==this.options.icons[d]?this.prepareIcon(this.options.icons[d],e.title):this.prepareIcon(e.icon,e.title),f+="</button>",b.append(f)}}var g=this;this.$video_editor.find("button").click(function(b){b.stopPropagation(),g[a(this).attr("data-cmd")]()}),this.addListener("hidePopups",this.hideVideoEditorPopup),this.$popup_editor.append(this.$video_editor)},a.Editable.prototype.floatVideoLeft=function(){a("span.f-video-editor.active").attr("class","f-video-editor active fr-fvl"),this.saveUndoStep(),this.triggerEvent("videoFloatedLeft"),a("span.f-video-editor.active").click()},a.Editable.prototype.floatVideoRight=function(){a("span.f-video-editor.active").attr("class","f-video-editor active fr-fvr"),this.saveUndoStep(),this.triggerEvent("videoFloatedRight"),a("span.f-video-editor.active").click()},a.Editable.prototype.floatVideoNone=function(){a("span.f-video-editor.active").attr("class","f-video-editor active fr-fvn"),this.saveUndoStep(),this.triggerEvent("videoFloatedNone"),a("span.f-video-editor.active").click()},a.Editable.prototype.removeVideo=function(){a("span.f-video-editor.active").remove(),this.hide(),this.saveUndoStep(),this.triggerEvent("videoRemoved"),this.focus()},a.Editable.prototype.refreshVideo=function(){this.$element.find("iframe, object").each(function(b,c){for(var d=a(c),e=0;e<a.Editable.VIDEO_PROVIDERS.length;e++){var f=a.Editable.VIDEO_PROVIDERS[e];if(f.test_regex.test(d.attr("src"))){0===d.parents(".f-video-editor").length&&d.wrap('<span class="f-video-editor fr-fvn" data-fr-verified="true">');break}}})},a.Editable.prototype.addVideoControls=function(){this.addVideoControlsHTML(),this.addListener("sync",this.refreshVideo),this.$element.on("click touchend","span.f-video-editor",a.proxy(function(b){if(this.isUploading)return!1;b.preventDefault(),b.stopPropagation();var c=b.currentTarget;this.clearSelection(),a(c).addClass("active"),this.showByCoordinates(a(c).offset().left+a(c).width()/2,a(c).offset().top+a(c).height()),this.showVideoEditorPopup(),this.refreshVideoButtons(c)},this))},a.Editable.prototype.refreshVideoButtons=function(b){var c=a(b).css("float");this.$video_editor.find("[data-cmd]").removeClass("active"),"left"===c?this.$video_editor.find('[data-cmd="floatVideoLeft"]').addClass("active"):"right"===c?this.$video_editor.find('[data-cmd="floatVideoRight"]').addClass("active"):this.$video_editor.find('[data-cmd="floatVideoNone"]').addClass("active")},a.Editable.prototype.writeVideo=function(b,c){var d=null;if(c)d=this.clean(b,!0,!1,["iframe","object","param"],["src","width","height","frameborder","allowfullscreen","webkitallowfullscreen","mozallowfullscreen","href","target"]);else for(var e=0;e<a.Editable.VIDEO_PROVIDERS.length;e++){var f=a.Editable.VIDEO_PROVIDERS[e];if(f.test_regex.test(b)){b=b.replace(f.url_regex,f.url_text),d=f.html.replace(/\{url\}/,b);break}}d?(this.restoreSelection(),this.$element.focus(),this.insertHTML('<span class="f-video-editor fr-fvn" data-fr-verified="true">'+d+"</span>"),this.saveUndoStep(),this.$bttn_wrapper.show(),this.hideVideoWrapper(),this.hide(),this.triggerEvent("videoInserted",[d])):this.triggerEvent("videoError")},a.Editable.prototype.showVideoWrapper=function(){this.$video_wrapper&&(this.$video_wrapper.show(),this.$video_wrapper.find(".f-popup-line input").val(""))},a.Editable.prototype.hideVideoWrapper=function(){this.$video_wrapper&&this.$video_wrapper.hide()},a.Editable.prototype.showInsertVideo=function(){this.hidePopups(),this.showVideoWrapper()}}(jQuery);
@@ -1,4 +1,4 @@
1
1
  /*!
2
- * froala_editor v1.1.7 (http://editor.froala.com)
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
3
  * Copyright 2014-2014 Froala
4
- */[contenteditable],[contenteditable]:focus{outline:0 solid transparent}button{outline:0}.f-non-selectable{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.f-non-selectable *{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.f-italic{font-style:italic!important}.f-spaced{letter-spacing:3px!important}.f-uppercase{text-transform:uppercase!important}.f-typewriter{font-family:'Lucida Console',monospace!important;line-height:160%!important;font-size:14px}.froala-box{position:relative}.froala-box .html-switch{position:absolute;left:0;top:-30px;z-index:1000;display:none;font-size:14px;line-height:160%;height:30px;border:solid 1px #aaa}.froala-box.f-html .html-switch{display:inline-block}.froala-element{min-height:20px;overflow-y:auto;overflow-x:hidden;position:relative;word-wrap:break-word;line-height:120%;vertical-align:top;text-align:left}.froala-element ul,.froala-element ol{padding-left:20px}.froala-element ul li,.froala-element ol li{position:relative;left:20px;margin-right:20px}.froala-element hr{height:0;border:0;border-top:solid 1px #ccc;clear:both}.froala-element *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.froala-element.f-image{overflow:visible}.froala-element.f-tni span.f-img-wrap{display:block;text-align:center}.froala-element.f-tni span.f-img-wrap:after{clear:both;display:block;content:""}.froala-element.f-tni span.f-img-editor{display:inline-block}.froala-element.f-tni img{display:block;margin-left:auto!important;margin-right:auto!important}.froala-element.f-tni img:after{clear:both;display:block;content:""}.froala-element span{line-height:120%}.froala-element.f-basic.f-placeholder:before{left:10px;right:10px;top:10px}.froala-element.f-placeholder:before{color:#ccc;font-style:italic;content:attr(data-placeholder);position:absolute;margin:auto;left:0;top:0;right:0}.froala-element.not-msie pre,.froala-element.not-msie blockquote{overflow:hidden}.froala-element pre{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;border:solid 1px #ccc;background:#fcfcfc;padding:10px;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.froala-element blockquote{margin-left:20px;margin-right:0;margin-top:0;padding-left:20px;position:relative;font-style:italic;border-left:solid 5px #ccc}.froala-element table{border-collapse:collapse;empty-cells:show}.froala-element table>span,.froala-element table tr>span{display:none;visibility:hidden}.froala-element table td{border:solid 1px #ccc;padding:5px}.froala-element a{cursor:pointer}.froala-element img{min-width:32px!important;min-height:32px!important;cursor:pointer;z-index:1;position:relative;vertical-align:top}.froala-element:not(.ie8) img{max-width:100%!important}.froala-element img::selection{color:#fff;background-color:transparent!important}.froala-element img::-moz-selection{color:#fff;background-color:transparent!important}.froala-element span.f-img-wrap{line-height:0;display:block;text-align:center}.froala-element span.f-img-editor{display:inline-block;position:relative;max-width:100%!important;text-align:center;padding:0;line-height:0;overflow:visible;z-index:2;vertical-align:top}.froala-element span.f-img-editor:before{content:" ";position:absolute;top:-2px;left:-2px;bottom:-2px;right:-2px;display:block;border:solid 2px #fff;outline:solid 1px #252525}.froala-element span.f-img-editor:after{content:"";display:block;clear:both}.froala-element span.f-img-handle{position:absolute;height:15px;width:15px;border:solid 1px #252525;background:#fff;z-index:2;margin:auto}.froala-element span.f-img-handle.f-h-ne{top:-3px;left:auto;right:-3px;bottom:auto;cursor:ne-resize}.froala-element span.f-img-handle.f-h-se{top:auto;left:auto;right:-3px;bottom:-3px;cursor:se-resize}.froala-element span.f-img-handle.f-h-sw{top:auto;left:-3px;right:auto;bottom:-3px;cursor:sw-resize}.froala-element span.f-img-handle.f-h-nw{top:-3px;left:-3px;right:auto;bottom:auto;cursor:nw-resize}.f-html .froala-element{background:#444;color:#fff;font-family:"Courier New",Courier,monospace;font-size:13px;overflow-y:auto;padding:0}.f-html .froala-element:after{clear:both;display:block;content:""}.f-html .froala-element textarea{direction:ltr!important;text-align:left;width:100%;word-wrap:break-word;padding:0 0 0 10px;background:0 0;border:0 transparent;color:#FFF;resize:none!important;line-height:140%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;resize:none;min-height:100px}.froala-editor :not(input):not(textarea){user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.froala-editor{text-align:left;background:#fff;border:solid 1px #252525;border-top:solid 5px #252525;padding:0;position:absolute;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;font-size:15px;z-index:1000;font-family:Arial,Helvetica,sans-serif;line-height:140%}.froala-editor *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.froala-editor:not(.froala-modal):before{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:6px;content:'';position:absolute;top:-10px;left:15px}.froala-editor.right-side:before{right:15px;left:auto}.froala-editor .bttn-wrapper{white-space:nowrap}.froala-editor hr{border:0;border-top-width:1px;border-top-style:solid;border-top-color:#ccc;margin:0!important;height:0}.froala-editor span.f-sep{display:inline-block;width:0;height:35px;margin:0;border-right:solid 1px #ccc;float:left}.froala-editor button::-moz-focus-inner{border:0}.froala-editor i.for-text{font-style:normal;font-weight:700;padding-left:4px}.froala-editor .fr-dropdown{display:inline-block;position:relative;text-align:left;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.froala-editor .fr-dropdown .fr-trigger.active+.fr-dropdown-menu{display:block}.froala-editor .fr-dropdown .fr-trigger{padding-left:2px;text-align:left}.froala-editor .fr-dropdown .fr-trigger i{margin-left:5px}.froala-editor .fr-dropdown .fr-dropdown-menu{display:none;position:absolute;background:#fff;text-align:left;left:0;top:35px;margin-top:0;padding:0;border:solid 1px #ccc;z-index:1000}.froala-editor .fr-dropdown .fr-dropdown-menu li{list-style-type:none;position:relative}.froala-editor .fr-dropdown .fr-dropdown-menu li button.fr-bttn{margin:5px}.froala-editor .fr-dropdown .fr-dropdown-menu li.active a{background:#444!important;color:#fff!important}.froala-editor .fr-dropdown .fr-dropdown-menu li a{padding:5px 25px;margin:0;display:block;text-decoration:none;outline:0;color:#353535;white-space:nowrap;font-size:14px;line-height:130%}.froala-editor .fr-dropdown .fr-dropdown-menu li a:hover{background:#444!important;color:#fff!important}.froala-editor .fr-dropdown .fr-dropdown-menu hr{clear:both;height:0;border:0;display:block}.froala-editor .fr-dropdown .fr-dropdown-menu:after{clear:both;content:"";display:block}.froala-editor .fr-dropdown.fr-color-picker i{padding-left:3px}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu{padding:10px;line-height:0;white-space:nowrap;text-align:left;direction:ltr!important}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu>div{white-space:nowrap;display:inline-block}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu>div+div{margin-left:12px}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p{margin:6px 0 12px;font-size:13px;color:#444}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn{display:inline;width:18px;height:18px;padding:0;border:solid 1px #fff;position:relative;z-index:100;line-height:16px!important;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn.active{border:solid 1px #fff;outline:solid 1px #252525;z-index:101}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn.active:after{position:absolute;left:2px;top:1px;content:"\f00c";font-family:FontAwesome;font-weight:400;font-size:12px;color:#fff}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .separator{height:8px}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn:hover:not(:focus):not(:active){border:solid 1px #252525}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-blockquote{font-style:italic}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-pre{font-family:monospace,sans-serif}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-h1{font-size:2em;line-height:120%;font-weight:bolder}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-h2{font-size:1.5em;line-height:120%;font-weight:bolder}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-h3{font-size:1.17em;line-height:120%;font-weight:bolder}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-h4{line-height:120%;font-weight:bolder}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-h5{font-size:.83em;line-height:120%;font-weight:bolder}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-h6{font-size:.75em;line-height:120%;font-weight:bolder}.froala-editor .fr-dropdown .fr-dropdown-menu.f-font-sizes{max-height:200px;overflow-y:scroll}.froala-editor .fr-dropdown .fr-dropdown-menu.f-font-sizes a{padding:5px 7px!important;font-size:12px;line-height:160%}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>a{padding-left:10px;position:relative}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>a i{bottom:0;font-size:12px;height:10px;margin:auto;position:absolute;right:5px;top:0}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li:hover>a{background:#444;color:#fff}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li:hover>div,.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li:hover>ul{display:block!important}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>ul{display:none;position:absolute;left:100%;top:0;background:#fff;color:#353535;border:solid 1px #ccc;line-height:0;padding:0;margin:0}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>ul a{padding:5px 10px}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div{display:none;position:absolute;left:100%;top:0;background:#fff;color:#353535;border:solid 1px #ccc;line-height:0;padding:5px}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>div.fr-t-info{line-height:140%;text-align:center;font-size:13px;padding-bottom:5px}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span{display:inline-block;padding:0 4px 4px 0;line-height:0;float:none}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span>span{display:inline-block;width:12px;height:12px;border:solid 1px #ccc}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span:hover>span,.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span.hover>span{background:rgba(61,142,185,.3);border:solid 1px #3d8eb9}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div .new-line{content:"";display:block;clear:both}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>hr{border-top:solid 1px #ccc}.froala-editor .fr-dropdown .fr-dropdown-menu.f-align a{padding:5px 0!important;width:40px;text-align:center;font-size:16px}.froala-editor button.fr-bttn,.froala-editor button.fr-trigger{padding:0;background:0 0;color:#353535;-moz-outline:0;outline:0;border:0;font-size:16px;line-height:35px;display:inline-block;cursor:pointer;width:40px;text-align:center;margin:0;-webkit-transition:background linear .2s;-moz-transition:background linear .2s;-ms-transition:background linear .2s;-o-transition:background linear .2s;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:2}.froala-editor button.fr-bttn img,.froala-editor button.fr-trigger img{max-width:40px;max-height:35px;display:block}.froala-editor button.fr-bttn:disabled,.froala-editor button.fr-trigger:disabled{color:#aaa!important;background:transparent!important;cursor:default}.froala-editor button.fr-bttn:disabled:after,.froala-editor button.fr-trigger:disabled:after{border-top-color:#aaa!important}.froala-editor button.fr-bttn i,.froala-editor button.fr-trigger i{line-height:170%;-moz-outline:0;outline:0}.froala-editor .bttn-wrapper:not(.touch) button.fr-bttn:hover,.froala-editor .bttn-wrapper:not(.touch) button.fr-trigger:hover{background:#2c82c9;color:#fff}.froala-editor .bttn-wrapper:not(.touch) button.fr-bttn:hover:after,.froala-editor .bttn-wrapper:not(.touch) button.fr-trigger:hover:after{border-top-color:#fff}.froala-editor .fr-bttn.active{color:#2c82c9;background:0 0}.froala-editor .fr-trigger:after{width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top-width:3px;border-top-style:solid;border-top-color:#353535;content:' ';position:absolute;top:15px;right:8px;color:inherit;cursor:pointer;z-index:3;zoom:1}.froala-editor .fr-trigger.active{color:#fff;background:#2c82c9}.froala-editor .fr-trigger.active:after{border-top-color:#fff!important}.froala-editor .froala-popup{font-size:13px}.froala-editor .froala-popup :not(input):not(textarea){-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.froala-editor .froala-popup h4{margin:0;font-size:14px;color:#444;margin:7px 7px 0}.froala-editor .froala-popup h4:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.froala-editor .froala-popup h4 span{float:left}.froala-editor .froala-popup h4 i{float:right;cursor:pointer;color:#ccc;-webkit-transition:all .2s ease-in;-moz-transition:all .2s ease-in;-ms-transition:all .2s ease-in;-o-transition:all .2s ease-in}.froala-editor .froala-popup h4 i.fa-external-link{float:left;margin-left:5px;margin-top:1px;color:#444}.froala-editor .froala-popup h4 i.fa-external-link:hover{color:#2c82c9}.froala-editor .froala-popup h4 i:hover{color:#444}.froala-editor .froala-popup div.f-popup-line{margin:0 7px;padding:10px 0;display:block;position:relative}.froala-editor .froala-popup div.f-popup-line:after{content:"";display:block;clear:both}.froala-editor .froala-popup div.f-popup-line label{float:left;margin:5px 5px 0;line-height:120%;color:#444}.froala-editor .froala-popup div.f-popup-line input[type=text]{font-size:12px;width:250px;border:solid 1px #ccc;margin:0 5px!important;height:25px;line-height:21px;display:block;padding:2px;float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;outline:0}.froala-editor .froala-popup div.f-popup-line input[type=text]:focus{border-color:#54acd2}.froala-editor .froala-popup div.f-popup-line input[type=checkbox]{float:left;margin-right:0;margin-left:0;margin-top:3px}.froala-editor .froala-popup div.f-popup-line textarea{padding:5px;font-size:12px;margin:0;border:solid 1px #ccc;width:100%;height:50px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;resize:none;-moz-resize:none;-webkit-resize:none;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;outline:0}.froala-editor .froala-popup div.f-popup-line textarea:focus{border-color:#54acd2;outline:0}.froala-popup.froala-image-popup div.f-popup-line.drop-upload{overflow:hidden;position:relative}.froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload{border:dashed 2px #ccc;color:#444;font-weight:400;text-align:center;padding:10px 0;min-width:315px;position:relative;overflow:hidden}.froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload:hover{border:dashed 2px #353535}.froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload.f-hover{border:dashed 2px #61bd6d}.froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload strong{font-size:14px}.froala-popup.froala-image-popup div.f-popup-line.drop-upload form{width:100%;height:100%;background:0 0;position:absolute;top:0;left:0;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"alpha(Opacity=0)";cursor:pointer;overflow:hidden}.froala-popup.froala-image-popup div.f-popup-line.drop-upload form input{background:0 0;display:inline-block;width:400%;margin-left:-300%;height:100%;cursor:pointer;font-size:1000px!important}.froala-popup.froala-image-popup div.f-popup-line.drop-upload form button{background:0 0}.froala-popup.froala-image-popup div.f-popup-line button.f-browse{display:none;margin:0 5px 0 -1px;padding:2px 7px;background:#475577;color:#fff}.froala-popup.froala-image-popup div.f-popup-line button.f-browse:hover{background:#353535;color:#fff}.froala-popup.froala-image-popup div.f-popup-line+div.f-popup-line{border-top:solid 1px #ccc}.froala-popup.froala-image-popup div.f-popup-line input[type=text]{margin-right:0!important;width:200px}.froala-popup.froala-image-popup p.f-progress{width:100%;display:none;background-color:#61bd6d;border:0;height:20px;margin:5px 0;width:250px}.froala-popup.froala-image-popup p.f-progress span{display:inline-block;height:100%;background-color:#61bd6d;text-align:center;color:#fff;line-height:20px}.froala-popup.froala-image-editor-popup div.f-popup-line{padding:0;margin:0}.froala-popup.froala-image-editor-popup div.f-popup-line input[type=text]{width:160px}.froala-popup.froala-image-editor-popup div.f-popup-line+div.f-popup-line{border-top:solid 1px #ccc;padding:5px}.froala-popup.froala-link-popup div.f-popup-line button{float:right}.froala-popup.froala-link-popup div.f-popup-line input[type=text]{margin-left:0!important;margin-right:0!important}.froala-popup.froala-link-popup div.f-popup-line input[type=text].f-bi{width:225px}.froala-popup.froala-link-popup div.f-popup-line+div.f-popup-line{padding-top:0}.froala-popup.froala-link-popup div.f-popup-line .f-browse-links{background:#475577;color:#fff;margin-left:-1px}.froala-popup.froala-link-popup div.f-popup-line .f-browse-links:hover{background:#353535;color:#fff}.froala-popup.froala-link-popup div.f-popup-line ul{background:#fff;display:block;list-style-type:none;margin:0;padding:0;position:absolute;top:25px;left:0;right:0;border:solid 1px #ccc;border-top:0;display:none;max-height:100px;overflow-x:hidden;overflow-y:auto;z-index:2}.froala-popup.froala-link-popup div.f-popup-line ul li{padding:2px 5px;cursor:pointer;color:#444}.froala-popup.froala-link-popup div.f-popup-line ul li+li{border-top:solid 1px #ccc}.froala-popup.froala-link-popup div.f-popup-line ul li:hover{background:#444;color:#fff}.froala-popup.froala-video-popup div.f-popup-line{padding-bottom:0}.froala-popup.froala-video-popup p{margin:0;text-align:center;font-weight:700}.froala-popup.froala-video-popup p+div.f-popup-line{padding-top:2px;padding-bottom:7px}.froala-popup.froala-video-popup p.or{color:#444}.froala-popup.froala-text-popup div.f-popup-line input{margin-left:0!important}.froala-popup button{border:0;color:#fff;padding:2px 5px;margin:0;font-size:12px;line-height:21px;font-weight:700;cursor:pointer;float:left;-webkit-transition:background linear .2s;-moz-transition:background linear .2s;-ms-transition:background linear .2s;-o-transition:background linear .2s;min-width:16px}.froala-popup button.f-ok{background:#2c82c9;color:#fff}.froala-popup button.f-unlink{background:#b8312f;margin:0 5px}.froala-popup button:hover{background:#353535;color:#fff}.froala-modal{position:fixed;z-index:1001;overflow-x:auto;overflow-y:scroll;top:0;left:0;bottom:0;right:0;text-align:center}.froala-modal .f-modal-wrapper{margin:50px auto;display:inline-block;background:#fff;min-width:300px;text-align:center;border:solid 1px #252525;border-top:solid 5px #252525}.froala-modal .f-modal-wrapper .f-preloader{margin:50px 0}.froala-modal .f-modal-wrapper h4{margin:0;font-size:18px;color:#444;margin:10px;text-align:left}.froala-modal .f-modal-wrapper h4:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.froala-modal .f-modal-wrapper h4 i{float:right;cursor:pointer;color:#ccc}.froala-modal .f-modal-wrapper h4 i:hover{color:#444}.froala-modal .f-modal-wrapper div.f-image-list{list-style-type:none;margin:10px;padding:0;column-count:3;-moz-column-count:3;-webkit-column-count:3;column-gap:10px;-moz-column-gap:10px;-webkit-column-gap:10px;width:600px}.froala-modal .f-modal-wrapper div.f-image-list div{position:relative;width:100%;display:inline-block;margin-bottom:10px}.froala-modal .f-modal-wrapper div.f-image-list div.f-img-deleting:after{position:absolute;-webkit-opacity:.75;-moz-opacity:.75;opacity:.75;-ms-filter:"alpha(Opacity=0)";background:#000;content:"";top:0;left:0;bottom:0;right:0;color:#FFF;z-index:2}.froala-modal .f-modal-wrapper div.f-image-list div.f-img-deleting:before{content:"Deleting...";color:#FFF;top:0;left:0;bottom:0;right:0;margin:auto;position:absolute;z-index:3;font-size:15px;height:20px}.froala-modal .f-modal-wrapper div.f-image-list div.f-empty{width:100%;height:200px;background:#ccc;position:relative;margin-bottom:10px}.froala-modal .f-modal-wrapper div.f-image-list div.f-empty:after{position:absolute;margin:auto;top:0;bottom:0;left:0;right:0;content:"Loading..";display:inline-block;height:20px}.froala-modal .f-modal-wrapper div.f-image-list div img{width:100%;-webkit-opacity:.75;-moz-opacity:.75;opacity:.75;-ms-filter:"alpha(Opacity=0)";vertical-align:middle}.froala-modal .f-modal-wrapper div.f-image-list div .f-delete-img{display:none;bottom:0;left:0;background:#252525;color:#fff;font-family:Arial,Helvetica;font-size:12px;text-transform:uppercase;letter-spacing:1px;padding:5px;position:absolute;-webkit-transition:background .2s;-moz-transition:background .2s;-ms-transition:background .2s;-o-transition:background .2s;cursor:pointer;margin:0;text-decoration:none}.froala-modal .f-modal-wrapper div.f-image-list div .f-delete-img{display:inline-block}.froala-modal .f-modal-wrapper div.f-image-list:not(.f-touch) .f-delete-img{display:none}.froala-modal .f-modal-wrapper div.f-image-list:not(.f-touch) div:hover .f-delete-img{display:inline-block}.froala-modal .f-modal-wrapper div.f-image-list:not(.f-touch) div:hover .f-delete-img:hover{background:#d14841;color:#fff}.froala-modal .f-modal-wrapper div.f-image-list:not(.f-touch) div:hover img{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"alpha(Opacity=0)"}.froala-overlay{position:fixed;top:0;bottom:0;left:0;right:0;background:#000;z-index:1000;-webkit-opacity:.5;-moz-opacity:.5;opacity:.5;-ms-filter:"alpha(Opacity=0)"}.froala-editor.f-rtl{direction:rtl;text-align:right}.froala-editor.f-rtl.f-basic .fr-bttn{float:right}.froala-editor.f-rtl.f-basic .f-sep{float:right}.froala-editor.f-rtl .fr-dropdown-menu{text-align:right!important;direction:rtl!important}.froala-editor.f-rtl .fr-dropdown-menu li.active:before{left:auto;right:5px}.froala-editor.f-rtl .fr-dropdown.fr-color-picker .fr-dropdown-menu p{text-align:right!important;direction:rtl!important}.froala-editor.f-rtl .fr-dropdown.fr-table .fr-dropdown-menu>li>a{padding:5px 10px 5px 25px}.froala-editor.f-rtl .fr-dropdown.fr-table .fr-dropdown-menu>li>a i{right:auto;left:5px}.froala-editor.f-rtl .fr-dropdown.fr-table .fr-dropdown-menu>li>a i:before{content:'\f053'}.froala-editor.f-rtl .fr-dropdown.fr-table .fr-dropdown-menu>li>div,.froala-editor.f-rtl .fr-dropdown.fr-table .fr-dropdown-menu>li>ul{right:100%;left:auto}.froala-editor.f-rtl .froala-popup div.f-popup-line label,.froala-editor.f-rtl .froala-popup div.f-popup-line input{float:right!important}.froala-editor.f-rtl .froala-popup div.f-popup-line button{float:left!important}.froala-editor.f-rtl .froala-popup div.f-popup-line button.f-ok{margin-right:5px}.froala-editor.f-rtl .froala-popup div.f-popup-line button.fr-bttn{float:right!important}.froala-editor.f-rtl .froala-popup div.f-popup-line button.f-browse{float:right!important;margin:0 -1px 0 0}.froala-editor.f-rtl .froala-popup div.f-popup-line input[type=text]{margin-left:0!important}.froala-editor.f-rtl .froala-popup h4{direction:rtl!important}.froala-editor.f-rtl .froala-popup h4 span{float:right}.froala-editor.f-rtl .froala-popup h4 .f-external-link{float:right}.froala-editor.f-rtl .froala-popup h4 .f-external-link i{margin-right:5px;margin-left:1px}.froala-editor.f-rtl .froala-popup h4 i{float:left!important}.froala-modal.f-rtl .f-modal-wrapper{direction:rtl;text-align:right}.froala-modal.f-rtl .f-modal-wrapper h4 span{float:right!important}.froala-modal.f-rtl .f-modal-wrapper h4 i{float:left!important}.froala-modal.f-rtl .f-modal-wrapper a.f-delete-img{left:auto!important;right:0}.froala-element.f-rtl{direction:rtl;text-align:right}.froala-element.f-rtl.f-placeholder:before{left:auto;right:10px}.froala-editor.f-basic{padding:0;z-index:999;position:relative;border-bottom:0}.froala-editor.f-basic:before{display:none}.froala-editor.f-basic:after{content:"";display:block;clear:both}.froala-editor.f-basic .fr-bttn{margin:0;float:left}.froala-editor.f-basic.f-scroll{position:absolute;left:0;right:0;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:inherit}.froala-editor.f-basic hr{display:none}.froala-element.f-basic{border:solid 1px #444;padding:10px}.froala-element.f-basic span.f-img-editor{left:0;right:0}.ie8 .froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload{min-width:350px}.ie8 .froala-popup.froala-image-editor-popup div.f-popup-line+div.f-popup-line{min-width:250px}.froala-element.ie8.f-placeholder:before{display:none}.froala-editor.ie8 button.fr-bttn,.froala-editor.ie8 button.fr-trigger{zoom:1;position:relative}.froala-editor.ie8 button.fr-bttn:hover,.froala-editor.ie8 button.fr-trigger:hover{background:#2c82c9;color:#fff}.froala-editor.ie8 button.fr-bttn:hover:after,.froala-editor.ie8 button.fr-trigger:hover:after{border-top-color:#fff;z-index:3}
4
+ */[contenteditable],[contenteditable]:focus{outline:0 solid transparent}button{outline:0}.f-non-selectable{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.f-non-selectable *{user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.f-italic{font-style:italic!important}.f-spaced{letter-spacing:3px!important}.f-uppercase{text-transform:uppercase!important}.f-typewriter{font-family:'Lucida Console',monospace!important;line-height:160%!important;font-size:14px}.froala-box{position:relative}.froala-box .html-switch{position:absolute;left:1px;top:1px;z-index:1000;display:none;font-size:14px;line-height:160%;height:30px;background:#fff;color:#353535;cursor:pointer;-webkit-transition:background linear .1s;-moz-transition:background linear .1s;-ms-transition:background linear .1s;-o-transition:background linear .1s;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-moz-outline:0;outline:0;border:0;width:40px}.froala-box .html-switch:hover{color:#fff;background:#2c82c9}.froala-box.f-html .html-switch{display:inline-block}.f-html ::selection{background:#6d90ba;color:#FFF}.f-html ::-moz-selection{background:#6d90ba;color:#FFF}::selection{background:#b5d6fd;color:#000}::-moz-selection{background:#b5d6fd;color:#000}.fr-hidden{display:none!important}.froala-element{min-height:30px;overflow-y:auto;overflow-x:hidden;position:relative;word-wrap:break-word;line-height:140%;vertical-align:top;text-align:left}.froala-element *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.froala-element.f-image{overflow:visible}.froala-element.f-tni span.f-img-wrap{display:block;text-align:center}.froala-element.f-tni span.f-img-wrap:after{clear:both;display:block;content:""}.froala-element.f-tni span.f-img-editor{display:inline-block}.froala-element.f-tni img{display:block;margin-left:auto!important;margin-right:auto!important}.froala-element.f-tni img:after{clear:both;display:block;content:""}.froala-element span{line-height:120%}.froala-element.f-basic.f-placeholder:before{left:10px;right:10px;top:10px}.froala-element.f-placeholder:before{color:#ccc;font-style:italic;content:attr(data-placeholder);position:absolute;margin:auto;left:0;top:0;right:0}.froala-element.not-msie pre,.froala-element.not-msie blockquote{overflow:hidden}.froala-element table>span,.froala-element table tr>span{display:none;visibility:hidden}.froala-element a{cursor:pointer}.froala-element img{min-width:32px!important;min-height:32px!important;cursor:pointer;z-index:1;position:relative;vertical-align:top;display:block;margin:auto;overflow:auto}.froala-element:not(.ie8) img{max-width:100%!important}.froala-element img::selection{color:#fff;background-color:transparent!important}.froala-element img::-moz-selection{color:#fff;background-color:transparent!important}.froala-element span.f-img-wrap{line-height:0;text-align:center;border:0;outline:0}.froala-element span.f-img-wrap.fr-fin{display:block}.froala-element span.f-img-wrap.fr-fir{float:right}.froala-element span.f-img-wrap.fr-fil{float:left}.froala-element span.f-img-editor{display:inline-block;position:relative;max-width:100%!important;text-align:center;padding:0;line-height:0;overflow:visible;z-index:2;vertical-align:top;border:0;outline:0;outline-color:transparent;border-color:transparent}.froala-element span.f-img-editor:before{content:"";position:absolute;top:-2px;left:-2px;bottom:-2px;right:-2px;display:block;border:solid 2px #fff!important;outline:solid 1px #252525!important;z-index:1}.froala-element span.f-img-editor:after{content:"";display:block;clear:both}.froala-element span.f-img-editor.fr-fil{margin:10px 10px 10px 3px;float:left}.froala-element span.f-img-editor.fr-fir{margin:10px 3px 10px 10px;float:right}.froala-element span.f-img-editor.fr-fin{margin:10px 0;float:none}.froala-element span.f-img-editor img{padding:0!important;margin:auto}.froala-element span.f-img-handle{position:absolute;height:13px;width:13px;border:solid 1px #252525!important;background:#fff;z-index:2;margin:auto}.froala-element span.f-img-handle.f-h-ne{top:-3px;left:auto;right:-3px;bottom:auto;cursor:ne-resize}.froala-element span.f-img-handle.f-h-se{top:auto;left:auto;right:-3px;bottom:-3px;cursor:se-resize}.froala-element span.f-img-handle.f-h-sw{top:auto;left:-3px;right:auto;bottom:-3px;cursor:sw-resize}.froala-element span.f-img-handle.f-h-nw{top:-3px;left:-3px;right:auto;bottom:auto;cursor:nw-resize}.froala-element .f-video-editor{display:inline-block;position:relative;line-height:0;cursor:pointer;padding:3px}.froala-element .f-video-editor:after{position:absolute;content:'';z-index:2;top:0;left:0;right:0;bottom:0;cursor:pointer}.froala-element .f-video-editor.active:after{border:solid 1px #252525}.f-html .froala-element{background:#202020;color:#fff;font-family:'Courier New',Monospace;font-size:13px;overflow-y:auto;padding:0}.f-html .froala-element.f-placeholder:before{content:''}.f-html .froala-element:after{clear:both;display:block;content:""}.f-html .froala-element textarea{direction:ltr!important;text-align:left;width:100%;word-wrap:break-word;padding:0 0 0 10px;background:0 0;border:0 transparent;color:#FFF;resize:none!important;line-height:140%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;resize:none;min-height:100px;font-size:inherit;font-family:inherit;outline:0;margin:0}.froala-editor :not(input):not(textarea){user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.froala-editor{text-align:left;background:#fff;border:solid 1px #252525;border-top:solid 5px #252525;padding:0;position:absolute;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;font-size:15px;z-index:1000;font-family:Arial,Helvetica,sans-serif;line-height:140%}.froala-editor *{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.froala-editor:not(.froala-modal):before{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom-color:inherit;border-bottom-style:solid;border-bottom-width:6px;content:'';position:absolute;top:-10px;left:15px}.froala-editor.right-side:before{right:15px;left:auto}.froala-editor .bttn-wrapper{white-space:nowrap}.froala-editor hr{border:0;border-top-width:1px;border-top-style:solid;border-top-color:#ccc;margin:0!important;height:0}.froala-editor span.f-sep{display:inline-block;width:0;height:35px;margin:0;border-right:solid 1px #ccc;float:left}.froala-editor button::-moz-focus-inner{border:0}.froala-editor i.for-text{font-style:normal;font-weight:700;padding-left:4px}.froala-editor .fr-dropdown{display:inline-block;position:relative;text-align:left;user-select:none;-o-user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none}.froala-editor .fr-dropdown .fr-trigger.active+.fr-dropdown-menu{display:block}.froala-editor .fr-dropdown .fr-trigger{padding-left:2px;width:38px;text-align:left}.froala-editor .fr-dropdown .fr-trigger i{margin-left:5px}.froala-editor .fr-dropdown .fr-dropdown-menu{display:none;position:absolute;background:#fff;text-align:left;left:0;top:35px;margin-top:0;padding:0;border:solid 1px #252525;z-index:1000}.froala-editor .fr-dropdown .fr-dropdown-menu li{list-style-type:none;position:relative}.froala-editor .fr-dropdown .fr-dropdown-menu li button.fr-bttn{margin:5px}.froala-editor .fr-dropdown .fr-dropdown-menu li.active a{background:#444!important;color:#fff!important}.froala-editor .fr-dropdown .fr-dropdown-menu li a{padding:5px 25px;margin:0;display:block;text-decoration:none;outline:0;color:#444;white-space:nowrap;font-size:14px;line-height:130%}.froala-editor .fr-dropdown .fr-dropdown-menu li a:hover{background:#444!important;color:#fff!important}.froala-editor .fr-dropdown .fr-dropdown-menu hr{clear:both;height:0;border:0;display:block}.froala-editor .fr-dropdown .fr-dropdown-menu:after{clear:both;content:"";display:block}.froala-editor .fr-dropdown.fr-color-picker i{padding-left:3px}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu{padding:10px;line-height:0;white-space:nowrap;text-align:left;direction:ltr!important}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu>div{white-space:nowrap;display:inline-block}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu>div+div{margin-left:12px}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p{margin:0 0 10px;font-size:13px;line-height:1;color:#444}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p span{float:left}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p a.fr-bttn{display:inline;float:right;padding:0;color:#444;-webkit-transition:color linear .1s;-moz-transition:color linear .1s;-ms-transition:color linear .1s;-o-transition:color linear .1s;cursor:pointer}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p a.fr-bttn:hover{color:#2c82c9}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p:after{content:"";display:block;clear:both}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn{display:inline;width:18px;height:18px;padding:0;border:solid 1px #fff;position:relative;z-index:100;line-height:16px!important;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn.active{border:solid 1px #fff;outline:solid 1px #252525;z-index:101}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn.active:after{position:absolute;left:2px;top:1px;content:"\f00c";font-family:FontAwesome;font-weight:400;font-size:12px;color:#fff}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .separator{height:8px}.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn:hover:not(:focus):not(:active){border:solid 1px #252525}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-blockquote{font-style:italic}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-pre{font-family:monospace,sans-serif}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-h1{font-size:36px;line-height:1.1;font-weight:400}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-h2{font-size:30px;line-height:1.1;font-weight:400}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-h3{font-size:24px;line-height:1.1;font-weight:400}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-h4{font-size:18px;line-height:1.1;font-weight:400}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-h5{font-size:14px;line-height:1.1;font-weight:400}.froala-editor .fr-dropdown .fr-dropdown-menu li a.format-h6{font-size:12px;line-height:1.1;font-weight:400}.froala-editor .fr-dropdown .fr-dropdown-menu.f-font-sizes{max-height:200px;overflow-y:scroll}.froala-editor .fr-dropdown .fr-dropdown-menu.f-font-sizes a{padding:5px 7px!important;font-size:12px;line-height:160%}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>a{padding-left:10px;position:relative}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>a i{bottom:0;font-size:12px;height:10px;margin:auto;position:absolute;right:5px;top:0}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li:hover>a,.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li.hover>a{background:#444;color:#fff}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li:hover>div,.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li.hover>div,.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li:hover>ul,.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li.hover>ul{display:block!important}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>ul{display:none;position:absolute;left:100%;top:0;background:#fff;color:#444;border:solid 1px #252525;line-height:0;padding:0;margin:0}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>ul a{padding:5px 10px}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div{display:none;position:absolute;left:100%;top:0;background:#fff;color:#444;border:solid 1px #252525;line-height:0;padding:5px}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>div.fr-t-info{line-height:140%;text-align:center;font-size:13px;padding-bottom:5px}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span{display:inline-block;padding:0 4px 4px 0;line-height:0;float:none}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span>span{display:inline-block;width:12px;height:12px;border:solid 1px #ccc}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span:hover>span,.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span.hover>span{background:rgba(61,142,185,.3);border:solid 1px #3d8eb9}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div .new-line{content:"";display:block;clear:both}.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>hr{border-top:solid 1px #252525}.froala-editor .fr-dropdown .fr-dropdown-menu.f-align a{padding:5px 0!important;width:40px;text-align:center;font-size:16px}.froala-editor button.fr-bttn,.froala-editor button.fr-trigger{padding:0;background:0 0;color:#353535;-moz-outline:0;outline:0;border:0;font-size:16px;line-height:35px;display:inline-block;cursor:pointer;width:40px;text-align:center;margin:0;-webkit-transition:background linear .1s;-moz-transition:background linear .1s;-ms-transition:background linear .1s;-o-transition:background linear .1s;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;z-index:2}.froala-editor button.fr-bttn img,.froala-editor button.fr-trigger img{max-width:40px;max-height:35px;display:block}.froala-editor button.fr-bttn:disabled,.froala-editor button.fr-trigger:disabled{color:#aaa!important;background:transparent!important;cursor:default}.froala-editor button.fr-bttn:disabled:after,.froala-editor button.fr-trigger:disabled:after{border-top-color:#aaa!important}.froala-editor button.fr-bttn i,.froala-editor button.fr-trigger i{line-height:170%;-moz-outline:0;outline:0}.froala-editor .bttn-wrapper:not(.touch) button.fr-bttn:hover,.froala-editor .froala-popup button.fr-bttn:hover,.froala-editor .bttn-wrapper:not(.touch) button.fr-trigger:hover,.froala-editor .froala-popup button.fr-trigger:hover{background:#2c82c9;color:#fff}.froala-editor .bttn-wrapper:not(.touch) button.fr-bttn:hover:after,.froala-editor .froala-popup button.fr-bttn:hover:after,.froala-editor .bttn-wrapper:not(.touch) button.fr-trigger:hover:after,.froala-editor .froala-popup button.fr-trigger:hover:after{border-top-color:#fff}.froala-editor .fr-bttn.active{color:#2c82c9;background:0 0}.froala-editor .fr-trigger:after{width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top-width:3px;border-top-style:solid;border-top-color:#353535;content:' ';position:absolute;top:15px;right:8px;color:inherit;cursor:pointer;z-index:3;zoom:1}.froala-editor .fr-trigger.active{color:#fff;background:#2c82c9}.froala-editor .fr-trigger.active:after{border-top-color:#fff!important}.froala-editor .froala-popup{font-size:13px;background:#fff}.froala-editor .froala-popup :not(input):not(textarea){-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.froala-editor .froala-popup h4{margin:0;font-size:14px;color:#444;padding:7px 7px 0}.froala-editor .froala-popup h4:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.froala-editor .froala-popup h4 span{float:left}.froala-editor .froala-popup h4 i{float:right;cursor:pointer;color:#ccc;-webkit-transition:all .2s ease-in;-moz-transition:all .2s ease-in;-ms-transition:all .2s ease-in;-o-transition:all .2s ease-in}.froala-editor .froala-popup h4 i.fa-external-link{float:left;margin-left:5px;margin-top:1px;color:#444}.froala-editor .froala-popup h4 i.fa-external-link:hover{color:#2c82c9}.froala-editor .froala-popup h4 i:hover{color:#444}.froala-editor .froala-popup div.f-popup-line{margin:0 7px;padding:10px 0;display:block;position:relative}.froala-editor .froala-popup div.f-popup-line.f-popup-toolbar{background:#fff}.froala-editor .froala-popup div.f-popup-line:after{content:"";display:block;clear:both}.froala-editor .froala-popup div.f-popup-line label{float:left;margin:5px 5px 0;line-height:120%;color:#444}.froala-editor .froala-popup div.f-popup-line input[type=text]{font-size:12px;width:250px;border:solid 1px #ccc;margin:0 5px!important;height:25px;line-height:21px;display:block;padding:2px;float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;outline:0}.froala-editor .froala-popup div.f-popup-line input[type=text]:focus{border:solid 1px #54acd2}.froala-editor .froala-popup div.f-popup-line input[type=checkbox]{float:left;margin-right:0;margin-left:0;margin-top:5px}.froala-editor .froala-popup div.f-popup-line textarea{padding:5px;font-size:12px;margin:0;border:solid 1px #ccc;width:100%;height:50px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;resize:none;-moz-resize:none;-webkit-resize:none;border-radius:0;-moz-border-radius:0;-webkit-border-radius:0;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;outline:0}.froala-editor .froala-popup div.f-popup-line textarea:focus{border:solid 1px #54acd2;outline:0}.froala-popup.froala-image-popup div.f-popup-line.drop-upload,.froala-popup.froala-file-popup div.f-popup-line.drop-upload{overflow:hidden;position:relative}.froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload,.froala-popup.froala-file-popup div.f-popup-line.drop-upload div.f-upload{border:dashed 2px #ccc;color:#444;font-weight:400;text-align:center;padding:10px 0;min-width:315px;position:relative;overflow:hidden}.froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload:hover,.froala-popup.froala-file-popup div.f-popup-line.drop-upload div.f-upload:hover{border:dashed 2px #353535}.froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload.f-hover,.froala-popup.froala-file-popup div.f-popup-line.drop-upload div.f-upload.f-hover{border:dashed 2px #61bd6d}.froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload strong,.froala-popup.froala-file-popup div.f-popup-line.drop-upload div.f-upload strong{font-size:14px}.froala-popup.froala-image-popup div.f-popup-line.drop-upload form,.froala-popup.froala-file-popup div.f-popup-line.drop-upload form{width:100%;height:100%;background:0 0;position:absolute;top:0;left:0;-webkit-opacity:0;-moz-opacity:0;opacity:0;-ms-filter:"alpha(Opacity=0)";cursor:pointer;overflow:hidden}.froala-popup.froala-image-popup div.f-popup-line.drop-upload form input,.froala-popup.froala-file-popup div.f-popup-line.drop-upload form input{background:0 0;display:inline-block;width:400%;margin-left:-300%;height:100%;cursor:pointer;font-size:1000px!important}.froala-popup.froala-image-popup div.f-popup-line.drop-upload form button,.froala-popup.froala-file-popup div.f-popup-line.drop-upload form button{background:0 0}.froala-popup.froala-image-popup div.f-popup-line button.f-browse,.froala-popup.froala-file-popup div.f-popup-line button.f-browse{display:none;margin:0 5px 0 -1px;padding:2px 7px;background:#475577;color:#fff}.froala-popup.froala-image-popup div.f-popup-line button.f-browse:hover,.froala-popup.froala-file-popup div.f-popup-line button.f-browse:hover{background:#353535;color:#fff}.froala-popup.froala-image-popup div.f-popup-line+div.f-popup-line,.froala-popup.froala-file-popup div.f-popup-line+div.f-popup-line{border-top:solid 1px #ccc}.froala-popup.froala-image-popup div.f-popup-line input[type=text],.froala-popup.froala-file-popup div.f-popup-line input[type=text]{margin-right:0!important;width:200px}.froala-popup.froala-image-popup h4 span+span,.froala-popup.froala-file-popup h4 span+span{display:none}.froala-popup.froala-image-popup h4.uploading span,.froala-popup.froala-file-popup h4.uploading span{display:none}.froala-popup.froala-image-popup h4.uploading span+span,.froala-popup.froala-file-popup h4.uploading span+span{display:inline-block}.froala-popup.froala-image-popup h4.uploading i,.froala-popup.froala-file-popup h4.uploading i{display:none}.froala-popup.froala-image-popup p.f-progress,.froala-popup.froala-file-popup p.f-progress{width:100%;display:none;border:0;height:20px;margin:5px 0;width:250px}.froala-popup.froala-image-popup p.f-progress span,.froala-popup.froala-file-popup p.f-progress span{display:inline-block;height:100%;background-color:#61bd6d;text-align:center;color:#fff;line-height:20px}.froala-popup.froala-image-editor-popup div.f-popup-line{padding:0;margin:0}.froala-popup.froala-image-editor-popup div.f-popup-line input[type=text]{width:160px}.froala-popup.froala-image-editor-popup div.f-popup-line+div.f-popup-line{border-top:solid 1px #ccc;padding:5px}.froala-popup.froala-link-popup div.f-popup-line button{float:right}.froala-popup.froala-link-popup div.f-popup-line input[type=text]{margin-left:0!important;margin-right:0!important}.froala-popup.froala-link-popup div.f-popup-line input[type=text].f-bi{width:225px}.froala-popup.froala-link-popup div.f-popup-line input[type=text]:disabled{background:#FFF;color:#000}.froala-popup.froala-link-popup div.f-popup-line:not(.fr-hidden)+div.f-popup-line,.froala-popup.froala-link-popup div.f-popup-line+div.f-popup-line:last-child{padding-top:0}.froala-popup.froala-link-popup div.f-popup-line .f-browse-links{background:#475577;color:#fff;margin-left:-1px}.froala-popup.froala-link-popup div.f-popup-line .f-browse-links:hover{background:#353535;color:#fff}.froala-popup.froala-link-popup div.f-popup-line ul{background:#fff;display:block;list-style-type:none;margin:0;padding:0;position:absolute;top:25px;left:0;right:0;border:solid 1px #252525;border-top:0;display:none;max-height:100px;overflow-x:hidden;overflow-y:auto;z-index:2}.froala-popup.froala-link-popup div.f-popup-line ul li{padding:2px 5px;cursor:pointer;color:#444}.froala-popup.froala-link-popup div.f-popup-line ul li+li{border-top:solid 1px #252525}.froala-popup.froala-link-popup div.f-popup-line ul li:hover{background:#444;color:#fff}.froala-popup.froala-video-popup div.f-popup-line{padding-bottom:0}.froala-popup.froala-video-popup p{margin:0;text-align:center;font-weight:700}.froala-popup.froala-video-popup p+div.f-popup-line{padding-top:2px;padding-bottom:7px}.froala-popup.froala-video-popup p.or{color:#444}.froala-popup.froala-video-editor-popup div.f-popup-line{padding:0;margin:0}.froala-popup.froala-text-popup div.f-popup-line input{margin-left:0!important}.froala-popup button:not(.fr-bttn):not(.fr-trigger){border:0;color:#fff;padding:2px 5px;margin:0;font-size:12px;line-height:21px;font-weight:400;cursor:pointer;float:left;-webkit-transition:background linear .2s;-moz-transition:background linear .2s;-ms-transition:background linear .2s;-o-transition:background linear .2s;min-width:16px}.froala-popup button:not(.fr-bttn):not(.fr-trigger).f-ok{background:#2c82c9;color:#fff}.froala-popup button:not(.fr-bttn):not(.fr-trigger).f-unlink{background:#b8312f;color:#fff;margin:0 5px}.froala-popup button:not(.fr-bttn):not(.fr-trigger):hover,.froala-popup button:not(.fr-bttn):not(.fr-trigger):focus{background:#353535;color:#fff}.froala-modal{position:fixed;z-index:1001;overflow-x:auto;overflow-y:scroll;top:0;left:0;bottom:0;right:0;text-align:center}.froala-modal .f-modal-wrapper{margin:50px auto;display:inline-block;background:#fff;min-width:300px;text-align:center;border:solid 1px #252525;border-top:solid 5px #252525}.froala-modal .f-modal-wrapper .f-preloader{margin:50px 0}.froala-modal .f-modal-wrapper h4{margin:0;font-size:18px;color:#444;margin:10px;text-align:left}.froala-modal .f-modal-wrapper h4:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.froala-modal .f-modal-wrapper h4 i{float:right;cursor:pointer;color:#ccc}.froala-modal .f-modal-wrapper h4 i:hover{color:#444}.froala-modal .f-modal-wrapper div.f-image-list{list-style-type:none;margin:10px;padding:0;column-count:3;-moz-column-count:3;-webkit-column-count:3;column-gap:10px;-moz-column-gap:10px;-webkit-column-gap:10px;width:600px}.froala-modal .f-modal-wrapper div.f-image-list div{position:relative;width:100%;display:inline-block;margin-bottom:10px}.froala-modal .f-modal-wrapper div.f-image-list div.f-img-deleting:after{position:absolute;-webkit-opacity:.75;-moz-opacity:.75;opacity:.75;-ms-filter:"alpha(Opacity=0)";background:#000;content:"";top:0;left:0;bottom:0;right:0;color:#FFF;z-index:2}.froala-modal .f-modal-wrapper div.f-image-list div.f-img-deleting:before{content:"Deleting...";color:#FFF;top:0;left:0;bottom:0;right:0;margin:auto;position:absolute;z-index:3;font-size:15px;height:20px}.froala-modal .f-modal-wrapper div.f-image-list div.f-empty{width:100%;height:200px;background:#ccc;position:relative;margin-bottom:10px}.froala-modal .f-modal-wrapper div.f-image-list div.f-empty:after{position:absolute;margin:auto;top:0;bottom:0;left:0;right:0;content:"Loading..";display:inline-block;height:20px}.froala-modal .f-modal-wrapper div.f-image-list div img{width:100%;-webkit-opacity:.75;-moz-opacity:.75;opacity:.75;-ms-filter:"alpha(Opacity=0)";vertical-align:middle}.froala-modal .f-modal-wrapper div.f-image-list div .f-delete-img{display:none;bottom:0;left:0;background:#b8312f;color:#fff;font-family:Arial,Helvetica;font-size:12px;text-transform:uppercase;letter-spacing:1px;padding:5px;position:absolute;-webkit-transition:background .2s;-moz-transition:background .2s;-ms-transition:background .2s;-o-transition:background .2s;cursor:pointer;margin:0;text-decoration:none}.froala-modal .f-modal-wrapper div.f-image-list div .f-delete-img{display:inline-block}.froala-modal .f-modal-wrapper div.f-image-list:not(.f-touch) .f-delete-img{display:none}.froala-modal .f-modal-wrapper div.f-image-list:not(.f-touch) div:hover .f-delete-img{display:inline-block}.froala-modal .f-modal-wrapper div.f-image-list:not(.f-touch) div:hover .f-delete-img:hover{background:#353535;color:#fff}.froala-modal .f-modal-wrapper div.f-image-list:not(.f-touch) div:hover img{-webkit-opacity:1;-moz-opacity:1;opacity:1;-ms-filter:"alpha(Opacity=0)"}.froala-overlay{position:fixed;top:0;bottom:0;left:0;right:0;background:#000;z-index:1000;-webkit-opacity:.5;-moz-opacity:.5;opacity:.5;-ms-filter:"alpha(Opacity=0)"}.froala-editor.f-rtl{direction:rtl;text-align:right}.froala-editor.f-rtl.f-basic .fr-bttn{float:right}.froala-editor.f-rtl.f-basic .f-sep{float:right}.froala-editor.f-rtl .fr-dropdown-menu{text-align:right!important;direction:rtl!important}.froala-editor.f-rtl .fr-dropdown-menu li.active:before{left:auto;right:5px}.froala-editor.f-rtl .fr-dropdown.fr-color-picker .fr-dropdown-menu p{text-align:right!important;direction:rtl!important}.froala-editor.f-rtl .fr-dropdown.fr-table .fr-dropdown-menu>li>a{padding:5px 10px 5px 25px}.froala-editor.f-rtl .fr-dropdown.fr-table .fr-dropdown-menu>li>a i{right:auto;left:5px}.froala-editor.f-rtl .fr-dropdown.fr-table .fr-dropdown-menu>li>a i:before{content:'\f053'}.froala-editor.f-rtl .fr-dropdown.fr-table .fr-dropdown-menu>li>div,.froala-editor.f-rtl .fr-dropdown.fr-table .fr-dropdown-menu>li>ul{right:100%;left:auto}.froala-editor.f-rtl .froala-popup div.f-popup-line label,.froala-editor.f-rtl .froala-popup div.f-popup-line input{float:right!important}.froala-editor.f-rtl .froala-popup div.f-popup-line button{float:left!important}.froala-editor.f-rtl .froala-popup div.f-popup-line button.f-ok{margin-right:5px}.froala-editor.f-rtl .froala-popup div.f-popup-line button.fr-bttn{float:right!important}.froala-editor.f-rtl .froala-popup div.f-popup-line button.f-browse{float:right!important;margin:0 -1px 0 0}.froala-editor.f-rtl .froala-popup div.f-popup-line input[type=text]{margin-left:0!important}.froala-editor.f-rtl .froala-popup h4{direction:rtl!important}.froala-editor.f-rtl .froala-popup h4 span{float:right}.froala-editor.f-rtl .froala-popup h4 .f-external-link{float:right}.froala-editor.f-rtl .froala-popup h4 .f-external-link i{margin-right:5px;margin-left:1px}.froala-editor.f-rtl .froala-popup h4 i{float:left!important}.froala-modal.f-rtl .f-modal-wrapper{direction:rtl;text-align:right}.froala-modal.f-rtl .f-modal-wrapper h4 span{float:right!important}.froala-modal.f-rtl .f-modal-wrapper h4 i{float:left!important}.froala-modal.f-rtl .f-modal-wrapper a.f-delete-img{left:auto!important;right:0}.froala-element.f-rtl{direction:rtl;text-align:right}.froala-element.f-rtl.f-placeholder:before{left:auto;right:10px}.froala-editor.f-basic{padding:0;z-index:999;position:relative;border-bottom:0!important}.froala-editor.f-basic:before{display:none}.froala-editor.f-basic:after{content:"";display:block;clear:both}.froala-editor.f-basic .fr-bttn{margin:0;float:left}.froala-editor.f-basic.f-scroll{position:absolute;left:0;right:0;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:inherit}.froala-editor.f-basic hr{display:none}.froala-element.f-basic{border:solid 1px #252525;padding:10px}.froala-element.f-basic span.f-img-editor{left:0;right:0}.ie8 .froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload{min-width:350px}.ie8 .froala-popup.froala-image-editor-popup div.f-popup-line+div.f-popup-line{min-width:250px}.froala-element.ie8.f-placeholder:before{display:none}.froala-editor.ie8 button.fr-bttn,.froala-editor.ie8 button.fr-trigger{zoom:1;position:relative}.froala-editor.ie8 button.fr-bttn:hover,.froala-editor.ie8 button.fr-trigger:hover{background:#2c82c9;color:#fff}.froala-editor.ie8 button.fr-bttn:hover:after,.froala-editor.ie8 button.fr-trigger:hover:after{border-top-color:#fff;z-index:3}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
+ * Copyright 2014-2014 Froala
4
+ */.froala-element img.fr-fil,img.fr-tag.fr-fil{z-index:1;position:relative;vertical-align:top;display:block;margin:auto;overflow:auto;padding:10px 10px 10px 3px}.froala-element img.fr-fil:not(.fr-tni),img.fr-tag.fr-fil:not(.fr-tni){float:left}.froala-element img.fr-fil.fr-tni,img.fr-tag.fr-fil.fr-tni{margin-left:0!important}.froala-element img.fr-fir,img.fr-tag.fr-fir{z-index:1;position:relative;vertical-align:top;display:block;margin:auto;overflow:auto;padding:10px 3px 10px 10px}.froala-element img.fr-fir:not(.fr-tni),img.fr-tag.fr-fir:not(.fr-tni){float:right}.froala-element img.fr-fir.fr-tni,img.fr-tag.fr-fir.fr-tni{margin-right:0!important}.froala-element img.fr-fin,img.fr-tag.fr-fin{z-index:1;position:relative;vertical-align:top;display:block;margin:auto;overflow:auto;padding:10px 0;float:none}.froala-element a.fr-file,a.fr-file{position:relative}.froala-element a.fr-file:before,a.fr-file:before{position:relative;display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f0c6";top:0;padding-right:3px}.froala-element hr,hr.fr-tag{height:0;border:0;border-top:solid 1px #ccc;clear:both}.froala-element pre,pre.fr-tag{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;border:solid 1px #ccc;background:#fcfcfc;padding:10px;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.froala-element blockquote,blockquote.fr-tag{margin-left:20px;margin-right:0;margin-top:0;padding-left:20px;position:relative;font-style:italic;border-left:solid 5px #ccc}.froala-element ul,.froala-element ol,ul.fr-tag,ol.fr-tag{padding-left:25px}.froala-element table,table.fr-tag{border-collapse:collapse;empty-cells:show;width:100%;margin-bottom:10px;margin-top:10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.froala-element table td,table.fr-tag td{border:solid 1px #ccc;padding:5px}.froala-element p,p.fr-tag{margin:0 0 10px}.froala-element h1,h1[class=fr-tag]{font-size:36px;line-height:1.1;font-weight:400;margin-top:20px;margin-bottom:10px}.froala-element h2,h2[class=fr-tag]{font-size:30px;line-height:1.1;font-weight:400;margin-top:20px;margin-bottom:10px}.froala-element h3,h3[class=fr-tag]{font-size:24px;line-height:1.1;font-weight:400;margin-top:20px;margin-bottom:10px}.froala-element h4,h4[class=fr-tag]{font-size:18px;line-height:1.1;font-weight:400;margin-top:10px;margin-bottom:10px}.froala-element h5,h5[class=fr-tag]{font-size:14px;line-height:1.1;font-weight:400;margin-top:10px;margin-bottom:10px}.froala-element h6,h6[class=fr-tag]{font-size:12px;line-height:1.1;font-weight:400;margin-top:10px;margin-bottom:10px}.fr-fvn{float:none;display:block!important;text-align:center!important}.fr-fvl{float:left;margin:10px 10px 10px 1px}.fr-fvr{float:right;margin:10px 1px 10px 10px}
@@ -1,4 +1,4 @@
1
1
  /*!
2
- * froala_editor v1.1.7 (http://editor.froala.com)
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
3
  * Copyright 2014-2014 Froala
4
- */.dark-theme.froala-box .html-switch{border-color:#aaa}.dark-theme.froala-box .froala-element hr{border-top-color:#aaa}.dark-theme.froala-box .froala-element.f-placeholder:before{color:#aaa}.dark-theme.froala-box .froala-element pre{border:solid 1px #aaa;background:#fcfcfc;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.froala-box .froala-element blockquote{border-left:solid 5px #aaa}.dark-theme.froala-box .froala-element img{min-width:32px!important;min-height:32px!important}.dark-theme.froala-box .froala-element img::selection{color:#fff}.dark-theme.froala-box .froala-element img::-moz-selection{color:#fff}.dark-theme.froala-box .froala-element span.f-img-editor:before{border:solid 2px #fff;outline:solid 1px #252525}.dark-theme.froala-box .froala-element span.f-img-editor span.f-img-handle{height:15px;width:15px;border:solid 1px #252525;background:#fff}.dark-theme.froala-box .froala-element.f-basic{border:solid 1px #fff}.dark-theme.froala-box .froala-element table td{border:solid 1px #ccc}.dark-theme.froala-box.f-html .froala-element{background:#444;color:#fff;font-family:"Courier New",Courier,monospace;font-size:13px}.dark-theme.froala-editor{background:#353535;border:solid 1px #252525;border-top:solid 5px #252525}.dark-theme.froala-editor hr{border-top-color:#aaa}.dark-theme.froala-editor span.f-sep{border-right:solid 1px #aaa}.dark-theme.froala-editor button.fr-bttn,.dark-theme.froala-editor button.fr-trigger{background:0 0;color:#fff}.dark-theme.froala-editor button.fr-bttn:disabled,.dark-theme.froala-editor button.fr-trigger:disabled{color:#aaa!important}.dark-theme.froala-editor button.fr-bttn.active,.dark-theme.froala-editor button.fr-trigger.active{color:#2c82c9;background:0 0}.dark-theme.froala-editor button.fr-bttn:hover,.dark-theme.froala-editor button.fr-trigger:hover{background:#2c82c9;color:#fff}.dark-theme.froala-editor.ie8 button.fr-bttn:hover,.dark-theme.froala-editor.ie8 button.fr-trigger:hover{background:#2c82c9;color:#fff}.dark-theme.froala-editor.ie8 button.fr-bttn:hover:after,.dark-theme.froala-editor.ie8 button.fr-trigger:hover:after{border-top-color:#fff}.dark-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-bttn:hover,.dark-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-trigger:hover{background:#2c82c9;color:#fff}.dark-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-bttn:hover:after,.dark-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-trigger:hover:after{border-top-color:#fff}.dark-theme.froala-editor .fr-dropdown .fr-trigger:after{border-top:3px solid #fff}.dark-theme.froala-editor .fr-dropdown .fr-trigger.active{color:#fff;background:#2c82c9}.dark-theme.froala-editor .fr-dropdown:hover .fr-trigger:after,.dark-theme.froala-editor .fr-dropdown.active .fr-trigger:after{border-top-color:#fff}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu{background:#353535;border:solid 1px #252525}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu li.active a{background:#fff!important;color:#353535!important}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu li a{color:#fff}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu li a:hover{background:#fff!important;color:#353535!important}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li:hover>a{background:#fff;color:#353535}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>ul{background:#353535;color:#fff;border:solid 1px #252525}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div{background:#353535;color:#fff;border:solid 1px #252525}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span>span{border:solid 1px #252525}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span:hover>span,.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span.hover>span{background:rgba(61,142,185,.3);border:solid 1px #3d8eb9}.dark-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p{color:#fff}.dark-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn{border:solid 1px #353535}.dark-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn.active{border:solid 1px #353535;outline:solid 1px #fff}.dark-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn.active:after{color:#fff}.dark-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn:hover:not(:focus):not(:active){border:solid 1px #fff}.dark-theme.froala-editor .froala-popup h4{color:#fff}.dark-theme.froala-editor .froala-popup h4 i{color:#aaa}.dark-theme.froala-editor .froala-popup h4 i.fa-external-link{color:#fff}.dark-theme.froala-editor .froala-popup h4 i.fa-external-link:hover{color:#2c82c9}.dark-theme.froala-editor .froala-popup h4 i:hover{color:#fff}.dark-theme.froala-editor .froala-popup button{color:#fff}.dark-theme.froala-editor .froala-popup button.f-ok{background:#2c82c9;color:#fff}.dark-theme.froala-editor .froala-popup button.f-unlink{background:#b8312f}.dark-theme.froala-editor .froala-popup button:hover{background:#fff;color:#353535}.dark-theme.froala-editor .froala-popup div.f-popup-line input[type=text],.dark-theme.froala-editor .froala-popup div.f-popup-line textarea{border:solid 1px #aaa}.dark-theme.froala-editor .froala-popup div.f-popup-line input[type=text]:focus,.dark-theme.froala-editor .froala-popup div.f-popup-line textarea:focus{border-color:#54acd2}.dark-theme.froala-editor .froala-popup div.f-popup-line label{color:#fff}.dark-theme.froala-editor .froala-popup.froala-image-editor-popup div.f-popup-line+div.f-popup-line{border-top:solid 1px #ccc}.dark-theme.froala-editor .froala-popup.froala-video-popup p.or{color:#fff}.dark-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload{color:#fff;border:dashed 2px #aaa}.dark-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload:hover{border:dashed 2px #eee}.dark-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload.f-hover{border:dashed 2px #61bd6d}.dark-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line+div.f-popup-line{border-top:solid 1px #ccc}.dark-theme.froala-editor .froala-popup.froala-image-popup button.f-browse{background:#475577;color:#fff}.dark-theme.froala-editor .froala-popup.froala-image-popup button.f-browse:hover{background:#353535;color:#fff}.dark-theme.froala-editor .froala-popup.froala-image-popup p.f-progress{background-color:#61bd6d}.dark-theme.froala-editor .froala-popup.froala-image-popup p.f-progress span{background-color:#61bd6d;color:#fff}.dark-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line .f-browse-links{background:#475577;color:#fff}.dark-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line .f-browse-links:hover{background:#353535;color:#fff}.dark-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul{background:#fff;border:solid 1px #252525}.dark-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul li{color:#fff}.dark-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul li+li{border-top:solid 1px #252525}.dark-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul li:hover{background:#fff;color:#fff}.dark-theme.froala-modal .f-modal-wrapper{background:#353535;border:solid 1px #252525;border-top:solid 5px #252525}.dark-theme.froala-modal .f-modal-wrapper h4{color:#fff}.dark-theme.froala-modal .f-modal-wrapper h4 i{color:#aaa}.dark-theme.froala-modal .f-modal-wrapper h4 i:hover{color:#fff}.dark-theme.froala-modal .f-modal-wrapper div.f-image-list div.f-empty{background:#aaa}.dark-theme.froala-modal .f-modal-wrapper div.f-image-list div .f-delete-img{background:#252525;color:#fff}.dark-theme.froala-modal .f-modal-wrapper div.f-image-list:not(.f-touch) div:hover .f-delete-img:hover{background:#d14841;color:#fff}
4
+ */.dark-theme.froala-box .html-switch{border-color:#aaa}.dark-theme.froala-box .froala-element hr{border-top-color:#aaa}.dark-theme.froala-box .froala-element.f-placeholder:before{color:#aaa}.dark-theme.froala-box .froala-element pre{border:solid 1px #aaa;background:#fcfcfc;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.dark-theme.froala-box .froala-element blockquote{border-left:solid 5px #aaa}.dark-theme.froala-box .froala-element img{min-width:32px!important;min-height:32px!important}.dark-theme.froala-box .froala-element img.fr-fil{padding:10px 10px 10px 3px}.dark-theme.froala-box .froala-element img.fr-fir{padding:10px 3px 10px 10px}.dark-theme.froala-box .froala-element img.fr-fin{padding:10px 0}.dark-theme.froala-box .froala-element img::selection{color:#fff}.dark-theme.froala-box .froala-element img::-moz-selection{color:#fff}.dark-theme.froala-box .froala-element span.f-img-editor:before{border:solid 2px #fff!important;outline:solid 1px #252525!important}.dark-theme.froala-box .froala-element span.f-img-editor.fr-fil{margin:10px 10px 10px 3px}.dark-theme.froala-box .froala-element span.f-img-editor.fr-fir{margin:10px 3px 10px 10px}.dark-theme.froala-box .froala-element span.f-img-editor.fr-fin{margin:10px 0}.dark-theme.froala-box .froala-element span.f-img-handle{height:13px;width:13px;border:solid 1px #252525!important;background:#fff}.dark-theme.froala-box .froala-element span.f-video-editor.active:after{border:solid 1px #252525}.dark-theme.froala-box .froala-element.f-basic{border:solid 1px #252525}.dark-theme.froala-box .froala-element table td{border:solid 1px #aaa}.dark-theme.froala-box.f-html .froala-element{background:#202020;color:#fff;font-family:'Courier New',Monospace;font-size:13px}.dark-theme.froala-editor{background:#353535;border:solid 1px #252525;border-top:solid 5px #252525}.dark-theme.froala-editor hr{border-top-color:#aaa}.dark-theme.froala-editor span.f-sep{border-right:solid 1px #aaa;height:35px}.dark-theme.froala-editor button.fr-bttn,.dark-theme.froala-editor button.fr-trigger{background:0 0;color:#fff;font-size:16px;line-height:35px;width:40px}.dark-theme.froala-editor button.fr-bttn img,.dark-theme.froala-editor button.fr-trigger img{max-width:40px;max-height:35px}.dark-theme.froala-editor button.fr-bttn:disabled,.dark-theme.froala-editor button.fr-trigger:disabled{color:#aaa!important}.dark-theme.froala-editor button.fr-bttn:disabled:after,.dark-theme.froala-editor button.fr-trigger:disabled:after{border-top-color:#aaa!important}.dark-theme.froala-editor.ie8 button.fr-bttn:hover,.dark-theme.froala-editor.ie8 button.fr-trigger:hover{background:#2c82c9;color:#fff}.dark-theme.froala-editor.ie8 button.fr-bttn:hover:after,.dark-theme.froala-editor.ie8 button.fr-trigger:hover:after{border-top-color:#fff}.dark-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-bttn:hover,.dark-theme.froala-editor .froala-popup button.fr-bttn:hover,.dark-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-trigger:hover,.dark-theme.froala-editor .froala-popup button.fr-trigger:hover{background:#2c82c9;color:#fff}.dark-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-bttn:hover:after,.dark-theme.froala-editor .froala-popup button.fr-bttn:hover:after,.dark-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-trigger:hover:after,.dark-theme.froala-editor .froala-popup button.fr-trigger:hover:after{border-top-color:#fff}.dark-theme.froala-editor .fr-bttn.active{color:#2c82c9;background:0 0}.dark-theme.froala-editor .fr-trigger:after{border-top-color:#fff}.dark-theme.froala-editor .fr-trigger.active{color:#fff;background:#2c82c9}.dark-theme.froala-editor .fr-trigger.active:after{border-top-color:#fff!important}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu{background:#353535;border:solid 1px #252525}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu li.active a{background:#fff!important;color:#353535!important}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu li a{color:#fff}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu li a:hover{background:#fff!important;color:#353535!important}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li:hover>a,.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li.hover>a{background:#fff;color:#353535}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>ul{background:#353535;color:#fff;border:solid 1px #252525}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div{background:#353535;color:#fff;border:solid 1px #252525}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span>span{border:solid 1px #aaa}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span:hover>span,.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span.hover>span{background:rgba(61,142,185,.3);border:solid 1px #3d8eb9}.dark-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>hr{border-top:solid 1px #252525}.dark-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p{color:#fff}.dark-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p a.fr-bttn{color:#fff}.dark-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p a.fr-bttn:hover{color:#2c82c9}.dark-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn{border:solid 1px #353535}.dark-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn.active{border:solid 1px #353535;outline:solid 1px #fff}.dark-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn.active:after{color:#fff}.dark-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn:hover:not(:focus):not(:active){border:solid 1px #fff}.dark-theme.froala-editor .froala-popup{background:#353535}.dark-theme.froala-editor .froala-popup h4{color:#fff}.dark-theme.froala-editor .froala-popup h4 i{color:#aaa}.dark-theme.froala-editor .froala-popup h4 i.fa-external-link{color:#fff}.dark-theme.froala-editor .froala-popup h4 i.fa-external-link:hover{color:#2c82c9}.dark-theme.froala-editor .froala-popup h4 i:hover{color:#fff}.dark-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger){color:#fff}.dark-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger).f-ok{background:#2c82c9;color:#fff}.dark-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger).f-unlink{background:#b8312f;color:#fff}.dark-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger):hover,.dark-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger):focus{background:#fff;color:#353535}.dark-theme.froala-editor .froala-popup div.f-popup-line.f-popup-toolbar{background:#353535}.dark-theme.froala-editor .froala-popup div.f-popup-line label{color:#fff}.dark-theme.froala-editor .froala-popup div.f-popup-line input[type=text]{border:solid 1px #aaa}.dark-theme.froala-editor .froala-popup div.f-popup-line input[type=text]:focus{border:solid 1px #54acd2}.dark-theme.froala-editor .froala-popup div.f-popup-line textarea{border:solid 1px #aaa}.dark-theme.froala-editor .froala-popup div.f-popup-line textarea:focus{border:solid 1px #54acd2}.dark-theme.froala-editor .froala-popup.froala-image-editor-popup div.f-popup-line+div.f-popup-line{border-top:solid 1px #aaa}.dark-theme.froala-editor .froala-popup.froala-video-popup p.or{color:#fff}.dark-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload{color:#fff;border:dashed 2px #aaa}.dark-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload:hover{border:dashed 2px #eee}.dark-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload.f-hover{border:dashed 2px #61bd6d}.dark-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line button.f-browse{background:#475577;color:#fff}.dark-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line button.f-browse:hover{background:#fff;color:#353535}.dark-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line+div.f-popup-line{border-top:solid 1px #aaa}.dark-theme.froala-editor .froala-popup.froala-image-popup p.f-progress{background-color:#61bd6d}.dark-theme.froala-editor .froala-popup.froala-image-popup p.f-progress span{background-color:#61bd6d;color:#fff}.dark-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line .f-browse-links{background:#475577;color:#fff}.dark-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line .f-browse-links:hover{background:#fff;color:#353535}.dark-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul{background:#353535;border:solid 1px #252525}.dark-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul li{color:#fff}.dark-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul li+li{border-top:solid 1px #252525}.dark-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul li:hover{background:#fff;color:#353535}.dark-theme.froala-modal .f-modal-wrapper{background:#353535;border:solid 1px #252525;border-top:solid 5px #252525}.dark-theme.froala-modal .f-modal-wrapper h4{color:#fff}.dark-theme.froala-modal .f-modal-wrapper h4 i{color:#aaa}.dark-theme.froala-modal .f-modal-wrapper h4 i:hover{color:#fff}.dark-theme.froala-modal .f-modal-wrapper div.f-image-list div.f-empty{background:#aaa}.dark-theme.froala-modal .f-modal-wrapper div.f-image-list div .f-delete-img{background:#b8312f;color:#fff}.dark-theme.froala-modal .f-modal-wrapper div.f-image-list:not(.f-touch) div:hover .f-delete-img:hover{background:#fff;color:#353535}.froala-overlay{background:#000}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
+ * Copyright 2014-2014 Froala
4
+ */.gray-theme.froala-box .html-switch{border-color:#aaa}.gray-theme.froala-box .froala-element hr{border-top-color:#d1d5d8}.gray-theme.froala-box .froala-element.f-placeholder:before{color:#d1d5d8}.gray-theme.froala-box .froala-element pre{border:solid 1px #d1d5d8;background:#fcfcfc;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.gray-theme.froala-box .froala-element blockquote{border-left:solid 5px #d1d5d8}.gray-theme.froala-box .froala-element img{min-width:32px!important;min-height:32px!important}.gray-theme.froala-box .froala-element img.fr-fil{padding:10px 10px 10px 3px}.gray-theme.froala-box .froala-element img.fr-fir{padding:10px 3px 10px 10px}.gray-theme.froala-box .froala-element img.fr-fin{padding:10px 0}.gray-theme.froala-box .froala-element img::selection{color:#fff}.gray-theme.froala-box .froala-element img::-moz-selection{color:#fff}.gray-theme.froala-box .froala-element span.f-img-editor:before{border:solid 2px #fff!important;outline:solid 1px #252525!important}.gray-theme.froala-box .froala-element span.f-img-editor.fr-fil{margin:10px 10px 10px 3px}.gray-theme.froala-box .froala-element span.f-img-editor.fr-fir{margin:10px 3px 10px 10px}.gray-theme.froala-box .froala-element span.f-img-editor.fr-fin{margin:10px 0}.gray-theme.froala-box .froala-element span.f-img-handle{height:13px;width:13px;border:solid 1px #252525!important;background:#fff}.gray-theme.froala-box .froala-element span.f-video-editor.active:after{border:solid 1px #252525}.gray-theme.froala-box .froala-element.f-basic{border:solid 1px #75706b}.gray-theme.froala-box .froala-element table td{border:solid 1px #d1d5d8}.gray-theme.froala-box.f-html .froala-element{background:#202020;color:#fff;font-family:'Courier New',Monospace;font-size:13px}.gray-theme.froala-editor{background:#efefef;border:solid 1px #75706b;border-top:solid 5px #75706b}.gray-theme.froala-editor hr{border-top-color:#d1d5d8}.gray-theme.froala-editor span.f-sep{border-right:solid 1px #d1d5d8;height:35px}.gray-theme.froala-editor button.fr-bttn,.gray-theme.froala-editor button.fr-trigger{background:0 0;color:#75706b;font-size:16px;line-height:35px;width:40px}.gray-theme.froala-editor button.fr-bttn img,.gray-theme.froala-editor button.fr-trigger img{max-width:40px;max-height:35px}.gray-theme.froala-editor button.fr-bttn:disabled,.gray-theme.froala-editor button.fr-trigger:disabled{color:#aaa!important}.gray-theme.froala-editor button.fr-bttn:disabled:after,.gray-theme.froala-editor button.fr-trigger:disabled:after{border-top-color:#aaa!important}.gray-theme.froala-editor.ie8 button.fr-bttn:hover,.gray-theme.froala-editor.ie8 button.fr-trigger:hover{background:#28324e;color:#fff}.gray-theme.froala-editor.ie8 button.fr-bttn:hover:after,.gray-theme.froala-editor.ie8 button.fr-trigger:hover:after{border-top-color:#fff}.gray-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-bttn:hover,.gray-theme.froala-editor .froala-popup button.fr-bttn:hover,.gray-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-trigger:hover,.gray-theme.froala-editor .froala-popup button.fr-trigger:hover{background:#28324e;color:#fff}.gray-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-bttn:hover:after,.gray-theme.froala-editor .froala-popup button.fr-bttn:hover:after,.gray-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-trigger:hover:after,.gray-theme.froala-editor .froala-popup button.fr-trigger:hover:after{border-top-color:#fff}.gray-theme.froala-editor .fr-bttn.active{color:#28324e;background:0 0}.gray-theme.froala-editor .fr-trigger:after{border-top-color:#75706b}.gray-theme.froala-editor .fr-trigger.active{color:#fff;background:#28324e}.gray-theme.froala-editor .fr-trigger.active:after{border-top-color:#fff!important}.gray-theme.froala-editor .fr-dropdown .fr-dropdown-menu{background:#fff;border:solid 1px #75706b}.gray-theme.froala-editor .fr-dropdown .fr-dropdown-menu li.active a{background:#28324e!important;color:#fff!important}.gray-theme.froala-editor .fr-dropdown .fr-dropdown-menu li a{color:#28324e}.gray-theme.froala-editor .fr-dropdown .fr-dropdown-menu li a:hover{background:#28324e!important;color:#fff!important}.gray-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li:hover>a,.gray-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li.hover>a{background:#28324e;color:#fff}.gray-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>ul{background:#fff;color:#28324e;border:solid 1px #75706b}.gray-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div{background:#fff;color:#28324e;border:solid 1px #75706b}.gray-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span>span{border:solid 1px #d1d5d8}.gray-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span:hover>span,.gray-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span.hover>span{background:rgba(40,50,78,.3);border:solid 1px #28324e}.gray-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>hr{border-top:solid 1px #75706b}.gray-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p{color:#28324e}.gray-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p a.fr-bttn{color:#28324e}.gray-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p a.fr-bttn:hover{color:#28324e}.gray-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn{border:solid 1px #fff}.gray-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn.active{border:solid 1px #fff;outline:solid 1px #75706b}.gray-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn.active:after{color:#fff}.gray-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn:hover:not(:focus):not(:active){border:solid 1px #75706b}.gray-theme.froala-editor .froala-popup{background:#fff}.gray-theme.froala-editor .froala-popup h4{color:#28324e}.gray-theme.froala-editor .froala-popup h4 i{color:#d1d5d8}.gray-theme.froala-editor .froala-popup h4 i.fa-external-link{color:#28324e}.gray-theme.froala-editor .froala-popup h4 i.fa-external-link:hover{color:#28324e}.gray-theme.froala-editor .froala-popup h4 i:hover{color:#28324e}.gray-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger){color:#fff}.gray-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger).f-ok{background:#75706b;color:#fff}.gray-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger).f-unlink{background:#28324e;color:#fff}.gray-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger):hover,.gray-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger):focus{background:#d1d5d8;color:#28324e}.gray-theme.froala-editor .froala-popup div.f-popup-line.f-popup-toolbar{background:#efefef}.gray-theme.froala-editor .froala-popup div.f-popup-line label{color:#28324e}.gray-theme.froala-editor .froala-popup div.f-popup-line input[type=text]{border:solid 1px #d1d5d8}.gray-theme.froala-editor .froala-popup div.f-popup-line input[type=text]:focus{border:solid 1px #28324e}.gray-theme.froala-editor .froala-popup div.f-popup-line textarea{border:solid 1px #d1d5d8}.gray-theme.froala-editor .froala-popup div.f-popup-line textarea:focus{border:solid 1px #28324e}.gray-theme.froala-editor .froala-popup.froala-image-editor-popup div.f-popup-line+div.f-popup-line{border-top:solid 1px #d1d5d8}.gray-theme.froala-editor .froala-popup.froala-video-popup p.or{color:#28324e}.gray-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload{color:#28324e;border:dashed 2px #d1d5d8}.gray-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload:hover{border:dashed 2px #353535}.gray-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload.f-hover{border:dashed 2px #61bd6d}.gray-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line button.f-browse{background:#28324e;color:#fff}.gray-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line button.f-browse:hover{background:#d1d5d8;color:#28324e}.gray-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line+div.f-popup-line{border-top:solid 1px #d1d5d8}.gray-theme.froala-editor .froala-popup.froala-image-popup p.f-progress{background-color:#61bd6d}.gray-theme.froala-editor .froala-popup.froala-image-popup p.f-progress span{background-color:#61bd6d;color:#fff}.gray-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line .f-browse-links{background:#28324e;color:#fff}.gray-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line .f-browse-links:hover{background:#d1d5d8;color:#28324e}.gray-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul{background:#fff;border:solid 1px #75706b}.gray-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul li{color:#28324e}.gray-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul li+li{border-top:solid 1px #75706b}.gray-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul li:hover{background:#28324e;color:#fff}.gray-theme.froala-modal .f-modal-wrapper{background:#fff;border:solid 1px #75706b;border-top:solid 5px #75706b}.gray-theme.froala-modal .f-modal-wrapper h4{color:#28324e}.gray-theme.froala-modal .f-modal-wrapper h4 i{color:#d1d5d8}.gray-theme.froala-modal .f-modal-wrapper h4 i:hover{color:#28324e}.gray-theme.froala-modal .f-modal-wrapper div.f-image-list div.f-empty{background:#d1d5d8}.gray-theme.froala-modal .f-modal-wrapper div.f-image-list div .f-delete-img{background:#28324e;color:#fff}.gray-theme.froala-modal .f-modal-wrapper div.f-image-list:not(.f-touch) div:hover .f-delete-img:hover{background:#d1d5d8;color:#28324e}.froala-overlay{background:#75706b}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * froala_editor v1.2.0 (http://editor.froala.com)
3
+ * Copyright 2014-2014 Froala
4
+ */.red-theme.froala-box .html-switch{border-color:#aaa}.red-theme.froala-box .froala-element hr{border-top-color:#ccc}.red-theme.froala-box .froala-element.f-placeholder:before{color:#ccc}.red-theme.froala-box .froala-element pre{border:solid 1px #ccc;background:#fcfcfc;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box}.red-theme.froala-box .froala-element blockquote{border-left:solid 5px #ccc}.red-theme.froala-box .froala-element img{min-width:32px!important;min-height:32px!important}.red-theme.froala-box .froala-element img.fr-fil{padding:10px 10px 10px 3px}.red-theme.froala-box .froala-element img.fr-fir{padding:10px 3px 10px 10px}.red-theme.froala-box .froala-element img.fr-fin{padding:10px 0}.red-theme.froala-box .froala-element img::selection{color:#fff}.red-theme.froala-box .froala-element img::-moz-selection{color:#fff}.red-theme.froala-box .froala-element span.f-img-editor:before{border:solid 2px #fff!important;outline:solid 1px #252525!important}.red-theme.froala-box .froala-element span.f-img-editor.fr-fil{margin:10px 10px 10px 3px}.red-theme.froala-box .froala-element span.f-img-editor.fr-fir{margin:10px 3px 10px 10px}.red-theme.froala-box .froala-element span.f-img-editor.fr-fin{margin:10px 0}.red-theme.froala-box .froala-element span.f-img-handle{height:13px;width:13px;border:solid 1px #252525!important;background:#fff}.red-theme.froala-box .froala-element span.f-video-editor.active:after{border:solid 1px #252525}.red-theme.froala-box .froala-element.f-basic{border:solid 1px #252525}.red-theme.froala-box .froala-element table td{border:solid 1px #ccc}.red-theme.froala-box.f-html .froala-element{background:#202020;color:#fff;font-family:'Courier New',Monospace;font-size:13px}.red-theme.froala-editor{background:#b8312f;border:solid 1px #252525;border-top:solid 5px #252525}.red-theme.froala-editor hr{border-top-color:#ccc}.red-theme.froala-editor span.f-sep{border-right:solid 1px #ccc;height:35px}.red-theme.froala-editor button.fr-bttn,.red-theme.froala-editor button.fr-trigger{background:0 0;color:#fff;font-size:16px;line-height:35px;width:40px}.red-theme.froala-editor button.fr-bttn img,.red-theme.froala-editor button.fr-trigger img{max-width:40px;max-height:35px}.red-theme.froala-editor button.fr-bttn:disabled,.red-theme.froala-editor button.fr-trigger:disabled{color:#aaa!important}.red-theme.froala-editor button.fr-bttn:disabled:after,.red-theme.froala-editor button.fr-trigger:disabled:after{border-top-color:#aaa!important}.red-theme.froala-editor.ie8 button.fr-bttn:hover,.red-theme.froala-editor.ie8 button.fr-trigger:hover{background:#f7da64;color:#b8312f}.red-theme.froala-editor.ie8 button.fr-bttn:hover:after,.red-theme.froala-editor.ie8 button.fr-trigger:hover:after{border-top-color:#b8312f}.red-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-bttn:hover,.red-theme.froala-editor .froala-popup button.fr-bttn:hover,.red-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-trigger:hover,.red-theme.froala-editor .froala-popup button.fr-trigger:hover{background:#f7da64;color:#b8312f}.red-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-bttn:hover:after,.red-theme.froala-editor .froala-popup button.fr-bttn:hover:after,.red-theme.froala-editor .bttn-wrapper:not(.touch) button.fr-trigger:hover:after,.red-theme.froala-editor .froala-popup button.fr-trigger:hover:after{border-top-color:#b8312f}.red-theme.froala-editor .fr-bttn.active{color:#f7da64;background:0 0}.red-theme.froala-editor .fr-trigger:after{border-top-color:#fff}.red-theme.froala-editor .fr-trigger.active{color:#b8312f;background:#f7da64}.red-theme.froala-editor .fr-trigger.active:after{border-top-color:#b8312f!important}.red-theme.froala-editor .fr-dropdown .fr-dropdown-menu{background:#fff;border:solid 1px #b8312f}.red-theme.froala-editor .fr-dropdown .fr-dropdown-menu li.active a{background:#444!important;color:#fff!important}.red-theme.froala-editor .fr-dropdown .fr-dropdown-menu li a{color:#444}.red-theme.froala-editor .fr-dropdown .fr-dropdown-menu li a:hover{background:#444!important;color:#fff!important}.red-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li:hover>a,.red-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li.hover>a{background:#444;color:#fff}.red-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>ul{background:#fff;color:#444;border:solid 1px #b8312f}.red-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div{background:#fff;color:#444;border:solid 1px #b8312f}.red-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span>span{border:solid 1px #ccc}.red-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span:hover>span,.red-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>li>div>span.hover>span{background:rgba(247,218,100,.3);border:solid 1px #f7da64}.red-theme.froala-editor .fr-dropdown .fr-dropdown-menu.fr-table>hr{border-top:solid 1px #b8312f}.red-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p{color:#444}.red-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p a.fr-bttn{color:#444}.red-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu p a.fr-bttn:hover{color:#f7da64}.red-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn{border:solid 1px #fff}.red-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn.active{border:solid 1px #fff;outline:solid 1px #252525}.red-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn.active:after{color:#fff}.red-theme.froala-editor .fr-dropdown.fr-color-picker .fr-dropdown-menu .fr-color-bttn:hover:not(:focus):not(:active){border:solid 1px #252525}.red-theme.froala-editor .froala-popup{background:#fff}.red-theme.froala-editor .froala-popup h4{color:#444}.red-theme.froala-editor .froala-popup h4 i{color:#ccc}.red-theme.froala-editor .froala-popup h4 i.fa-external-link{color:#444}.red-theme.froala-editor .froala-popup h4 i.fa-external-link:hover{color:#f7da64}.red-theme.froala-editor .froala-popup h4 i:hover{color:#444}.red-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger){color:#fff}.red-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger).f-ok{background:#b8312f;color:#fff}.red-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger).f-unlink{background:#353535;color:#fff}.red-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger):hover,.red-theme.froala-editor .froala-popup button:not(.fr-bttn):not(.fr-trigger):focus{background:#f7da64;color:#b8312f}.red-theme.froala-editor .froala-popup div.f-popup-line.f-popup-toolbar{background:#b8312f}.red-theme.froala-editor .froala-popup div.f-popup-line label{color:#444}.red-theme.froala-editor .froala-popup div.f-popup-line input[type=text]{border:solid 1px #ccc}.red-theme.froala-editor .froala-popup div.f-popup-line input[type=text]:focus{border:solid 1px #f7da64}.red-theme.froala-editor .froala-popup div.f-popup-line textarea{border:solid 1px #ccc}.red-theme.froala-editor .froala-popup div.f-popup-line textarea:focus{border:solid 1px #f7da64}.red-theme.froala-editor .froala-popup.froala-image-editor-popup div.f-popup-line+div.f-popup-line{border-top:solid 1px #ccc}.red-theme.froala-editor .froala-popup.froala-video-popup p.or{color:#444}.red-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload{color:#444;border:dashed 2px #ccc}.red-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload:hover{border:dashed 2px #353535}.red-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line.drop-upload div.f-upload.f-hover{border:dashed 2px #61bd6d}.red-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line button.f-browse{background:#f7da64;color:#b8312f}.red-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line button.f-browse:hover{background:#b8312f;color:#fff}.red-theme.froala-editor .froala-popup.froala-image-popup div.f-popup-line+div.f-popup-line{border-top:solid 1px #ccc}.red-theme.froala-editor .froala-popup.froala-image-popup p.f-progress{background-color:#61bd6d}.red-theme.froala-editor .froala-popup.froala-image-popup p.f-progress span{background-color:#61bd6d;color:#fff}.red-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line .f-browse-links{background:#f7da64;color:#b8312f}.red-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line .f-browse-links:hover{background:#b8312f;color:#fff}.red-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul{background:#fff;border:solid 1px #b8312f}.red-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul li{color:#444}.red-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul li+li{border-top:solid 1px #b8312f}.red-theme.froala-editor .froala-popup.froala-link-popup div.f-popup-line ul li:hover{background:#444;color:#fff}.red-theme.froala-modal .f-modal-wrapper{background:#fff;border:solid 1px #252525;border-top:solid 5px #252525}.red-theme.froala-modal .f-modal-wrapper h4{color:#444}.red-theme.froala-modal .f-modal-wrapper h4 i{color:#ccc}.red-theme.froala-modal .f-modal-wrapper h4 i:hover{color:#444}.red-theme.froala-modal .f-modal-wrapper div.f-image-list div.f-empty{background:#ccc}.red-theme.froala-modal .f-modal-wrapper div.f-image-list div .f-delete-img{background:#353535;color:#fff}.red-theme.froala-modal .f-modal-wrapper div.f-image-list:not(.f-touch) div:hover .f-delete-img:hover{background:#f7da64;color:#b8312f}.froala-overlay{background:#000}
@@ -1,5 +1,5 @@
1
1
  module WYSIWYG
2
2
  module Rails
3
- VERSION = "1.1.7"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wysiwyg-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Froala
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-20 00:00:00.000000000 Z
11
+ date: 2014-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - '='
38
38
  - !ruby/object:Gem::Version
39
- version: 4.1.0.0
39
+ version: 4.2.0.0
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - '='
45
45
  - !ruby/object:Gem::Version
46
- version: 4.1.0.0
46
+ version: 4.2.0.0
47
47
  description: A nice flat designed jQuery WYSIWYG editor based on HTML5.
48
48
  email:
49
49
  - stefan@froala.com
@@ -57,6 +57,7 @@ files:
57
57
  - app/assets/javascripts/froala_editor.min.js
58
58
  - app/assets/javascripts/froala_editor_ie8.min.js
59
59
  - app/assets/javascripts/langs/ar.js
60
+ - app/assets/javascripts/langs/bs.js
60
61
  - app/assets/javascripts/langs/cs.js
61
62
  - app/assets/javascripts/langs/da.js
62
63
  - app/assets/javascripts/langs/de.js
@@ -67,11 +68,14 @@ files:
67
68
  - app/assets/javascripts/langs/fa.js
68
69
  - app/assets/javascripts/langs/fi.js
69
70
  - app/assets/javascripts/langs/fr.js
71
+ - app/assets/javascripts/langs/he.js
72
+ - app/assets/javascripts/langs/hr.js
70
73
  - app/assets/javascripts/langs/hu.js
71
74
  - app/assets/javascripts/langs/id.js
72
75
  - app/assets/javascripts/langs/it.js
73
76
  - app/assets/javascripts/langs/ja.js
74
77
  - app/assets/javascripts/langs/ko.js
78
+ - app/assets/javascripts/langs/me.js
75
79
  - app/assets/javascripts/langs/nb.js
76
80
  - app/assets/javascripts/langs/nl.js
77
81
  - app/assets/javascripts/langs/pl.js
@@ -79,26 +83,26 @@ files:
79
83
  - app/assets/javascripts/langs/pt_pt.js
80
84
  - app/assets/javascripts/langs/ro.js
81
85
  - app/assets/javascripts/langs/ru.js
86
+ - app/assets/javascripts/langs/sr.js
82
87
  - app/assets/javascripts/langs/sv.js
83
88
  - app/assets/javascripts/langs/th.js
84
89
  - app/assets/javascripts/langs/tr.js
85
90
  - app/assets/javascripts/langs/zh_cn.js
86
91
  - app/assets/javascripts/langs/zh_tw.js
87
- - app/assets/javascripts/libs/beautify/beautify-css.js
88
- - app/assets/javascripts/libs/beautify/beautify-html.js
89
- - app/assets/javascripts/libs/beautify/beautify.js
90
92
  - app/assets/javascripts/plugins/block_styles.min.js
91
93
  - app/assets/javascripts/plugins/colors.min.js
92
- - app/assets/javascripts/plugins/fonts/font_family.min.js
93
- - app/assets/javascripts/plugins/fonts/font_size.min.js
94
- - app/assets/javascripts/plugins/fonts/fonts.min.js
94
+ - app/assets/javascripts/plugins/file_upload.min.js
95
+ - app/assets/javascripts/plugins/font_family.min.js
96
+ - app/assets/javascripts/plugins/font_size.min.js
97
+ - app/assets/javascripts/plugins/lists.min.js
95
98
  - app/assets/javascripts/plugins/media_manager.min.js
96
99
  - app/assets/javascripts/plugins/tables.min.js
97
100
  - app/assets/javascripts/plugins/video.min.js
98
101
  - app/assets/stylesheets/froala_editor.min.css
99
- - app/assets/stylesheets/froala_reset.min.css
100
- - app/assets/stylesheets/themes/dark.css
102
+ - app/assets/stylesheets/froala_page.min.css
101
103
  - app/assets/stylesheets/themes/dark.min.css
104
+ - app/assets/stylesheets/themes/gray.min.css
105
+ - app/assets/stylesheets/themes/red.min.css
102
106
  - lib/wysiwyg-rails.rb
103
107
  - lib/wysiwyg-rails/engine.rb
104
108
  - lib/wysiwyg-rails/version.rb
@@ -1,384 +0,0 @@
1
- /*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */
2
- /*
3
-
4
- The MIT License (MIT)
5
-
6
- Copyright (c) 2007-2013 Einar Lielmanis and contributors.
7
-
8
- Permission is hereby granted, free of charge, to any person
9
- obtaining a copy of this software and associated documentation files
10
- (the "Software"), to deal in the Software without restriction,
11
- including without limitation the rights to use, copy, modify, merge,
12
- publish, distribute, sublicense, and/or sell copies of the Software,
13
- and to permit persons to whom the Software is furnished to do so,
14
- subject to the following conditions:
15
-
16
- The above copyright notice and this permission notice shall be
17
- included in all copies or substantial portions of the Software.
18
-
19
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
22
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
23
- BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
24
- ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
-
28
-
29
- CSS Beautifier
30
- ---------------
31
-
32
- Written by Harutyun Amirjanyan, (amirjanyan@gmail.com)
33
-
34
- Based on code initially developed by: Einar Lielmanis, <einar@jsbeautifier.org>
35
- http://jsbeautifier.org/
36
-
37
- Usage:
38
- css_beautify(source_text);
39
- css_beautify(source_text, options);
40
-
41
- The options are (default in brackets):
42
- indent_size (4) — indentation size,
43
- indent_char (space) — character to indent with,
44
- selector_separator_newline (true) - separate selectors with newline or
45
- not (e.g. "a,\nbr" or "a, br")
46
- end_with_newline (false) - end with a newline
47
-
48
- e.g
49
-
50
- css_beautify(css_source_text, {
51
- 'indent_size': 1,
52
- 'indent_char': '\t',
53
- 'selector_separator': ' ',
54
- 'end_with_newline': false,
55
- });
56
- */
57
-
58
- // http://www.w3.org/TR/CSS21/syndata.html#tokenization
59
- // http://www.w3.org/TR/css3-syntax/
60
-
61
- (function () {
62
- function css_beautify(source_text, options) {
63
- options = options || {};
64
- var indentSize = options.indent_size || 4;
65
- var indentCharacter = options.indent_char || ' ';
66
- var selectorSeparatorNewline = (options.selector_separator_newline === undefined) ? true : options.selector_separator_newline;
67
- var endWithNewline = (options.end_with_newline === undefined) ? false : options.end_with_newline;
68
-
69
- // compatibility
70
- if (typeof indentSize === "string") {
71
- indentSize = parseInt(indentSize, 10);
72
- }
73
-
74
-
75
- // tokenizer
76
- var whiteRe = /^\s+$/;
77
- var wordRe = /[\w$\-_]/;
78
-
79
- var pos = -1,
80
- ch;
81
-
82
- function next() {
83
- ch = source_text.charAt(++pos);
84
- return ch;
85
- }
86
-
87
- function peek() {
88
- return source_text.charAt(pos + 1);
89
- }
90
-
91
- function eatString(endChar) {
92
- var start = pos;
93
- while (next()) {
94
- if (ch === "\\") {
95
- next();
96
- next();
97
- } else if (ch === endChar) {
98
- break;
99
- } else if (ch === "\n") {
100
- break;
101
- }
102
- }
103
- return source_text.substring(start, pos + 1);
104
- }
105
-
106
- function eatWhitespace() {
107
- var start = pos;
108
- while (whiteRe.test(peek())) {
109
- pos++;
110
- }
111
- return pos !== start;
112
- }
113
-
114
- function skipWhitespace() {
115
- var start = pos;
116
- do {} while (whiteRe.test(next()));
117
- return pos !== start + 1;
118
- }
119
-
120
- function eatComment(singleLine) {
121
- var start = pos;
122
- next();
123
- while (next()) {
124
- if (ch === "*" && peek() === "/") {
125
- pos++;
126
- break;
127
- } else if (singleLine && ch === "\n") {
128
- break;
129
- }
130
- }
131
-
132
- return source_text.substring(start, pos + 1);
133
- }
134
-
135
-
136
- function lookBack(str) {
137
- return source_text.substring(pos - str.length, pos).toLowerCase() ===
138
- str;
139
- }
140
-
141
- function isCommentOnLine() {
142
- var endOfLine = source_text.indexOf('\n', pos);
143
- if (endOfLine === -1) {
144
- return false;
145
- }
146
- var restOfLine = source_text.substring(pos, endOfLine);
147
- return restOfLine.indexOf('//') !== -1;
148
- }
149
-
150
- // printer
151
- var indentString = source_text.match(/^[\r\n]*[\t ]*/)[0];
152
- var singleIndent = new Array(indentSize + 1).join(indentCharacter);
153
- var indentLevel = 0;
154
- var nestedLevel = 0;
155
-
156
- function indent() {
157
- indentLevel++;
158
- indentString += singleIndent;
159
- }
160
-
161
- function outdent() {
162
- indentLevel--;
163
- indentString = indentString.slice(0, -indentSize);
164
- }
165
-
166
- var print = {};
167
- print["{"] = function (ch) {
168
- print.singleSpace();
169
- output.push(ch);
170
- print.newLine();
171
- };
172
- print["}"] = function (ch) {
173
- print.newLine();
174
- output.push(ch);
175
- print.newLine();
176
- };
177
-
178
- print._lastCharWhitespace = function () {
179
- return whiteRe.test(output[output.length - 1]);
180
- };
181
-
182
- print.newLine = function (keepWhitespace) {
183
- if (!keepWhitespace) {
184
- while (print._lastCharWhitespace()) {
185
- output.pop();
186
- }
187
- }
188
-
189
- if (output.length) {
190
- output.push('\n');
191
- }
192
- if (indentString) {
193
- output.push(indentString);
194
- }
195
- };
196
- print.singleSpace = function () {
197
- if (output.length && !print._lastCharWhitespace()) {
198
- output.push(' ');
199
- }
200
- };
201
- var output = [];
202
- if (indentString) {
203
- output.push(indentString);
204
- }
205
- /*_____________________--------------------_____________________*/
206
-
207
- var insideRule = false;
208
- var enteringConditionalGroup = false;
209
-
210
- while (true) {
211
- var isAfterSpace = skipWhitespace();
212
-
213
- if (!ch) {
214
- break;
215
- } else if (ch === '/' && peek() === '*') { /* css comment */
216
- print.newLine();
217
- output.push(eatComment(), "\n", indentString);
218
- var header = lookBack("");
219
- if (header) {
220
- print.newLine();
221
- }
222
- } else if (ch === '/' && peek() === '/') { // single line comment
223
- output.push(eatComment(true), indentString);
224
- } else if (ch === '@') {
225
- // strip trailing space, if present, for hash property checks
226
- var atRule = eatString(" ").replace(/ $/, '');
227
-
228
- // pass along the space we found as a separate item
229
- output.push(atRule, ch);
230
-
231
- // might be a nesting at-rule
232
- if (atRule in css_beautify.NESTED_AT_RULE) {
233
- nestedLevel += 1;
234
- if (atRule in css_beautify.CONDITIONAL_GROUP_RULE) {
235
- enteringConditionalGroup = true;
236
- }
237
- }
238
- } else if (ch === '{') {
239
- eatWhitespace();
240
- if (peek() === '}') {
241
- next();
242
- output.push(" {}");
243
- } else {
244
- indent();
245
- print["{"](ch);
246
- // when entering conditional groups, only rulesets are allowed
247
- if (enteringConditionalGroup) {
248
- enteringConditionalGroup = false;
249
- insideRule = (indentLevel > nestedLevel);
250
- } else {
251
- // otherwise, declarations are also allowed
252
- insideRule = (indentLevel >= nestedLevel);
253
- }
254
- }
255
- } else if (ch === '}') {
256
- outdent();
257
- print["}"](ch);
258
- insideRule = false;
259
- if (nestedLevel) {
260
- nestedLevel--;
261
- }
262
- } else if (ch === ":") {
263
- eatWhitespace();
264
- if (insideRule || enteringConditionalGroup) {
265
- // 'property: value' delimiter
266
- // which could be in a conditional group query
267
- output.push(ch, " ");
268
- } else {
269
- if (peek() === ":") {
270
- // pseudo-element
271
- next();
272
- output.push("::");
273
- } else {
274
- // pseudo-class
275
- output.push(ch);
276
- }
277
- }
278
- } else if (ch === '"' || ch === '\'') {
279
- output.push(eatString(ch));
280
- } else if (ch === ';') {
281
- if (isCommentOnLine()) {
282
- var beforeComment = eatString('/');
283
- var comment = eatComment(true);
284
- output.push(beforeComment, comment.substring(1, comment.length - 1), '\n', indentString);
285
- } else {
286
- output.push(ch, '\n', indentString);
287
- }
288
- } else if (ch === '(') { // may be a url
289
- if (lookBack("url")) {
290
- output.push(ch);
291
- eatWhitespace();
292
- if (next()) {
293
- if (ch !== ')' && ch !== '"' && ch !== '\'') {
294
- output.push(eatString(')'));
295
- } else {
296
- pos--;
297
- }
298
- }
299
- } else {
300
- if (isAfterSpace) {
301
- print.singleSpace();
302
- }
303
- output.push(ch);
304
- eatWhitespace();
305
- }
306
- } else if (ch === ')') {
307
- output.push(ch);
308
- } else if (ch === ',') {
309
- eatWhitespace();
310
- output.push(ch);
311
- if (!insideRule && selectorSeparatorNewline) {
312
- print.newLine();
313
- } else {
314
- print.singleSpace();
315
- }
316
- } else if (ch === ']') {
317
- output.push(ch);
318
- } else if (ch === '[') {
319
- if (isAfterSpace) {
320
- print.singleSpace();
321
- }
322
- output.push(ch);
323
- } else if (ch === '=') { // no whitespace before or after
324
- eatWhitespace();
325
- output.push(ch);
326
- } else {
327
- if (isAfterSpace) {
328
- print.singleSpace();
329
- }
330
-
331
- output.push(ch);
332
- }
333
- }
334
-
335
-
336
- var sweetCode = output.join('').replace(/[\n ]+$/, '');
337
-
338
- // establish end_with_newline
339
- var should = endWithNewline;
340
- var actually = /\n$/.test(sweetCode);
341
- if (should && !actually) {
342
- sweetCode += "\n";
343
- } else if (!should && actually) {
344
- sweetCode = sweetCode.slice(0, -1);
345
- }
346
-
347
- return sweetCode;
348
- }
349
-
350
- // https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule
351
- css_beautify.NESTED_AT_RULE = {
352
- "@page": true,
353
- "@font-face": true,
354
- "@keyframes": true,
355
- // also in CONDITIONAL_GROUP_RULE below
356
- "@media": true,
357
- "@supports": true,
358
- "@document": true
359
- };
360
- css_beautify.CONDITIONAL_GROUP_RULE = {
361
- "@media": true,
362
- "@supports": true,
363
- "@document": true
364
- };
365
-
366
- /*global define */
367
- if (typeof define === "function" && define.amd) {
368
- // Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )
369
- define([], function () {
370
- return { css_beautify: css_beautify };
371
- });
372
- } else if (typeof exports !== "undefined") {
373
- // Add support for CommonJS. Just put this file somewhere on your require.paths
374
- // and you will be able to `var html_beautify = require("beautify").html_beautify`.
375
- exports.css_beautify = css_beautify;
376
- } else if (typeof window !== "undefined") {
377
- // If we're running a web page and don't have either of the above, add our one global
378
- window.css_beautify = css_beautify;
379
- } else if (typeof global !== "undefined") {
380
- // If we don't even have window, try global.
381
- global.css_beautify = css_beautify;
382
- }
383
-
384
- }());