redactor2_rails 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +25 -27
  3. data/lib/redactor2_rails/version.rb +1 -1
  4. data/vendor/assets/javascripts/redactor2_rails/index.js +0 -1
  5. metadata +2 -32
  6. data/vendor/assets/javascripts/redactor2_rails/langs/ar.js +0 -50
  7. data/vendor/assets/javascripts/redactor2_rails/langs/de.js +0 -50
  8. data/vendor/assets/javascripts/redactor2_rails/langs/en.js +0 -50
  9. data/vendor/assets/javascripts/redactor2_rails/langs/es.js +0 -50
  10. data/vendor/assets/javascripts/redactor2_rails/langs/fa.js +0 -50
  11. data/vendor/assets/javascripts/redactor2_rails/langs/fi.js +0 -50
  12. data/vendor/assets/javascripts/redactor2_rails/langs/fr.js +0 -50
  13. data/vendor/assets/javascripts/redactor2_rails/langs/hu.js +0 -50
  14. data/vendor/assets/javascripts/redactor2_rails/langs/it.js +0 -50
  15. data/vendor/assets/javascripts/redactor2_rails/langs/ja.js +0 -50
  16. data/vendor/assets/javascripts/redactor2_rails/langs/ko.js +0 -50
  17. data/vendor/assets/javascripts/redactor2_rails/langs/nl.js +0 -50
  18. data/vendor/assets/javascripts/redactor2_rails/langs/pl.js +0 -50
  19. data/vendor/assets/javascripts/redactor2_rails/langs/pt_br.js +0 -50
  20. data/vendor/assets/javascripts/redactor2_rails/langs/ru.js +0 -50
  21. data/vendor/assets/javascripts/redactor2_rails/langs/sv.js +0 -50
  22. data/vendor/assets/javascripts/redactor2_rails/langs/tr.js +0 -50
  23. data/vendor/assets/javascripts/redactor2_rails/langs/zh_cn.js +0 -52
  24. data/vendor/assets/javascripts/redactor2_rails/langs/zh_tw.js +0 -50
  25. data/vendor/assets/javascripts/redactor2_rails/plugins/clips.js +0 -60
  26. data/vendor/assets/javascripts/redactor2_rails/plugins/fullscreen.js +0 -159
  27. data/vendor/assets/javascripts/redactor2_rails/plugins/source.js +0 -195
  28. data/vendor/assets/javascripts/redactor2_rails/plugins/textdirection.js +0 -36
  29. data/vendor/assets/javascripts/redactor2_rails/plugins.js +0 -4
  30. data/vendor/assets/javascripts/redactor2_rails/redactor.js +0 -9989
  31. data/vendor/assets/javascripts/redactor2_rails/redactor.min.js +0 -13
  32. data/vendor/assets/stylesheets/redactor2_rails/css/redactor.css +0 -931
  33. data/vendor/assets/stylesheets/redactor2_rails/index.css +0 -1
  34. data/vendor/assets/stylesheets/redactor2_rails/plugins/clips.css +0 -10
  35. data/vendor/assets/stylesheets/redactor2_rails/plugins.css +0 -1
