summernote-rails 0.5.10.2 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +33 -159
- data/lib/summernote-rails.rb +14 -0
- data/lib/{summernote/rails.rb → summernote-rails/engine.rb} +2 -4
- data/lib/summernote-rails/railtie.rb +5 -0
- data/lib/summernote-rails/simple_form/summernote_input.rb +7 -0
- data/lib/summernote-rails/version.rb +5 -0
- data/vendor/assets/javascripts/summernote/index.js +2 -0
- data/vendor/assets/javascripts/{lang/summernote-ar-AR.js → summernote/locales/ar-AR.js} +3 -12
- data/vendor/assets/javascripts/{lang/summernote-ca-ES.js → summernote/locales/ca-ES.js} +93 -102
- data/vendor/assets/javascripts/{lang/summernote-cs-CZ.js → summernote/locales/cs-CZ.js} +1 -10
- data/vendor/assets/javascripts/{lang/summernote-da-DK.js → summernote/locales/da-DK.js} +11 -12
- data/vendor/assets/javascripts/{lang/summernote-de-DE.js → summernote/locales/de-DE.js} +2 -11
- data/vendor/assets/javascripts/{lang/summernote-es-ES.js → summernote/locales/es-ES.js} +1 -12
- data/vendor/assets/javascripts/{lang/summernote-es-EU.js → summernote/locales/es-EU.js} +12 -21
- data/vendor/assets/javascripts/summernote/locales/fa-IR.js +96 -0
- data/vendor/assets/javascripts/{lang/summernote-fi-FI.js → summernote/locales/fi-FI.js} +1 -10
- data/vendor/assets/javascripts/{lang/summernote-fr-FR.js → summernote/locales/fr-FR.js} +1 -12
- data/vendor/assets/javascripts/summernote/locales/he-IL.js +96 -0
- data/vendor/assets/javascripts/summernote/locales/hu-HU.js +96 -0
- data/vendor/assets/javascripts/{lang/summernote-id-ID.js → summernote/locales/id-ID.js} +1 -10
- data/vendor/assets/javascripts/summernote/locales/index.js +1 -0
- data/vendor/assets/javascripts/{lang/summernote-it-IT.js → summernote/locales/it-IT.js} +1 -10
- data/vendor/assets/javascripts/{lang/summernote-ja-JP.js → summernote/locales/ja-JP.js} +1 -10
- data/vendor/assets/javascripts/{lang/summernote-ko-KR.js → summernote/locales/ko-KR.js} +5 -10
- data/vendor/assets/javascripts/{lang/summernote-nb-NO.js → summernote/locales/nb-NO.js} +1 -10
- data/vendor/assets/javascripts/{lang/summernote-nl-NL.js → summernote/locales/nl-NL.js} +1 -10
- data/vendor/assets/javascripts/{lang/summernote-pl-PL.js → summernote/locales/pl-PL.js} +1 -10
- data/vendor/assets/javascripts/{lang/summernote-pt-BR.js → summernote/locales/pt-BR.js} +2 -10
- data/vendor/assets/javascripts/{lang/summernote-ro-RO.js → summernote/locales/ro-RO.js} +1 -10
- data/vendor/assets/javascripts/{lang/summernote-ru-RU.js → summernote/locales/ru-RU.js} +2 -13
- data/vendor/assets/javascripts/{lang/summernote-sk-SK.js → summernote/locales/sk-SK.js} +1 -10
- data/vendor/assets/javascripts/{lang/summernote-sl-SI.js → summernote/locales/sl-SI.js} +1 -12
- data/vendor/assets/javascripts/{lang/summernote-sr-RS-Latin.js → summernote/locales/sr-RS-Latin.js} +1 -10
- data/vendor/assets/javascripts/{lang/summernote-sr-RS.js → summernote/locales/sr-RS.js} +1 -10
- data/vendor/assets/javascripts/{lang/summernote-sv-SE.js → summernote/locales/sv-SE.js} +1 -10
- data/vendor/assets/javascripts/{lang/summernote-th-TH.js → summernote/locales/th-TH.js} +1 -12
- data/vendor/assets/javascripts/{lang/summernote-tr-TR.js → summernote/locales/tr-TR.js} +9 -11
- data/vendor/assets/javascripts/{lang/summernote-uk-UA.js → summernote/locales/uk-UA.js} +1 -12
- data/vendor/assets/javascripts/{lang/summernote-vi-VN.js → summernote/locales/vi-VN.js} +2 -11
- data/vendor/assets/javascripts/{lang/summernote-zh-CN.js → summernote/locales/zh-CN.js} +1 -10
- data/vendor/assets/javascripts/{lang/summernote-zh-TW.js → summernote/locales/zh-TW.js} +1 -10
- data/vendor/assets/javascripts/{summernote.js → summernote/summernote.js} +2370 -1419
- data/vendor/assets/stylesheets/{summernote-bs2.css → summernote/bs2.css} +1 -1
- data/vendor/assets/stylesheets/{summernote-bs3.css → summernote/bs3.css} +92 -92
- data/vendor/assets/stylesheets/summernote/index.css +3 -0
- data/vendor/assets/stylesheets/summernote/summernote.css +1 -0
- metadata +50 -44
- data/lib/summernote/rails/version.rb +0 -5
- data/vendor/assets/javascripts/lang/summernote-fa-IR.js +0 -105
- data/vendor/assets/javascripts/lang/summernote-hu-HU.js +0 -105
- data/vendor/assets/javascripts/summernote.min.js +0 -2
- data/vendor/assets/stylesheets/summernote.css +0 -1
@@ -545,10 +545,10 @@
|
|
545
545
|
.note-editor .dl-horizontal dd:after {
|
546
546
|
content: " ";
|
547
547
|
/* 1 */
|
548
|
-
|
548
|
+
|
549
549
|
display: table;
|
550
550
|
/* 2 */
|
551
|
-
|
551
|
+
|
552
552
|
}
|
553
553
|
.note-editor .dl-horizontal dd:after {
|
554
554
|
clear: both;
|
@@ -557,10 +557,10 @@
|
|
557
557
|
.note-editor .dl-horizontal dd:after {
|
558
558
|
content: " ";
|
559
559
|
/* 1 */
|
560
|
-
|
560
|
+
|
561
561
|
display: table;
|
562
562
|
/* 2 */
|
563
|
-
|
563
|
+
|
564
564
|
}
|
565
565
|
.note-editor .dl-horizontal dd:after {
|
566
566
|
clear: both;
|
@@ -721,69 +721,69 @@
|
|
721
721
|
.note-editor .row:after {
|
722
722
|
clear: both;
|
723
723
|
}
|
724
|
-
.note-editor .col-xs-1,
|
725
|
-
.note-editor .col-sm-1,
|
726
|
-
.note-editor .col-md-1,
|
727
|
-
.note-editor .col-lg-1,
|
728
|
-
.note-editor .col-xs-2,
|
729
|
-
.note-editor .col-sm-2,
|
730
|
-
.note-editor .col-md-2,
|
731
|
-
.note-editor .col-lg-2,
|
732
|
-
.note-editor .col-xs-3,
|
733
|
-
.note-editor .col-sm-3,
|
734
|
-
.note-editor .col-md-3,
|
735
|
-
.note-editor .col-lg-3,
|
736
|
-
.note-editor .col-xs-4,
|
737
|
-
.note-editor .col-sm-4,
|
738
|
-
.note-editor .col-md-4,
|
739
|
-
.note-editor .col-lg-4,
|
740
|
-
.note-editor .col-xs-5,
|
741
|
-
.note-editor .col-sm-5,
|
742
|
-
.note-editor .col-md-5,
|
743
|
-
.note-editor .col-lg-5,
|
744
|
-
.note-editor .col-xs-6,
|
745
|
-
.note-editor .col-sm-6,
|
746
|
-
.note-editor .col-md-6,
|
747
|
-
.note-editor .col-lg-6,
|
748
|
-
.note-editor .col-xs-7,
|
749
|
-
.note-editor .col-sm-7,
|
750
|
-
.note-editor .col-md-7,
|
751
|
-
.note-editor .col-lg-7,
|
752
|
-
.note-editor .col-xs-8,
|
753
|
-
.note-editor .col-sm-8,
|
754
|
-
.note-editor .col-md-8,
|
755
|
-
.note-editor .col-lg-8,
|
756
|
-
.note-editor .col-xs-9,
|
757
|
-
.note-editor .col-sm-9,
|
758
|
-
.note-editor .col-md-9,
|
759
|
-
.note-editor .col-lg-9,
|
760
|
-
.note-editor .col-xs-10,
|
761
|
-
.note-editor .col-sm-10,
|
762
|
-
.note-editor .col-md-10,
|
763
|
-
.note-editor .col-lg-10,
|
764
|
-
.note-editor .col-xs-11,
|
765
|
-
.note-editor .col-sm-11,
|
766
|
-
.note-editor .col-md-11,
|
767
|
-
.note-editor .col-lg-11,
|
768
|
-
.note-editor .col-xs-12,
|
769
|
-
.note-editor .col-sm-12,
|
770
|
-
.note-editor .col-md-12,
|
724
|
+
.note-editor .col-xs-1,
|
725
|
+
.note-editor .col-sm-1,
|
726
|
+
.note-editor .col-md-1,
|
727
|
+
.note-editor .col-lg-1,
|
728
|
+
.note-editor .col-xs-2,
|
729
|
+
.note-editor .col-sm-2,
|
730
|
+
.note-editor .col-md-2,
|
731
|
+
.note-editor .col-lg-2,
|
732
|
+
.note-editor .col-xs-3,
|
733
|
+
.note-editor .col-sm-3,
|
734
|
+
.note-editor .col-md-3,
|
735
|
+
.note-editor .col-lg-3,
|
736
|
+
.note-editor .col-xs-4,
|
737
|
+
.note-editor .col-sm-4,
|
738
|
+
.note-editor .col-md-4,
|
739
|
+
.note-editor .col-lg-4,
|
740
|
+
.note-editor .col-xs-5,
|
741
|
+
.note-editor .col-sm-5,
|
742
|
+
.note-editor .col-md-5,
|
743
|
+
.note-editor .col-lg-5,
|
744
|
+
.note-editor .col-xs-6,
|
745
|
+
.note-editor .col-sm-6,
|
746
|
+
.note-editor .col-md-6,
|
747
|
+
.note-editor .col-lg-6,
|
748
|
+
.note-editor .col-xs-7,
|
749
|
+
.note-editor .col-sm-7,
|
750
|
+
.note-editor .col-md-7,
|
751
|
+
.note-editor .col-lg-7,
|
752
|
+
.note-editor .col-xs-8,
|
753
|
+
.note-editor .col-sm-8,
|
754
|
+
.note-editor .col-md-8,
|
755
|
+
.note-editor .col-lg-8,
|
756
|
+
.note-editor .col-xs-9,
|
757
|
+
.note-editor .col-sm-9,
|
758
|
+
.note-editor .col-md-9,
|
759
|
+
.note-editor .col-lg-9,
|
760
|
+
.note-editor .col-xs-10,
|
761
|
+
.note-editor .col-sm-10,
|
762
|
+
.note-editor .col-md-10,
|
763
|
+
.note-editor .col-lg-10,
|
764
|
+
.note-editor .col-xs-11,
|
765
|
+
.note-editor .col-sm-11,
|
766
|
+
.note-editor .col-md-11,
|
767
|
+
.note-editor .col-lg-11,
|
768
|
+
.note-editor .col-xs-12,
|
769
|
+
.note-editor .col-sm-12,
|
770
|
+
.note-editor .col-md-12,
|
771
771
|
.note-editor .col-lg-12 {
|
772
772
|
position: relative;
|
773
773
|
min-height: 1px;
|
774
774
|
padding-left: 15px;
|
775
775
|
padding-right: 15px;
|
776
776
|
}
|
777
|
-
.note-editor .col-xs-1,
|
778
|
-
.note-editor .col-xs-2,
|
779
|
-
.note-editor .col-xs-3,
|
780
|
-
.note-editor .col-xs-4,
|
781
|
-
.note-editor .col-xs-5,
|
782
|
-
.note-editor .col-xs-6,
|
783
|
-
.note-editor .col-xs-7,
|
784
|
-
.note-editor .col-xs-8,
|
785
|
-
.note-editor .col-xs-9,
|
786
|
-
.note-editor .col-xs-10,
|
777
|
+
.note-editor .col-xs-1,
|
778
|
+
.note-editor .col-xs-2,
|
779
|
+
.note-editor .col-xs-3,
|
780
|
+
.note-editor .col-xs-4,
|
781
|
+
.note-editor .col-xs-5,
|
782
|
+
.note-editor .col-xs-6,
|
783
|
+
.note-editor .col-xs-7,
|
784
|
+
.note-editor .col-xs-8,
|
785
|
+
.note-editor .col-xs-9,
|
786
|
+
.note-editor .col-xs-10,
|
787
787
|
.note-editor .col-xs-11 {
|
788
788
|
float: left;
|
789
789
|
}
|
@@ -935,16 +935,16 @@
|
|
935
935
|
.note-editor .container {
|
936
936
|
width: 750px;
|
937
937
|
}
|
938
|
-
.note-editor .col-sm-1,
|
939
|
-
.note-editor .col-sm-2,
|
940
|
-
.note-editor .col-sm-3,
|
941
|
-
.note-editor .col-sm-4,
|
942
|
-
.note-editor .col-sm-5,
|
943
|
-
.note-editor .col-sm-6,
|
944
|
-
.note-editor .col-sm-7,
|
945
|
-
.note-editor .col-sm-8,
|
946
|
-
.note-editor .col-sm-9,
|
947
|
-
.note-editor .col-sm-10,
|
938
|
+
.note-editor .col-sm-1,
|
939
|
+
.note-editor .col-sm-2,
|
940
|
+
.note-editor .col-sm-3,
|
941
|
+
.note-editor .col-sm-4,
|
942
|
+
.note-editor .col-sm-5,
|
943
|
+
.note-editor .col-sm-6,
|
944
|
+
.note-editor .col-sm-7,
|
945
|
+
.note-editor .col-sm-8,
|
946
|
+
.note-editor .col-sm-9,
|
947
|
+
.note-editor .col-sm-10,
|
948
948
|
.note-editor .col-sm-11 {
|
949
949
|
float: left;
|
950
950
|
}
|
@@ -1097,16 +1097,16 @@
|
|
1097
1097
|
.note-editor .container {
|
1098
1098
|
width: 970px;
|
1099
1099
|
}
|
1100
|
-
.note-editor .col-md-1,
|
1101
|
-
.note-editor .col-md-2,
|
1102
|
-
.note-editor .col-md-3,
|
1103
|
-
.note-editor .col-md-4,
|
1104
|
-
.note-editor .col-md-5,
|
1105
|
-
.note-editor .col-md-6,
|
1106
|
-
.note-editor .col-md-7,
|
1107
|
-
.note-editor .col-md-8,
|
1108
|
-
.note-editor .col-md-9,
|
1109
|
-
.note-editor .col-md-10,
|
1100
|
+
.note-editor .col-md-1,
|
1101
|
+
.note-editor .col-md-2,
|
1102
|
+
.note-editor .col-md-3,
|
1103
|
+
.note-editor .col-md-4,
|
1104
|
+
.note-editor .col-md-5,
|
1105
|
+
.note-editor .col-md-6,
|
1106
|
+
.note-editor .col-md-7,
|
1107
|
+
.note-editor .col-md-8,
|
1108
|
+
.note-editor .col-md-9,
|
1109
|
+
.note-editor .col-md-10,
|
1110
1110
|
.note-editor .col-md-11 {
|
1111
1111
|
float: left;
|
1112
1112
|
}
|
@@ -1259,16 +1259,16 @@
|
|
1259
1259
|
.note-editor .container {
|
1260
1260
|
width: 1170px;
|
1261
1261
|
}
|
1262
|
-
.note-editor .col-lg-1,
|
1263
|
-
.note-editor .col-lg-2,
|
1264
|
-
.note-editor .col-lg-3,
|
1265
|
-
.note-editor .col-lg-4,
|
1266
|
-
.note-editor .col-lg-5,
|
1267
|
-
.note-editor .col-lg-6,
|
1268
|
-
.note-editor .col-lg-7,
|
1269
|
-
.note-editor .col-lg-8,
|
1270
|
-
.note-editor .col-lg-9,
|
1271
|
-
.note-editor .col-lg-10,
|
1262
|
+
.note-editor .col-lg-1,
|
1263
|
+
.note-editor .col-lg-2,
|
1264
|
+
.note-editor .col-lg-3,
|
1265
|
+
.note-editor .col-lg-4,
|
1266
|
+
.note-editor .col-lg-5,
|
1267
|
+
.note-editor .col-lg-6,
|
1268
|
+
.note-editor .col-lg-7,
|
1269
|
+
.note-editor .col-lg-8,
|
1270
|
+
.note-editor .col-lg-9,
|
1271
|
+
.note-editor .col-lg-10,
|
1272
1272
|
.note-editor .col-lg-11 {
|
1273
1273
|
float: left;
|
1274
1274
|
}
|
@@ -6054,4 +6054,4 @@ td.visible-print {
|
|
6054
6054
|
td.hidden-print {
|
6055
6055
|
display: none !important;
|
6056
6056
|
}
|
6057
|
-
}
|
6057
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
.note-editor{position:relative;border:1px solid #a9a9a9}.note-editor .note-dropzone{position:absolute;z-index:100;display:none;color:#87cefa;background-color:white;border:2px dashed #87cefa;opacity:.95;pointer-event:none}.note-editor .note-dropzone .note-dropzone-message{display:table-cell;font-size:28px;font-weight:bold;text-align:center;vertical-align:middle}.note-editor .note-dropzone.hover{color:#098ddf;border:2px dashed #098ddf}.note-editor.dragover .note-dropzone{display:table}.note-editor .note-toolbar{background-color:#f5f5f5;border-bottom:1px solid #a9a9a9}.note-editor.fullscreen{position:fixed;top:0;left:0;z-index:1050;width:100%}.note-editor.fullscreen .note-editable{background-color:white}.note-editor.fullscreen .note-resizebar{display:none}.note-editor.codeview .note-editable{display:none}.note-editor.codeview .note-codable{display:block}.note-editor .note-statusbar{background-color:#f5f5f5}.note-editor .note-statusbar .note-resizebar{width:100%;height:8px;cursor:ns-resize;border-top:1px solid #a9a9a9}.note-editor .note-statusbar .note-resizebar .note-icon-bar{width:20px;margin:1px auto;border-top:1px solid #a9a9a9}.note-editor .note-editable[contenteditable=true]:empty:not(:focus):before{color:#a9a9a9;content:attr(data-placeholder)}.note-editor .note-editable{padding:10px;overflow:auto;outline:0}.note-editor .note-editable[contenteditable="false"]{background-color:#e5e5e5}.note-editor .note-codable{display:none;width:100%;padding:10px;margin-bottom:0;font-family:Menlo,Monaco,monospace,sans-serif;font-size:14px;color:#ccc;background-color:#222;border:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;box-shadow:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;resize:none}.note-air-editor{outline:0}.note-popover .popover{max-width:none}.note-popover .popover .popover-content a{display:inline-block;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.note-popover .popover .arrow{left:20px}.note-popover .popover .popover-content,.note-toolbar{padding:0 0 5px 5px;margin:0}.note-popover .popover .popover-content>.btn-group,.note-toolbar>.btn-group{margin-top:5px;margin-right:5px;margin-left:0}.note-popover .popover .popover-content .btn-group .note-table,.note-toolbar .btn-group .note-table{min-width:0;padding:5px}.note-popover .popover .popover-content .btn-group .note-table .note-dimension-picker,.note-toolbar .btn-group .note-table .note-dimension-picker{font-size:18px}.note-popover .popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher,.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-mousecatcher{position:absolute!important;z-index:3;width:10em;height:10em;cursor:pointer}.note-popover .popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted,.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-unhighlighted{position:relative!important;z-index:1;width:5em;height:5em;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC') repeat}.note-popover .popover .popover-content .btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted,.note-toolbar .btn-group .note-table .note-dimension-picker .note-dimension-picker-highlighted{position:absolute!important;z-index:2;width:1em;height:1em;background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC') repeat}.note-popover .popover .popover-content .note-style h1,.note-toolbar .note-style h1,.note-popover .popover .popover-content .note-style h2,.note-toolbar .note-style h2,.note-popover .popover .popover-content .note-style h3,.note-toolbar .note-style h3,.note-popover .popover .popover-content .note-style h4,.note-toolbar .note-style h4,.note-popover .popover .popover-content .note-style h5,.note-toolbar .note-style h5,.note-popover .popover .popover-content .note-style h6,.note-toolbar .note-style h6,.note-popover .popover .popover-content .note-style blockquote,.note-toolbar .note-style blockquote{margin:0}.note-popover .popover .popover-content .note-color .dropdown-toggle,.note-toolbar .note-color .dropdown-toggle{width:20px;padding-left:5px}.note-popover .popover .popover-content .note-color .dropdown-menu,.note-toolbar .note-color .dropdown-menu{min-width:340px}.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group,.note-toolbar .note-color .dropdown-menu .btn-group{margin:0}.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group:first-child,.note-toolbar .note-color .dropdown-menu .btn-group:first-child{margin:0 5px}.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-palette-title,.note-toolbar .note-color .dropdown-menu .btn-group .note-palette-title{margin:2px 7px;font-size:12px;text-align:center;border-bottom:1px solid #eee}.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-color-reset,.note-toolbar .note-color .dropdown-menu .btn-group .note-color-reset{padding:0 3px;margin:3px;font-size:11px;cursor:pointer;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-color-row,.note-toolbar .note-color .dropdown-menu .btn-group .note-color-row{height:20px}.note-popover .popover .popover-content .note-color .dropdown-menu .btn-group .note-color-reset:hover,.note-toolbar .note-color .dropdown-menu .btn-group .note-color-reset:hover{background:#eee}.note-popover .popover .popover-content .note-para .dropdown-menu,.note-toolbar .note-para .dropdown-menu{min-width:216px;padding:5px}.note-popover .popover .popover-content .note-para .dropdown-menu>div:first-child,.note-toolbar .note-para .dropdown-menu>div:first-child{margin-right:5px}.note-popover .popover .popover-content .dropdown-menu,.note-toolbar .dropdown-menu{min-width:90px}.note-popover .popover .popover-content .dropdown-menu.right,.note-toolbar .dropdown-menu.right{right:0;left:auto}.note-popover .popover .popover-content .dropdown-menu.right::before,.note-toolbar .dropdown-menu.right::before{right:9px;left:auto!important}.note-popover .popover .popover-content .dropdown-menu.right::after,.note-toolbar .dropdown-menu.right::after{right:10px;left:auto!important}.note-popover .popover .popover-content .dropdown-menu li a i,.note-toolbar .dropdown-menu li a i{color:deepskyblue;visibility:hidden}.note-popover .popover .popover-content .dropdown-menu li a.checked i,.note-toolbar .dropdown-menu li a.checked i{visibility:visible}.note-popover .popover .popover-content .note-fontsize-10,.note-toolbar .note-fontsize-10{font-size:10px}.note-popover .popover .popover-content .note-color-palette,.note-toolbar .note-color-palette{line-height:1}.note-popover .popover .popover-content .note-color-palette div .note-color-btn,.note-toolbar .note-color-palette div .note-color-btn{width:20px;height:20px;padding:0;margin:0;border:1px solid #fff}.note-popover .popover .popover-content .note-color-palette div .note-color-btn:hover,.note-toolbar .note-color-palette div .note-color-btn:hover{border:1px solid #000}.note-dialog>div{display:none}.note-dialog .form-group{margin-right:0;margin-left:0}.note-dialog .note-modal-form{margin:0}.note-dialog .note-image-dialog .note-dropzone{min-height:100px;margin-bottom:10px;font-size:30px;line-height:4;color:lightgray;text-align:center;border:4px dashed lightgray}.note-dialog .note-help-dialog{font-size:12px;color:#ccc;background:transparent;background-color:#222!important;border:0;-webkit-opacity:.9;-khtml-opacity:.9;-moz-opacity:.9;opacity:.9;-ms-filter:alpha(opacity=90);filter:alpha(opacity=90)}.note-dialog .note-help-dialog .modal-content{background:transparent;border:1px solid white;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.note-dialog .note-help-dialog a{font-size:12px;color:white}.note-dialog .note-help-dialog .title{padding-bottom:5px;margin-bottom:10px;font-size:14px;font-weight:bold;color:white;border-bottom:white 1px solid}.note-dialog .note-help-dialog .modal-close{font-size:14px;color:#dd0;cursor:pointer}.note-dialog .note-help-dialog .text-center{margin:10px 0 0}.note-dialog .note-help-dialog .note-shortcut{padding-top:8px;padding-bottom:8px}.note-dialog .note-help-dialog .note-shortcut-row{margin-right:-5px;margin-left:-5px}.note-dialog .note-help-dialog .note-shortcut-col{padding-right:5px;padding-left:5px}.note-dialog .note-help-dialog .note-shortcut-title{font-size:13px;font-weight:bold;color:#dd0}.note-dialog .note-help-dialog .note-shortcut-key{font-family:"Courier New";color:#dd0;text-align:right}.note-handle .note-control-selection{position:absolute;display:none;border:1px solid black}.note-handle .note-control-selection>div{position:absolute}.note-handle .note-control-selection .note-control-selection-bg{width:100%;height:100%;background-color:black;-webkit-opacity:.3;-khtml-opacity:.3;-moz-opacity:.3;opacity:.3;-ms-filter:alpha(opacity=30);filter:alpha(opacity=30)}.note-handle .note-control-selection .note-control-handle{width:7px;height:7px;border:1px solid black}.note-handle .note-control-selection .note-control-holder{width:7px;height:7px;border:1px solid black}.note-handle .note-control-selection .note-control-sizing{width:7px;height:7px;background-color:white;border:1px solid black}.note-handle .note-control-selection .note-control-nw{top:-5px;left:-5px;border-right:0;border-bottom:0}.note-handle .note-control-selection .note-control-ne{top:-5px;right:-5px;border-bottom:0;border-left:none}.note-handle .note-control-selection .note-control-sw{bottom:-5px;left:-5px;border-top:0;border-right:0}.note-handle .note-control-selection .note-control-se{right:-5px;bottom:-5px;cursor:se-resize}.note-handle .note-control-selection .note-control-selection-info{right:0;bottom:0;padding:5px;margin:5px;font-size:12px;color:white;background-color:black;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-opacity:.7;-khtml-opacity:.7;-moz-opacity:.7;opacity:.7;-ms-filter:alpha(opacity=70);filter:alpha(opacity=70)}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: summernote-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hyo Seong Choi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
description:
|
55
|
+
description: This gem packages the editor Summernote for Rails' assets pipeline
|
56
56
|
email:
|
57
57
|
- rorlab@gmail.com
|
58
58
|
executables: []
|
@@ -61,46 +61,52 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- LICENSE.txt
|
63
63
|
- README.md
|
64
|
-
- lib/summernote
|
65
|
-
- lib/summernote
|
66
|
-
-
|
67
|
-
-
|
68
|
-
-
|
69
|
-
- vendor/assets/javascripts/
|
70
|
-
- vendor/assets/javascripts/
|
71
|
-
- vendor/assets/javascripts/
|
72
|
-
- vendor/assets/javascripts/
|
73
|
-
- vendor/assets/javascripts/
|
74
|
-
- vendor/assets/javascripts/
|
75
|
-
- vendor/assets/javascripts/
|
76
|
-
- vendor/assets/javascripts/
|
77
|
-
- vendor/assets/javascripts/
|
78
|
-
- vendor/assets/javascripts/
|
79
|
-
- vendor/assets/javascripts/
|
80
|
-
- vendor/assets/javascripts/
|
81
|
-
- vendor/assets/javascripts/
|
82
|
-
- vendor/assets/javascripts/
|
83
|
-
- vendor/assets/javascripts/
|
84
|
-
- vendor/assets/javascripts/
|
85
|
-
- vendor/assets/javascripts/
|
86
|
-
- vendor/assets/javascripts/
|
87
|
-
- vendor/assets/javascripts/
|
88
|
-
- vendor/assets/javascripts/
|
89
|
-
- vendor/assets/javascripts/
|
90
|
-
- vendor/assets/javascripts/
|
91
|
-
- vendor/assets/javascripts/
|
92
|
-
- vendor/assets/javascripts/
|
93
|
-
- vendor/assets/javascripts/
|
94
|
-
- vendor/assets/javascripts/
|
95
|
-
- vendor/assets/javascripts/
|
96
|
-
- vendor/assets/javascripts/
|
97
|
-
- vendor/assets/javascripts/
|
98
|
-
- vendor/assets/javascripts/summernote.js
|
99
|
-
- vendor/assets/javascripts/summernote.
|
100
|
-
- vendor/assets/
|
101
|
-
- vendor/assets/
|
102
|
-
- vendor/assets/
|
103
|
-
|
64
|
+
- lib/summernote-rails.rb
|
65
|
+
- lib/summernote-rails/engine.rb
|
66
|
+
- lib/summernote-rails/railtie.rb
|
67
|
+
- lib/summernote-rails/simple_form/summernote_input.rb
|
68
|
+
- lib/summernote-rails/version.rb
|
69
|
+
- vendor/assets/javascripts/summernote/index.js
|
70
|
+
- vendor/assets/javascripts/summernote/locales/ar-AR.js
|
71
|
+
- vendor/assets/javascripts/summernote/locales/ca-ES.js
|
72
|
+
- vendor/assets/javascripts/summernote/locales/cs-CZ.js
|
73
|
+
- vendor/assets/javascripts/summernote/locales/da-DK.js
|
74
|
+
- vendor/assets/javascripts/summernote/locales/de-DE.js
|
75
|
+
- vendor/assets/javascripts/summernote/locales/es-ES.js
|
76
|
+
- vendor/assets/javascripts/summernote/locales/es-EU.js
|
77
|
+
- vendor/assets/javascripts/summernote/locales/fa-IR.js
|
78
|
+
- vendor/assets/javascripts/summernote/locales/fi-FI.js
|
79
|
+
- vendor/assets/javascripts/summernote/locales/fr-FR.js
|
80
|
+
- vendor/assets/javascripts/summernote/locales/he-IL.js
|
81
|
+
- vendor/assets/javascripts/summernote/locales/hu-HU.js
|
82
|
+
- vendor/assets/javascripts/summernote/locales/id-ID.js
|
83
|
+
- vendor/assets/javascripts/summernote/locales/index.js
|
84
|
+
- vendor/assets/javascripts/summernote/locales/it-IT.js
|
85
|
+
- vendor/assets/javascripts/summernote/locales/ja-JP.js
|
86
|
+
- vendor/assets/javascripts/summernote/locales/ko-KR.js
|
87
|
+
- vendor/assets/javascripts/summernote/locales/nb-NO.js
|
88
|
+
- vendor/assets/javascripts/summernote/locales/nl-NL.js
|
89
|
+
- vendor/assets/javascripts/summernote/locales/pl-PL.js
|
90
|
+
- vendor/assets/javascripts/summernote/locales/pt-BR.js
|
91
|
+
- vendor/assets/javascripts/summernote/locales/ro-RO.js
|
92
|
+
- vendor/assets/javascripts/summernote/locales/ru-RU.js
|
93
|
+
- vendor/assets/javascripts/summernote/locales/sk-SK.js
|
94
|
+
- vendor/assets/javascripts/summernote/locales/sl-SI.js
|
95
|
+
- vendor/assets/javascripts/summernote/locales/sr-RS-Latin.js
|
96
|
+
- vendor/assets/javascripts/summernote/locales/sr-RS.js
|
97
|
+
- vendor/assets/javascripts/summernote/locales/sv-SE.js
|
98
|
+
- vendor/assets/javascripts/summernote/locales/th-TH.js
|
99
|
+
- vendor/assets/javascripts/summernote/locales/tr-TR.js
|
100
|
+
- vendor/assets/javascripts/summernote/locales/uk-UA.js
|
101
|
+
- vendor/assets/javascripts/summernote/locales/vi-VN.js
|
102
|
+
- vendor/assets/javascripts/summernote/locales/zh-CN.js
|
103
|
+
- vendor/assets/javascripts/summernote/locales/zh-TW.js
|
104
|
+
- vendor/assets/javascripts/summernote/summernote.js
|
105
|
+
- vendor/assets/stylesheets/summernote/bs2.css
|
106
|
+
- vendor/assets/stylesheets/summernote/bs3.css
|
107
|
+
- vendor/assets/stylesheets/summernote/index.css
|
108
|
+
- vendor/assets/stylesheets/summernote/summernote.css
|
109
|
+
homepage: https://github.com/summernote/summernote-rails
|
104
110
|
licenses:
|
105
111
|
- MIT
|
106
112
|
metadata: {}
|
@@ -120,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
126
|
version: '0'
|
121
127
|
requirements: []
|
122
128
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
129
|
+
rubygems_version: 2.4.5
|
124
130
|
signing_key:
|
125
131
|
specification_version: 4
|
126
132
|
summary: Gemify Summernote for Ruby on Rails
|
@@ -1,105 +0,0 @@
|
|
1
|
-
(function ($) {
|
2
|
-
$.extend($.summernote.lang, {
|
3
|
-
'fa-IR': {
|
4
|
-
font: {
|
5
|
-
bold: 'درشت',
|
6
|
-
italic: 'خمیده',
|
7
|
-
underline: 'میان خط',
|
8
|
-
strikethrough: 'Strike',
|
9
|
-
clear: 'پاک کردن فرمت فونت',
|
10
|
-
height: 'فاصله ی خطی',
|
11
|
-
name: 'اسم فونت',
|
12
|
-
size: 'اندازه ی فونت'
|
13
|
-
},
|
14
|
-
image: {
|
15
|
-
image: 'تصویر',
|
16
|
-
insert: 'وارد کردن تصویر',
|
17
|
-
resizeFull: 'تغییر به اندازه ی کامل',
|
18
|
-
resizeHalf: 'تغییر به اندازه نصف',
|
19
|
-
resizeQuarter: 'تغییر به اندازه یک چهارم',
|
20
|
-
floatLeft: 'چسباندن به چپ',
|
21
|
-
floatRight: 'چسباندن به راست',
|
22
|
-
floatNone: 'بدون چسبندگی',
|
23
|
-
dragImageHere: 'یک تصویر را اینجا بکشید',
|
24
|
-
selectFromFiles: 'فایل ها را انتخاب کنید',
|
25
|
-
url: 'آدرس تصویر',
|
26
|
-
remove: 'حذف تصویر'
|
27
|
-
},
|
28
|
-
link: {
|
29
|
-
link: 'لینک',
|
30
|
-
insert: 'اضافه کردن لینک',
|
31
|
-
unlink: 'حذف لینک',
|
32
|
-
edit: 'ویرایش',
|
33
|
-
textToDisplay: 'متن جهت نمایش',
|
34
|
-
url: 'این لینک به چه آدرسی باید برود ؟',
|
35
|
-
openInNewWindow: 'در یک پنجره ی جدید باز شود'
|
36
|
-
},
|
37
|
-
video: {
|
38
|
-
video: 'ویدیو',
|
39
|
-
videoLink: 'لینک ویدیو',
|
40
|
-
insert: 'افزودن ویدیو',
|
41
|
-
url: 'آدرس ویدیو ؟',
|
42
|
-
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion, یا Youku)'
|
43
|
-
},
|
44
|
-
table: {
|
45
|
-
table: 'جدول'
|
46
|
-
},
|
47
|
-
hr: {
|
48
|
-
insert: 'افزودن خط افقی'
|
49
|
-
},
|
50
|
-
style: {
|
51
|
-
style: 'استیل',
|
52
|
-
normal: 'نرمال',
|
53
|
-
blockquote: 'نقل قول',
|
54
|
-
pre: 'کد',
|
55
|
-
h1: 'سرتیتر 1',
|
56
|
-
h2: 'سرتیتر 2',
|
57
|
-
h3: 'سرتیتر 3',
|
58
|
-
h4: 'سرتیتر 4',
|
59
|
-
h5: 'سرتیتر 5',
|
60
|
-
h6: 'سرتیتر 6'
|
61
|
-
},
|
62
|
-
lists: {
|
63
|
-
unordered: 'لیست غیر ترتیبی',
|
64
|
-
ordered: 'لیست ترتیبی'
|
65
|
-
},
|
66
|
-
options: {
|
67
|
-
help: 'راهنما',
|
68
|
-
fullscreen: 'نمایش تمام صفحه',
|
69
|
-
codeview: 'مشاهده ی کد'
|
70
|
-
},
|
71
|
-
paragraph: {
|
72
|
-
paragraph: 'پاراگراف',
|
73
|
-
outdent: 'کاهش تو رفتگی',
|
74
|
-
indent: 'افزایش تو رفتگی',
|
75
|
-
left: 'چپ چین',
|
76
|
-
center: 'میان چین',
|
77
|
-
right: 'راست چین',
|
78
|
-
justify: 'بلوک چین'
|
79
|
-
},
|
80
|
-
color: {
|
81
|
-
recent: 'رنگ اخیرا استفاده شده',
|
82
|
-
more: 'رنگ بیشتر',
|
83
|
-
background: 'رنگ پس زمینه',
|
84
|
-
foreground: 'رنگ متن',
|
85
|
-
transparent: 'بی رنگ',
|
86
|
-
setTransparent: 'تنظیم حالت بی رنگ',
|
87
|
-
reset: 'بازنشاندن',
|
88
|
-
resetToDefault: 'حالت پیش فرض'
|
89
|
-
},
|
90
|
-
shortcut: {
|
91
|
-
shortcuts: 'دکمه های میان بر',
|
92
|
-
close: 'بستن',
|
93
|
-
textFormatting: 'فرمت متن',
|
94
|
-
action: 'عملیات',
|
95
|
-
paragraphFormatting: 'فرمت پاراگراف',
|
96
|
-
documentStyle: 'استیل سند'
|
97
|
-
},
|
98
|
-
history: {
|
99
|
-
undo: 'واچیدن',
|
100
|
-
redo: 'بازچیدن'
|
101
|
-
}
|
102
|
-
}
|
103
|
-
});
|
104
|
-
})(jQuery);
|
105
|
-
|