@@ -1,50 +0,0 @@
1
- (function ($)
2
- {
3
- $.Redactor.opts.langs['ja'] = {
4
- "format": "フォーマットする",
5
- "image": "画像",
6
- "file": "ファイル",
7
- "link": "リンク",
8
- "bold": "太字",
9
- "italic": "イタリック体",
10
- "deleted": "取り消し線",
11
- "underline": "下線",
12
- "bold-abbr": "B",
13
- "italic-abbr": "I",
14
- "deleted-abbr": "S",
15
- "underline-abbr": "U",
16
- "lists": "リスト",
17
- "link-insert": "リンクを挿入する",
18
- "link-edit": "リンクを編集する",
19
- "link-in-new-tab": "新しいタブでリンクを開く",
20
- "unlink": "リンクを解除する",
21
- "cancel": "取り消す",
22
- "close": "閉じる",
23
- "insert": "挿入する",
24
- "save": "保存する",
25
- "delete": "削除する",
26
- "text": "テキスト",
27
- "edit": "編集する",
28
- "title": "タイトル",
29
- "paragraph": "標準テキスト",
30
- "quote": "引用",
31
- "code": "コード",
32
- "heading1": "見出し 1",
33
- "heading2": "見出し 2",
34
- "heading3": "見出し 3",
35
- "heading4": "見出し 4",
36
- "heading5": "見出し 5",
37
- "heading6": "見出し 6",
38
- "filename": "名前",
39
- "optional": "任意",
40
- "unorderedlist": "番号なしリスト",
41
- "orderedlist": "番号付きリスト",
42
- "outdent": "インデントを戻す",
43
- "indent": "インデントする",
44
- "horizontalrule": "線",
45
- "upload-label": "ファイルをここにドロップまたは[選択する]をクリックする",
46
- "accessibility-help-label": "リッチテキストエディタ",
47
- "caption": "Caption"
48
- };
49
-
50
- })(jQuery);
@@ -1,50 +0,0 @@
1
- (function ($)
2
- {
3
- $.Redactor.opts.langs['ko'] = {
4
- "format": "포맷",
5
- "image": "이미지",
6
- "file": "파일",
7
- "link": "링크",
8
- "bold": "굵게",
9
- "italic": "기울임꼴",
10
- "deleted": "취소선",
11
- "underline": "밑줄",
12
- "bold-abbr": "B",
13
- "italic-abbr": "I",
14
- "deleted-abbr": "S",
15
- "underline-abbr": "U",
16
- "lists": "목록",
17
- "link-insert": "링크 삽입",
18
- "link-edit": "링크 편집",
19
- "link-in-new-tab": "새 탭에 링크 열기",
20
- "unlink": "링크 끊기",
21
- "cancel": "취소",
22
- "close": "닫기",
23
- "insert": "삽입",
24
- "save": "저장",
25
- "delete": "삭제",
26
- "text": "글",
27
- "edit": "편집",
28
- "title": "제목",
29
- "paragraph": "보통 글",
30
- "quote": "인용",
31
- "code": "코드",
32
- "heading1": "제목 1",
33
- "heading2": "제목 2",
34
- "heading3": "제목 3",
35
- "heading4": "제목 4",
36
- "heading5": "제목 5",
37
- "heading6": "제목 6",
38
- "filename": "이름",
39
- "optional": "선택",
40
- "unorderedlist": "주문 안된 목록",
41
- "orderedlist": "주문 목록",
42
- "outdent": "내어쓰기",
43
- "indent": "들여쓰기",
44
- "horizontalrule": "행",
45
- "upload-label": "파일을 여기 드롭 하거나 선택을 클릭",
46
- "accessibility-help-label": "Rich text 편집기",
47
- "caption": "Caption"
48
- };
49
-
50
- })(jQuery);
@@ -1,50 +0,0 @@
1
- (function ($)
2
- {
3
- $.Redactor.opts.langs['nl'] = {
4
- "format": "Format",
5
- "image": "Afbeelding",
6
- "file": "Bestand",
7
- "link": "Link",
8
- "bold": "Vet",
9
- "italic": "Cursief",
10
- "deleted": "Doorstreept",
11
- "underline": "Onderstreept",
12
- "bold-abbr": "B",
13
- "italic-abbr": "I",
14
- "deleted-abbr": "S",
15
- "underline-abbr": "U",
16
- "lists": "Lijsten",
17
- "link-insert": "Link invoegen",
18
- "link-edit": "Link Bewerken",
19
- "link-in-new-tab": "Open link in nieuw tabblad",
20
- "unlink": "Ontkoppelen",
21
- "cancel": "Annuleren",
22
- "close": "Afsluiten",
23
- "insert": "Invoegen",
24
- "save": "Opslaan",
25
- "delete": "Verwijder",
26
- "text": "Tekst",
27
- "edit": "Bewerken",
28
- "title": "Titel",
29
- "paragraph": "Normale tekst",
30
- "quote": "Citaat",
31
- "code": "Code",
32
- "heading1": "Koptekst 1",
33
- "heading2": "Koptekst 2",
34
- "heading3": "Koptekst 3",
35
- "heading4": "Koptekst 4",
36
- "heading5": "Koptekst 5",
37
- "heading6": "Koptekst 6",
38
- "filename": "Bestandsnaam",
39
- "optional": "Optioneel",
40
- "unorderedlist": "Ongeordende lijst",
41
- "orderedlist": "Geordende lijst",
42
- "outdent": "Uitspringen",
43
- "indent": "Inspringen",
44
- "horizontalrule": "Streep",
45
- "upload-label": "Drop bestand hier of ",
46
- "accessibility-help-label": "RTF editor",
47
- "caption": "Caption"
48
- };
49
-
50
- })(jQuery);
@@ -1,50 +0,0 @@
1
- (function ($)
2
- {
3
- $.Redactor.opts.langs['pl'] = {
4
- "format": "Formatuj",
5
- "image": "Obrazek",
6
- "file": "Plik",
7
- "link": "Link",
8
- "bold": "Pogrubienie",
9
- "italic": "Kursywa",
10
- "deleted": "Przekreślenie",
11
- "underline": "Podkreślenie",
12
- "bold-abbr": "B",
13
- "italic-abbr": "I",
14
- "deleted-abbr": "S",
15
- "underline-abbr": "U",
16
- "lists": "Lista",
17
- "link-insert": "Wstaw link",
18
- "link-edit": "Edytuj link",
19
- "link-in-new-tab": "Otwórz link w nowej karcie",
20
- "unlink": "Usuń link",
21
- "cancel": "Anuluj",
22
- "close": "Zamknij",
23
- "insert": "Wstaw",
24
- "save": "Zapisz",
25
- "delete": "Usuń",
26
- "text": "Text",
27
- "edit": "Edytuj",
28
- "title": "Tytuł",
29
- "paragraph": "Zwykły tekst",
30
- "quote": "Cytat",
31
- "code": "Kod",
32
- "heading1": "Nagłówek 1",
33
- "heading2": "Nagłówek 2",
34
- "heading3": "Nagłówek 3",
35
- "heading4": "Nagłówek 4",
36
- "heading5": "Nagłówek 5",
37
- "heading6": "Nagłówek 6",
38
- "filename": "Nazwa",
39
- "optional": "opcjonalnie",
40
- "unorderedlist": "Lista punktowana",
41
- "orderedlist": "Lista numerowana",
42
- "outdent": "Zmniejsz wcięcie",
43
- "indent": "Zwiększ wcięcie",
44
- "horizontalrule": "Linia pozioma",
45
- "upload-label": "Przenieś pliki tutaj lub... ",
46
- "accessibility-help-label": "Edytor tekstu",
47
- "caption": "Caption"
48
- };
49
-
50
- })(jQuery);
@@ -1,50 +0,0 @@
1
- (function ($)
2
- {
3
- $.Redactor.opts.langs['pt_br'] = {
4
- "format": "Formato",
5
- "image": "Imagem",
6
- "file": "Arquivo",
7
- "link": "Link",
8
- "bold": "Negrito",
9
- "italic": "Itálico",
10
- "deleted": "Tachado",
11
- "underline": "Sublinhado",
12
- "bold-abbr": "N",
13
- "italic-abbr": "I",
14
- "deleted-abbr": "T",
15
- "underline-abbr": "S",
16
- "lists": "Listas",
17
- "link-insert": "Inserir link",
18
- "link-edit": "Editar link",
19
- "link-in-new-tab": "Abrir link em nova guia",
20
- "unlink": "Desvincular",
21
- "cancel": "Cancelar",
22
- "close": "Fechar",
23
- "insert": "Inserir",
24
- "save": "Salvar",
25
- "delete": "Excluir",
26
- "text": "Texto",
27
- "edit": "Editar",
28
- "title": "Título",
29
- "paragraph": "Texto normal",
30
- "quote": "Citação",
31
- "code": "Código",
32
- "header1": "Cabeçalho 1",
33
- "header2": "Cabeçalho 2",
34
- "header3": "Cabeçalho 3",
35
- "header4": "Cabeçalho 4",
36
- "header5": "Cabeçalho 5",
37
- "header6": "Cabeçalho 6",
38
- "filename": "Nome",
39
- "optional": "Opcional",
40
- "unorderedlist": "Lista não ordenada",
41
- "orderedlist": "Lista ordenada",
42
- "outdent": "Diminuir recuo",
43
- "indent": "Recuar",
44
- "horizontalrule": "Linha",
45
- "upload-label": "Solte o arquivo aqui ou ",
46
- "accessibility-help-label": "Editor de Rich Text",
47
- "caption": "Caption"
48
- };
49
-
50
- })(jQuery);
@@ -1,50 +0,0 @@
1
- (function ($)
2
- {
3
- $.Redactor.opts.langs['ru'] = {
4
- "format": "Формат",
5
- "image": "Картинка",
6
- "file": "Файл",
7
- "link": "Ссылка",
8
- "bold": "Полужирный",
9
- "italic": "Курсив",
10
- "deleted": "Зачеркнутый",
11
- "underline": "Подчеркнутый",
12
- "bold-abbr": "B",
13
- "italic-abbr": "I",
14
- "deleted-abbr": "S",
15
- "underline-abbr": "U",
16
- "lists": "Списки",
17
- "link-insert": "Вставить ссылку",
18
- "link-edit": "Редактировать ссылку",
19
- "link-in-new-tab": "Открыть ссылку в новом табе",
20
- "unlink": "Удалить ссылку",
21
- "cancel": "Отменить",
22
- "close": "Закрыть",
23
- "insert": "Вставить",
24
- "save": "Сохранить",
25
- "delete": "Удалить",
26
- "text": "Текст",
27
- "edit": "Редактировать",
28
- "title": "Title",
29
- "paragraph": "Обычный текст",
30
- "quote": "Цитата",
31
- "code": "Код",
32
- "heading1": "Заголовок 1",
33
- "heading2": "Заголовок 2",
34
- "heading3": "Заголовок 3",
35
- "heading4": "Заголовок 4",
36
- "heading5": "Заголовок 5",
37
- "heading6": "Заголовок 6",
38
- "filename": "Имя файла",
39
- "optional": "необязательно",
40
- "unorderedlist": "Ненумерованный список",
41
- "orderedlist": "Нумерованный список",
42
- "outdent": "Убрать отступ",
43
- "indent": "Добавить отступ",
44
- "horizontalrule": "Линия",
45
- "upload-label": "Перетащите файл или ",
46
- "accessibility-help-label": "Rich text editor",
47
- "caption": "Caption"
48
- };
49
-
50
- })(jQuery);
@@ -1,50 +0,0 @@
1
- (function ($)
2
- {
3
- $.Redactor.opts.langs['sv'] = {
4
- "format": "Format",
5
- "image": "Bild",
6
- "file": "Fil",
7
- "link": "Länk",
8
- "bold": "Fet",
9
- "italic": "Kursiv",
10
- "deleted": "Överstruken",
11
- "underline": "Understruken",
12
- "bold-abbr": "B",
13
- "italic-abbr": "I",
14
- "deleted-abbr": "S",
15
- "underline-abbr": "U",
16
- "lists": "Lista",
17
- "link-insert": "Infoga länk",
18
- "link-edit": "Redigera länk",
19
- "link-in-new-tab": "Öppna länk i nytt fönster",
20
- "unlink": "Radera länk",
21
- "cancel": "Avbryt",
22
- "close": "Stäng",
23
- "insert": "Infoga",
24
- "save": "Spara",
25
- "delete": "Radera",
26
- "text": "Text",
27
- "edit": "Redigera",
28
- "title": "Titel",
29
- "paragraph": "Normal text",
30
- "quote": "Citat",
31
- "code": "Kod",
32
- "heading1": "Titel 1",
33
- "heading2": "Titel 2",
34
- "heading3": "Titel 3",
35
- "heading4": "Titel 4",
36
- "heading5": "Titel 5",
37
- "heading6": "Titel 6",
38
- "filename": "Namn",
39
- "optional": "valfritt",
40
- "unorderedlist": "Osorterad lista",
41
- "orderedlist": "Sorterad lista",
42
- "outdent": "Minska utdrag",
43
- "indent": "Öka utdrag",
44
- "horizontalrule": "Linje",
45
- "upload-label": "Släpp filen här eller ",
46
- "accessibility-help-label": "Textredigerare",
47
- "caption": "Caption"
48
- };
49
-
50
- })(jQuery);
@@ -1,50 +0,0 @@
1
- (function ($)
2
- {
3
- $.Redactor.opts.langs['tr'] = {
4
- "format": "Format",
5
- "image": "Görsel",
6
- "file": "Dosya",
7
- "link": "Link",
8
- "bold": "Kalın",
9
- "italic": "İtalik",
10
- "deleted": "Üzeri çizgili",
11
- "underline": "Altı çizgili",
12
- "bold-abbr": "B",
13
- "italic-abbr": "I",
14
- "deleted-abbr": "S",
15
- "underline-abbr": "U",
16
- "lists": "Listeleme",
17
- "link-insert": "Link ekle",
18
- "link-edit": "Linki düzenle",
19
- "link-in-new-tab": "Yeni bir pencerede aç",
20
- "unlink": "Linki Kaldır",
21
- "cancel": "Vazgeç",
22
- "close": "Kapat",
23
- "insert": "Ekle",
24
- "save": "Kaydet",
25
- "delete": "Sil",
26
- "text": "Metin",
27
- "edit": "Düzenle",
28
- "title": "Başlık",
29
- "paragraph": "Normal yazı",
30
- "quote": "Alıntı",
31
- "code": "Kod",
32
- "heading1": "Başlık 1",
33
- "heading2": "Başlık 2",
34
- "heading3": "Başlık 3",
35
- "heading4": "Başlık 4",
36
- "heading5": "Başlık 5",
37
- "heading6": "Başlık 6",
38
- "filename": "İsim",
39
- "optional": "opsiyonel",
40
- "unorderedlist": "Sırasız Liste",
41
- "orderedlist": "Sıralı Liste",
42
- "outdent": "Dışarı Doğru",
43
- "indent": "İçeri Doğru",
44
- "horizontalrule": "Çizgi",
45
- "upload-label": "Dosyayı buraya sürukle veya ",
46
- "accessibility-help-label": "Zenginleştirilmiş yazı editorü",
47
- "caption": "Caption"
48
- };
49
-
50
- })(jQuery);
@@ -1,52 +0,0 @@
1
- (function ($)
2
- {
3
- $.Redactor.opts.langs['zh_cn'] = {
4
- "format": "格式",
5
- "image": "图片",
6
- "file": "文件",
7
- "link": "链接",
8
- "bold": "加粗",
9
- "italic": "斜体",
10
- "deleted": "删除线",
11
- "underline": "底线",
12
- "bold-abbr": "B",
13
- "italic-abbr": "I",
14
- "deleted-abbr": "S",
15
- "underline-abbr": "U",
16
- "lists": "列表",
17
- "link-insert": "插入链接",
18
- "link-edit": "编辑链接",
19
- "link-in-new-tab": "在新页面中打开",
20
- "unlink": "取消链接",
21
- "cancel": "取消",
22
- "close": "关闭",
23
- "insert": "插入",
24
- "save": "保存",
25
- "delete": "删除",
26
- "text": "文本",
27
- "edit": "编辑",
28
- "title": "标题",
29
- "paragraph": "段落",
30
- "quote": "引用",
31
- "code": "代码",
32
- "heading1": "标题 1",
33
- "heading2": "标题 2",
34
- "heading3": "标题 3",
35
- "heading4": "标题 4",
36
- "heading5": "标题 5",
37
- "heading6": "标题 6",
38
- "filename": "文件名",
39
- "optional": "optional",
40
- "unorderedlist": "无序列表",
41
- "orderedlist": "有序列表",
42
- "outdent": "向左缩进",
43
- "indent": "向右缩进",
44
- "horizontalrule": "水平分隔线",
45
- "upload-label": "上传文件",
46
- "table": "表格",
47
- "video": "视频",
48
- "accessibility-help-label": "富文本编辑器",
49
- "caption": "Caption"
50
- };
51
-
52
- })(jQuery);
@@ -1,50 +0,0 @@
1
- (function ($)
2
- {
3
- $.Redactor.opts.langs['zh_tw'] = {
4
- "format": "樣式",
5
- "image": "插入圖片",
6
- "file": "插入文件",
7
- "link": "連結",
8
- "bold": "將文字變成粗體",
9
- "italic": "將文字變成斜體",
10
- "deleted": "刪除線",
11
- "underline": "底線",
12
- "bold-abbr": "B",
13
- "italic-abbr": "I",
14
- "deleted-abbr": "S",
15
- "underline-abbr": "U",
16
- "lists": "列表",
17
- "link-insert": "插入連結",
18
- "link-edit": "編輯連結",
19
- "link-in-new-tab": "開啟新分頁",
20
- "unlink": "移除連結",
21
- "cancel": "取消",
22
- "close": "關閉",
23
- "insert": "插入",
24
- "save": "儲存",
25
- "delete": "刪除",
26
- "text": "內文",
27
- "edit": "編輯",
28
- "title": "標題",
29
- "paragraph": "段落",
30
- "quote": "引用",
31
- "code": "原始碼",
32
- "heading1": "標題 1",
33
- "heading2": "標題 2",
34
- "heading3": "標題 3",
35
- "heading4": "標題 4",
36
- "heading5": "標題 5",
37
- "heading6": "標題 6",
38
- "filename": "檔案名稱",
39
- "optional": "optional",
40
- "unorderedlist": "項目列表",
41
- "orderedlist": "編號列表",
42
- "outdent": "減少縮排",
43
- "indent": "增加縮排",
44
- "horizontalrule": "插入水平線",
45
- "upload-label": "拖曳檔案",
46
- "accessibility-help-label": "Rich text editor",
47
- "caption": "Caption"
48
- };
49
-
50
- })(jQuery);
@@ -1,60 +0,0 @@
1
- (function($)
2
- {
3
- $.Redactor.prototype.clips = function()
4
- {
5
- return {
6
- init: function()
7
- {
8
- var items = [
9
- ['Lorem ipsum...', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.'],
10
- ['Red label', '<b class="label-red">Label</b>']
11
- ];
12
-
13
- this.clips.template = $('<ul id="redactor-modal-list">');
14
-
15
- for (var i = 0; i < items.length; i++)
16
- {
17
- var li = $('<li>');
18
- var a = $('<a href="#" class="redactor-clips-link">').text(items[i][0]);
19
- var div = $('<div class="redactor-clips">').hide().html(items[i][1]);
20
-
21
- li.append(a);
22
- li.append(div);
23
- this.clips.template.append(li);
24
- }
25
-
26
- this.modal.addTemplate('clips', '<div class="modal-section">' + this.utils.getOuterHtml(this.clips.template) + '</div>');
27
-
28
- var button = this.button.add('clips', 'Clips');
29
-
30
- this.button.addCallback(button, this.clips.show);
31
-
32
- },
33
- show: function()
34
- {
35
- this.modal.load('clips', 'Insert Clips', 500);
36
-
37
- $('#redactor-modal-list').find('.redactor-clips-link').each($.proxy(this.clips.load, this));
38
-
39
- this.modal.show();
40
- },
41
- load: function(i,s)
42
- {
43
- $(s).on('click', $.proxy(function(e)
44
- {
45
- e.preventDefault();
46
- this.clips.insert($(s).next().html());
47
-
48
- }, this));
49
- },
50
- insert: function(html)
51
- {
52
- this.buffer.set();
53
- this.air.collapsedEnd();
54
- this.insert.html(html);
55
- this.modal.close();
56
- }
57
- };
58
- };
59
- })(jQuery);
60
-