From 6d3ac28ef8af1714a460f4cc0db62c655c313f0d Mon Sep 17 00:00:00 2001 From: Stefan Neculai Date: Thu, 25 May 2017 13:14:06 +0000 Subject: [PATCH] Let Travis remove files. --- css/plugins/spell_checker.css | 72 --------- css/plugins/spell_checker.min.css | 7 - js/languages/ua.js | 233 ------------------------------ js/plugins/image_aviary.js | 33 ----- js/plugins/image_aviary.min.js | 7 - js/plugins/spell_checker.min.js | 7 - js/third_party/spell_checker.js | 179 ----------------------- 7 files changed, 538 deletions(-) delete mode 100644 css/plugins/spell_checker.css delete mode 100644 css/plugins/spell_checker.min.css delete mode 100644 js/languages/ua.js delete mode 100644 js/plugins/image_aviary.js delete mode 100644 js/plugins/image_aviary.min.js delete mode 100644 js/plugins/spell_checker.min.js delete mode 100644 js/third_party/spell_checker.js diff --git a/css/plugins/spell_checker.css b/css/plugins/spell_checker.css deleted file mode 100644 index 97b2cd69d..000000000 --- a/css/plugins/spell_checker.css +++ /dev/null @@ -1,72 +0,0 @@ -/*! - * froala_editor v2.6.1 (https://www.froala.com/wysiwyg-editor) - * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2017 Froala Labs - */ - -.clearfix::after { - clear: both; - display: block; - content: ""; - height: 0; -} -.hide-by-clipping { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; -} -.examples-variante > a { - font-size: 14px; - font-family: Arial, Helvetica, sans-serif; -} -.sc-cm-holder > .sc-cm { - border-top: 5px solid #222222 !important; - padding: 0px !important; - line-height: 200% !important; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px 1px rgba(0, 0, 0, 0.16); -} -.sc-cm .sc-cm__item.examples-variante.sc-cm__item_active > a > i { - display: none !important; -} -.sc-cm .sc-cm__item.examples-variante > a > i { - display: none !important; -} -.sc-cm__item_dropdown .i-icon { - display: none !important; -} -.sc-cm__item_dropdown .i-icon::before { - display: none !important; -} -.sc-cm::before { - display: none !important; -} -div.sc-cm-holder.sc-cm_show > ul > li.sc-cm__item.sc-cm__item_dropdown.sc-cm__item_arrow > div > ul { - border-style: none !important; - padding: 0px !important; -} -.sc-cm__item_dropdown:hover > a, -.sc-cm a:hover { - background-color: #ebebeb !important; -} -.sc-cm__item_active > a, -.sc-cm__item_active > a:hover, -.sc-cm a:active, -.sc-cm a:focus { - background-color: #d6d6d6 !important; -} -.sc-cm__item > a { - line-height: 200% !important; -} -.sc-cm-holder > .sc-cm:before { - background-color: #ebebeb !important; -} -.sc-cm-holder { - display: none; -} diff --git a/css/plugins/spell_checker.min.css b/css/plugins/spell_checker.min.css deleted file mode 100644 index f05c82eb7..000000000 --- a/css/plugins/spell_checker.min.css +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * froala_editor v2.6.1 (https://www.froala.com/wysiwyg-editor) - * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2017 Froala Labs - */ - -.clearfix::after{clear:both;display:block;content:"";height:0}.hide-by-clipping{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.examples-variante>a{font-size:14px;font-family:Arial,Helvetica,sans-serif}.sc-cm-holder>.sc-cm{border-top:5px solid #222!important;padding:0!important;line-height:200%!important;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 1px 1px rgba(0,0,0,.16);-moz-box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 1px 1px rgba(0,0,0,.16);box-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 1px 1px rgba(0,0,0,.16)}.sc-cm .sc-cm__item.examples-variante.sc-cm__item_active>a>i{display:none!important}.sc-cm .sc-cm__item.examples-variante>a>i{display:none!important}.sc-cm__item_dropdown .i-icon{display:none!important}.sc-cm__item_dropdown .i-icon::before{display:none!important}.sc-cm::before{display:none!important}div.sc-cm-holder.sc-cm_show>ul>li.sc-cm__item.sc-cm__item_dropdown.sc-cm__item_arrow>div>ul{border-style:none!important;padding:0!important}.sc-cm__item_dropdown:hover>a,.sc-cm a:hover{background-color:#ebebeb!important}.sc-cm__item_active>a,.sc-cm__item_active>a:hover,.sc-cm a:active,.sc-cm a:focus{background-color:#d6d6d6!important}.sc-cm__item>a{line-height:200%!important}.sc-cm-holder>.sc-cm:before{background-color:#ebebeb!important}.sc-cm-holder{display:none} \ No newline at end of file diff --git a/js/languages/ua.js b/js/languages/ua.js deleted file mode 100644 index 5df6a27c9..000000000 --- a/js/languages/ua.js +++ /dev/null @@ -1,233 +0,0 @@ -/*! - * froala_editor v2.6.1 (https://www.froala.com/wysiwyg-editor) - * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2017 Froala Labs - */ - -/** - * Ukrainian - */ - -$.FE.LANGUAGE['ua'] = { - translation: { - // Place holder - "Type something": "\u041d\u0430\u043f\u0438\u0448\u0456\u0442\u044c \u0431\u0443\u0434\u044c-\u0449\u043e", - - // Basic formatting - "Bold": "\u0416\u0438\u0440\u043d\u0438\u0439", - "Italic": "\u041a\u0443\u0440\u0441\u0438\u0432", - "Underline": "\u041f\u0456\u0434\u043a\u0440\u0435\u0441\u043b\u0435\u043d\u0438\u0439", - "Strikethrough": "\u0417\u0430\u043a\u0440\u0435\u0441\u043b\u0435\u043d\u0438\u0439", - - // Main buttons - "Insert": "\u0432\u0441\u0442\u0430\u0432\u0438\u0442\u0438", - "Delete": "\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438", - "Cancel": "\u0421\u043a\u0430\u0441\u0443\u0432\u0430\u0442\u0438", - "OK": "OK", - "Back": "\u043d\u0430\u0437\u0430\u0434", - "Remove": "\u0432\u0438\u0434\u0430\u043b\u0438\u0442\u0438", - "More": "\u0431\u0456\u043b\u044c\u0448\u0435", - "Update": "\u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f", - "Style": "\u0441\u0442\u0438\u043b\u044c", - - // Font - "Font Family": "\u0428\u0440\u0438\u0444\u0442", - "Font Size": "\u0420\u043e\u0437\u043c\u0456\u0440 \u0448\u0440\u0438\u0444\u0442\u0443", - - // Colors - "Colors": "\u043a\u043e\u043b\u044c\u043e\u0440\u0438", - "Background": "\u0424\u043e\u043d", - "Text": "\u0422\u0435\u043a\u0441\u0442", - - // Paragraphs - "Paragraph Format": "\u0424\u043e\u0440\u043c\u0430\u0442", - "Normal": "\u041d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u0438\u0439", - "Code": "\u041a\u043e\u0434", - "Heading 1": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 1", - "Heading 2": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 2", - "Heading 3": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 3", - "Heading 4": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a 4", - - // Style - "Paragraph Style": "\u043f\u0443\u043d\u043a\u0442 \u0441\u0442\u0438\u043b\u044c", - "Inline Style": "\u0432\u0431\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0439 \u0441\u0442\u0438\u043b\u044c", - - // Alignment - "Align": "\u0412\u0438\u0440\u0456\u0432\u043d\u044e\u0432\u0430\u043d\u043d\u044f", - "Align Left": "\u041f\u043e \u043b\u0456\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e", - "Align Center": "\u041f\u043e \u0446\u0435\u043d\u0442\u0440\u0443", - "Align Right": "\u041f\u043e \u043f\u0440\u0430\u0432\u043e\u043c\u0443 \u043a\u0440\u0430\u044e", - "Align Justify": "\u041f\u043e \u0448\u0438\u0440\u0438\u043d\u0456", - "None": "\u043d\u0456", - - // Lists - "Ordered List": "\u041d\u0443\u043c\u0435\u0440\u043e\u0432\u0430\u043d\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a", - "Unordered List": "\u041c\u0430\u0440\u043a\u043e\u0432\u0430\u043d\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a", - - // Indent - "Decrease Indent": "\u0417\u043c\u0435\u043d\u0448\u0438\u0442\u0438 \u0432\u0456\u0434\u0441\u0442\u0443\u043f", - "Increase Indent": "\u0417\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u0438 \u0432\u0456\u0434\u0441\u0442\u0443\u043f", - - // Links - "Insert Link": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f", - "Open in new tab": "\u0412\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u0432 \u043d\u043e\u0432\u0456\u0439 \u0432\u043a\u043b\u0430\u0434\u0446\u0456", - "Open Link": "\u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f", - "Edit Link": "\u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f", - "Unlink": "\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f", - "Choose Link": "\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044c \u043f\u043e\u0441\u0438\u043b\u0430\u043d\u043d\u044f", - - // Images - "Insert Image": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f", - "Upload Image": "\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f", - "By URL": "\u0437\u0430 URL", - "Browse": "\u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0430\u0442\u0438", - "Drop image": "\u041f\u0435\u0440\u0435\u043c\u0456\u0441\u0442\u0456\u0442\u044c \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u0441\u044e\u0434\u0438", - "or click": "\u0430\u0431\u043e \u043d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c", - "Manage Images": "\u041a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f\u043c\u0438", - "Loading": "\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f", - "Deleting": "\u0432\u0438\u0434\u0430\u043b\u0435\u043d\u043d\u044f", - "Tags": "\u043a\u043b\u044e\u0447\u043e\u0432\u0456 \u0441\u043b\u043e\u0432\u0430", - "Are you sure? Image will be deleted.": "\u0412\u0438 \u0432\u043f\u0435\u0432\u043d\u0435\u043d\u0456? \u0417\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u0431\u0443\u0434\u0435 \u0432\u0438\u0434\u0430\u043b\u0435\u043d\u043e.", - "Replace": "\u0437\u0430\u043c\u0456\u043d\u044e\u0432\u0430\u0442\u0438", - "Uploading": "\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f", - "Loading image": "\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u044c", - "Display": "\u0434\u0438\u0441\u043f\u043b\u0435\u0439", - "Inline": "\u0412 \u043b\u0456\u043d\u0456\u044e", - "Break Text": "\u043f\u0435\u0440\u0435\u0440\u0432\u0430 \u0442\u0435\u043a\u0441\u0442", - "Alternate Text": "\u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u0438\u0439 \u0442\u0435\u043a\u0441\u0442", - "Change Size": "\u0437\u043c\u0456\u043d\u0438\u0442\u0438 \u0440\u043e\u0437\u043c\u0456\u0440", - "Width": "\u0428\u0438\u0440\u0438\u043d\u0430", - "Height": "\u0412\u0438\u0441\u043e\u0442\u0430", - "Something went wrong. Please try again.": "\u0429\u043e\u0441\u044c \u043f\u0456\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a. \u0411\u0443\u0434\u044c \u043b\u0430\u0441\u043a\u0430 \u0441\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0449\u0435 \u0440\u0430\u0437.", - - // Video - "Insert Video": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0432\u0456\u0434\u0435\u043e", - "Embedded Code": "\u0432\u0431\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0439 \u043a\u043e\u0434", - - // Tables - "Insert Table": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044e", - "Table Header": "\u0417\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a \u0442\u0430\u0431\u043b\u0438\u0446\u0456", - "Remove Table": "\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u0456", - "Table Style": "\u0421\u0442\u0438\u043b\u044c \u0442\u0430\u0431\u043b\u0438\u0446\u0456", - "Horizontal Align": "\u0413\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u0435 \u0432\u0438\u0440\u0456\u0432\u043d\u044e\u0432\u0430\u043d\u043d\u044f", - "Row": "\u0420\u044f\u0434\u043e\u043a", - "Insert row above": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043f\u043e\u0440\u043e\u0436\u043d\u0456\u0439 \u0440\u044f\u0434\u043e\u043a \u0437\u0432\u0435\u0440\u0445\u0443", - "Insert row below": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u043f\u043e\u0440\u043e\u0436\u043d\u0456\u0439 \u0440\u044f\u0434\u043e\u043a \u0437\u043d\u0438\u0437\u0443", - "Delete row": "\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0440\u044f\u0434\u043e\u043a", - "Column": "\u0421\u0442\u043e\u0432\u043f\u0435\u0446\u044c", - "Insert column before": "\u0414\u043e\u0434\u0430\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0435\u0446\u044c \u043b\u0456\u0432\u043e\u0440\u0443\u0447", - "Insert column after": "\u0414\u043e\u0434\u0430\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0435\u0446\u044c \u043f\u0440\u0430\u0432\u043e\u0440\u0443\u0447", - "Delete column": "\u0412\u0438\u0434\u0430\u043b\u0438\u0442\u0438 \u0441\u0442\u043e\u0432\u043f\u0435\u0446\u044c", - "Cell": "\u041a\u043e\u043c\u0456\u0440\u043a\u0430", - "Merge cells": "\u041e\u0431'\u0454\u0434\u043d\u0430\u0442\u0438 \u043a\u043e\u043c\u0456\u0440\u043a\u0438", - "Horizontal split": "\u0420\u043e\u0437\u0434\u0456\u043b\u0438\u0442\u0438 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e", - "Vertical split": "\u0420\u043e\u0437\u0434\u0456\u043b\u0438\u0442\u0438 \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u043e", - "Cell Background": "\u0441\u0442\u0456\u043b\u044c\u043d\u0438\u043a\u043e\u0432\u0438\u0439 \u0444\u043e\u043d", - "Vertical Align": "\u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u0430 \u0432\u0438\u0440\u0456\u0432\u043d\u044e\u0432\u0430\u043d\u043d\u044f", - "Top": "\u0422\u043e\u043f", - "Middle": "\u0441\u0435\u0440\u0435\u0434\u043d\u0456\u0439", - "Bottom": "\u0434\u043d\u043e", - "Align Top": "\u0417\u0456\u0441\u0442\u0430\u0432\u0442\u0435 \u0432\u0435\u0440\u0445\u043d\u044e", - "Align Middle": "\u0432\u0438\u0440\u0456\u0432\u043d\u044f\u0442\u0438 \u043f\u043e \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0456", - "Align Bottom": "\u0417\u0456\u0441\u0442\u0430\u0432\u0442\u0435 \u043d\u0438\u0436\u043d\u044e", - "Cell Style": "\u0441\u0442\u0438\u043b\u044c \u043a\u043e\u043c\u0456\u0440\u043a\u0438", - - // Files - "Upload File": "\u0417\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0438\u0442\u0438 \u0444\u0430\u0439\u043b", - "Drop file": "\u041f\u0435\u0440\u0435\u043c\u0456\u0441\u0442\u0456\u0442\u044c \u0444\u0430\u0439\u043b \u0441\u044e\u0434\u0438", - - // Emoticons - "Emoticons": "\u0441\u043c\u0430\u0439\u043b\u0438", - "Grinning face": "\u043f\u043e\u0441\u043c\u0456\u0445\u043d\u0443\u0432\u0448\u0438\u0441\u044c \u043e\u0441\u043e\u0431\u0430", - "Grinning face with smiling eyes": "\u041f\u043e\u0441\u043c\u0456\u0445\u043d\u0443\u0432\u0448\u0438\u0441\u044c \u043e\u0441\u043e\u0431\u0430 \u0437 \u0443\u0441\u043c\u0456\u0445\u043d\u0435\u043d\u0438\u043c\u0438 \u043e\u0447\u0438\u043c\u0430", - "Face with tears of joy": "\u041e\u0431\u043b\u0438\u0447\u0447\u044f \u0437\u0456 \u0441\u043b\u044c\u043e\u0437\u0430\u043c\u0438 \u0440\u0430\u0434\u043e\u0441\u0442\u0456", - "Smiling face with open mouth": "\u0423\u0441\u043c\u0456\u0445\u043d\u0435\u043d\u0435 \u043e\u0431\u043b\u0438\u0447\u0447\u044f \u0437 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438\u043c \u0440\u043e\u0442\u043e\u043c", - "Smiling face with open mouth and smiling eyes": "\u041f\u043e\u0441\u043c\u0456\u0445\u0430\u044e\u0447\u0438\u0441\u044c \u043e\u0441\u043e\u0431\u0430 \u0437 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438\u043c \u0440\u043e\u0442\u043e\u043c \u0456 ", - "Smiling face with open mouth and cold sweat": "\u041f\u043e\u0441\u043c\u0456\u0445\u0430\u044e\u0447\u0438\u0441\u044c \u043e\u0441\u043e\u0431\u0430 \u0437 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438\u043c \u0440\u043e\u0442\u043e\u043c \u0456 ", - "Smiling face with open mouth and tightly-closed eyes": "\u041f\u043e\u0441\u043c\u0456\u0445\u0430\u044e\u0447\u0438\u0441\u044c \u043e\u0441\u043e\u0431\u0430 \u0437 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438\u043c \u0440\u043e\u0442\u043e\u043c \u0456 \u0449\u0456\u043b\u044c\u043d\u043e \u0437\u0430\u043a\u0440\u0438\u0442\u0438\u043c\u0438 \u043e\u0447\u0438\u043c\u0430", - "Smiling face with halo": "\u041f\u043e\u0441\u043c\u0456\u0445\u0430\u044e\u0447\u0438\u0441\u044c \u043e\u0441\u043e\u0431\u0430 \u0433\u0430\u043b\u043e", - "Smiling face with horns": "\u041f\u043e\u0441\u043c\u0456\u0445\u0430\u044e\u0447\u0438\u0441\u044c \u043e\u0441\u043e\u0431\u0430 \u0437 \u0440\u043e\u0433\u0430\u043c\u0438", - "Winking face": "\u043f\u0456\u0434\u043c\u043e\u0440\u0433\u0443\u044e\u0447\u0438 \u043e\u0441\u043e\u0431\u0430", - "Smiling face with smiling eyes": "\u041f\u043e\u0441\u043c\u0456\u0445\u0430\u044e\u0447\u0438\u0441\u044c \u043e\u0441\u043e\u0431\u0430 \u0437 \u0443\u0441\u043c\u0456\u0445\u043d\u0435\u043d\u0438\u043c\u0438 \u043e\u0447\u0438\u043c\u0430", - "Face savoring delicious food": "\u041e\u0441\u043e\u0431\u0430 \u0441\u043c\u0430\u043a\u0443\u044e\u0447\u0438 \u0441\u043c\u0430\u0447\u043d\u0443 \u0457\u0436\u0443", - "Relieved face": "\u0437\u0432\u0456\u043b\u044c\u043d\u0435\u043d\u043e \u043e\u0441\u043e\u0431\u0430", - "Smiling face with heart-shaped eyes": "\u041f\u043e\u0441\u043c\u0456\u0445\u0430\u044e\u0447\u0438\u0441\u044c \u043e\u0441\u043e\u0431\u0430 \u0443 \u0444\u043e\u0440\u043c\u0456 \u0441\u0435\u0440\u0446\u044f \u043e\u0447\u0438\u043c\u0430", - "Smiling face with sunglasses": "\u0053\u006d\u0069\u006c\u0069\u006e\u0067 \u0066\u0061\u0063\u0065 \u0077\u0069\u0074\u0068 \u0073\u0075\u006e\u0067\u006c\u0061\u0073\u0073\u0065\u0073", - "Smirking face": "\u043f\u043e\u0441\u043c\u0456\u0445\u043d\u0443\u0432\u0448\u0438\u0441\u044c \u043e\u0441\u043e\u0431\u0430", - "Neutral face": "\u0437\u0432\u0438\u0447\u0430\u0439\u043d\u0438\u0439 \u043e\u0441\u043e\u0431\u0430", - "Expressionless face": "\u043d\u0435\u0432\u0438\u0440\u0430\u0437\u043d\u0456 \u043e\u0431\u043b\u0438\u0447\u0447\u044f", - "Unamused face": "\u0055\u006e\u0061\u006d\u0075\u0073\u0065\u0064 \u043e\u0441\u043e\u0431\u0430", - "Face with cold sweat": "\u041e\u0441\u043e\u0431\u0430 \u0437 \u0445\u043e\u043b\u043e\u0434\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u0443", - "Pensive face": "\u0437\u0430\u043c\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u043e\u0441\u043e\u0431\u0430", - "Confused face": "\u043f\u043b\u0443\u0442\u0430\u0442\u0438 \u043e\u0441\u043e\u0431\u0430", - "Confounded face": "\u043d\u0435\u0445\u0430\u0439 \u043f\u043e\u0441\u043e\u0440\u043e\u043c\u043b\u044f\u0442\u044c\u0441\u044f \u043e\u0441\u043e\u0431\u0430", - "Kissing face": "\u043f\u043e\u0446\u0456\u043b\u0443\u043d\u043a\u0438 \u043e\u0441\u043e\u0431\u0430", - "Face throwing a kiss": "\u041e\u0441\u043e\u0431\u0430 \u043a\u0438\u0434\u0430\u043b\u0438 \u043f\u043e\u0446\u0456\u043b\u0443\u043d\u043e\u043a", - "Kissing face with smiling eyes": "\u041f\u043e\u0446\u0456\u043b\u0443\u043d\u043a\u0438 \u043e\u0441\u043e\u0431\u0430 \u0437 \u0443\u0441\u043c\u0456\u0445\u043d\u0435\u043d\u0438\u043c\u0438 \u043e\u0447\u0438\u043c\u0430", - "Kissing face with closed eyes": "\u041f\u043e\u0446\u0456\u043b\u0443\u043d\u043a\u0438 \u043e\u0431\u043b\u0438\u0447\u0447\u044f \u0437 \u0437\u0430\u043f\u043b\u044e\u0449\u0435\u043d\u0438\u043c\u0438 \u043e\u0447\u0438\u043c\u0430", - "Face with stuck out tongue": "\u041e\u0431\u043b\u0438\u0447\u0447\u044f \u0437 \u0441\u0442\u0438\u0440\u0447\u0430\u043b\u0438 \u044f\u0437\u0438\u043a", - "Face with stuck out tongue and winking eye": "\u041e\u0431\u043b\u0438\u0447\u0447\u044f \u0437 \u0441\u0442\u0438\u0440\u0447\u0430\u043b\u0438 \u044f\u0437\u0438\u043a\u0430 \u0456 \u0410\u043d\u0456\u043c\u043e\u0432\u0430\u043d\u0435 \u043e\u0447\u0435\u0439", - "Face with stuck out tongue and tightly-closed eyes": "\u041e\u0431\u043b\u0438\u0447\u0447\u044f \u0437 \u0441\u0442\u0438\u0440\u0447\u0430\u043b\u0438 \u044f\u0437\u0438\u043a\u0430 \u0456 \u0449\u0456\u043b\u044c\u043d\u043e \u0437\u0430\u043a\u0440\u0438\u0442\u0456 \u043e\u0447\u0456", - "Disappointed face": "\u0440\u043e\u0437\u0447\u0430\u0440\u043e\u0432\u0430\u043d\u0438\u0439 \u043e\u0441\u043e\u0431\u0430", - "Worried face": "\u0441\u0442\u0443\u0440\u0431\u043e\u0432\u0430\u043d\u0438\u0439 \u043e\u0441\u043e\u0431\u0430", - "Angry face": "\u0437\u043b\u0438\u0439 \u043e\u0441\u043e\u0431\u0430", - "Pouting face": "\u043f\u0443\u0445\u043a\u0456 \u043e\u0441\u043e\u0431\u0430", - "Crying face": "\u043f\u043b\u0430\u0447 \u043e\u0441\u043e\u0431\u0430", - "Persevering face": "\u043d\u0430\u043f\u043e\u043b\u0435\u0433\u043b\u0438\u0432\u0430 \u043e\u0441\u043e\u0431\u0430", - "Face with look of triumph": "\u041e\u0441\u043e\u0431\u0430 \u0437 \u0432\u0438\u0434\u043e\u043c \u0442\u0440\u0456\u0443\u043c\u0444\u0443", - "Disappointed but relieved face": "\u0420\u043e\u0437\u0447\u0430\u0440\u043e\u0432\u0430\u043d\u0438\u0439\u002c \u0430\u043b\u0435 \u0437\u0432\u0456\u043b\u044c\u043d\u0435\u043d\u0438\u0439 \u043e\u0441\u043e\u0431\u0430", - "Frowning face with open mouth": "\u041d\u0430\u0441\u0443\u043f\u0438\u0432\u0448\u0438\u0441\u044c \u043e\u0441\u043e\u0431\u0430 \u0437 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438\u043c \u0440\u043e\u0442\u043e\u043c", - "Anguished face": "\u0431\u043e\u043b\u0456\u0441\u043d\u0438\u0439 \u043e\u0441\u043e\u0431\u0430", - "Fearful face": "\u043f\u043e\u0431\u043e\u044e\u044e\u0447\u0438\u0441\u044c \u043e\u0441\u043e\u0431\u0430", - "Weary face": "\u0432\u0442\u043e\u043c\u043b\u0435\u043d\u0438\u0439 \u043e\u0441\u043e\u0431\u0430", - "Sleepy face": "сонне обличчя", - "Tired face": "\u0432\u0442\u043e\u043c\u0438\u043b\u0438\u0441\u044f \u043e\u0441\u043e\u0431\u0430", - "Grimacing face": "\u0433\u0440\u0438\u043c\u0430\u0441\u0443\u044e\u0447\u0438 \u043e\u0441\u043e\u0431\u0430", - "Loudly crying face": "\u004c\u006f\u0075\u0064\u006c\u0079 \u0063\u0072\u0079\u0069\u006e\u0067 \u0066\u0061\u0063\u0065", - "Face with open mouth": "\u041e\u0441\u043e\u0431\u0430 \u0437 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438\u043c \u0440\u043e\u0442\u043e\u043c", - "Hushed face": "\u0437\u0430\u0442\u0438\u0445 \u043e\u0441\u043e\u0431\u0430", - "Face with open mouth and cold sweat": "\u041e\u0441\u043e\u0431\u0430 \u0437 \u0432\u0456\u0434\u043a\u0440\u0438\u0442\u0438\u043c \u0440\u043e\u0442\u043e\u043c \u0456 \u0445\u043e\u043b\u043e\u0434\u043d\u0438\u0439 \u043f\u0456\u0442", - "Face screaming in fear": "\u041e\u0441\u043e\u0431\u0430 \u043a\u0440\u0438\u0447\u0430\u0442\u0438 \u0432 \u0441\u0442\u0440\u0430\u0445\u0443", - "Astonished face": "\u0437\u0434\u0438\u0432\u043e\u0432\u0430\u043d\u0438\u0439 \u043e\u0441\u043e\u0431\u0430", - "Flushed face": "\u043f\u0440\u0438\u043f\u043b\u0438\u0432 \u043a\u0440\u043e\u0432\u0456 \u0434\u043e \u043e\u0431\u043b\u0438\u0447\u0447\u044f", - "Sleeping face": "\u0421\u043f\u043b\u044f\u0447\u0430 \u043e\u0441\u043e\u0431\u0430", - "Dizzy face": "\u0414\u0456\u0437\u0437\u0456 \u043e\u0441\u043e\u0431\u0430", - "Face without mouth": "\u041e\u0441\u043e\u0431\u0430 \u0431\u0435\u0437 \u0440\u043e\u0442\u0430", - "Face with medical mask": "\u041e\u0441\u043e\u0431\u0430 \u0437 \u043c\u0435\u0434\u0438\u0447\u043d\u043e\u044e \u043c\u0430\u0441\u043a\u043e\u044e", - - // Line breaker - "Break": "\u0437\u043b\u043e\u043c\u0438\u0442\u0438", - - // Math - "Subscript": "\u043f\u0456\u0434\u0440\u044f\u0434\u043a\u043e\u0432\u0438\u0439", - "Superscript": "\u043d\u0430\u0434\u0440\u044f\u0434\u043a\u043e\u0432\u0438\u0439 \u0441\u0438\u043c\u0432\u043e\u043b", - - // Full screen - "Fullscreen": "\u043f\u043e\u0432\u043d\u043e\u0435\u043a\u0440\u0430\u043d\u043d\u0438\u0439 \u0440\u0435\u0436\u0438\u043c", - - // Horizontal line - "Insert Horizontal Line": "\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u0438 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u0443 \u043b\u0456\u043d\u0456\u044e", - - // Clear formatting - "Clear Formatting": "\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0444\u043e\u0440\u043c\u0430\u0442\u0443\u0432\u0430\u043d\u043d\u044f", - - // Undo, redo - "Undo": "\u0421\u043a\u0430\u0441\u0443\u0432\u0430\u0442\u0438", - "Redo": "\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0438", - - // Select all - "Select All": "\u0412\u0438\u0431\u0440\u0430\u0442\u0438 \u0432\u0441\u0435", - - // Code view - "Code View": "\u041f\u0435\u0440\u0435\u0433\u043b\u044f\u0434 \u043a\u043e\u0434\u0443", - - // Quote - "Quote": "\u0426\u0438\u0442\u0430\u0442\u0430", - "Increase": "\u0417\u0431\u0456\u043b\u044c\u0448\u0438\u0442\u0438", - "Decrease": "\u0437\u043d\u0438\u0436\u0435\u043d\u043d\u044f", - - // Quick Insert - "Quick Insert": "\u0428\u0432\u0438\u0434\u043a\u0438\u0439 \u0432\u0441\u0442\u0430\u0432\u043a\u0430" - }, - direction: "ltr" -}; diff --git a/js/plugins/image_aviary.js b/js/plugins/image_aviary.js deleted file mode 100644 index 9ce8b15a3..000000000 --- a/js/plugins/image_aviary.js +++ /dev/null @@ -1,33 +0,0 @@ -/*! - * froala_editor v2.6.1 (https://www.froala.com/wysiwyg-editor) - * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2017 Froala Labs - */ - -(function (factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['jquery'], factory); - } else if (typeof module === 'object' && module.exports) { - // Node/CommonJS - module.exports = function( root, jQuery ) { - if ( jQuery === undefined ) { - // require('jQuery') returns a factory that requires window to - // build a jQuery instance, we normalize how we use modules - // that require this pattern but the window provided is a noop - // if it's defined (how jquery works) - if ( typeof window !== 'undefined' ) { - jQuery = require('jquery'); - } - else { - jQuery = require('jquery')(root); - } - } - return factory(jQuery); - }; - } else { - // Browser globals - factory(window.jQuery); - } -}(function ($) { -})); diff --git a/js/plugins/image_aviary.min.js b/js/plugins/image_aviary.min.js deleted file mode 100644 index 85541c1ea..000000000 --- a/js/plugins/image_aviary.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * froala_editor v2.6.1 (https://www.froala.com/wysiwyg-editor) - * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2017 Froala Labs - */ - -!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(b,c){return void 0===c&&(c="undefined"!=typeof window?require("jquery"):require("jquery")(b)),a(c)}:a(window.jQuery)}(function(a){}); \ No newline at end of file diff --git a/js/plugins/spell_checker.min.js b/js/plugins/spell_checker.min.js deleted file mode 100644 index c0b5de8ce..000000000 --- a/js/plugins/spell_checker.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * froala_editor v2.6.1 (https://www.froala.com/wysiwyg-editor) - * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2017 Froala Labs - */ - -!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(b,c){return void 0===c&&(c="undefined"!=typeof window?require("jquery"):require("jquery")(b)),a(c)}:a(window.jQuery)}(function(a){a.extend(a.FE.DEFAULTS,{scaytAutoload:!1,scaytOptions:{enableOnTouchDevices:!1,localization:"en",extraModules:"ui",DefaultSelection:"American English",spellcheckLang:"en_US",contextMenuSections:"suggest|moresuggest",serviceProtocol:"https",servicePort:"80",serviceHost:"svc.webspellchecker.net",servicePath:"spellcheck/script/ssrv.cgi",contextMenuForMisspelledOnly:!0,scriptPath:"https://svc.webspellchecker.net/spellcheck31/lf/scayt3/customscayt/customscayt.js"}}),a.FE.PLUGINS.spellChecker=function(b){function c(a){if(j){var c=!j.isDisabled();a.toggleClass("fr-active",c).attr("aria-pressed",c),b.$el.attr("spellcheck",!c)}}function d(a){j&&!j.isDisabled()&&(["bold","italic","underline","strikeThrough","subscript","superscript","fontFamily","fontSize"].indexOf(a)>=0&&j.removeMarkupInSelectionNode({removeInside:!0}),"html"==a&&g())}function e(a){j&&!j.isDisabled()&&["bold","italic","underline","strikeThrough","subscript","superscript","fontFamily","fontSize"].indexOf(a)>=0&&j.reloadMarkup()}function f(b){if(j&&!j.isDisabled()){b.which==a.FE.KEYCODE.ENTER&&setTimeout(j.reloadMarkup,0)}}function g(){j&&j.setDisabled(!j.isDisabled())}function h(){b.events.on("commands.before",d),b.events.on("commands.after",e),b.events.on("keydown",f,!0),c(b.$tb.find('[data-cmd="spellChecker"]'))}function i(){if(!b.$wp)return!1;var a=b.opts.scaytOptions;a.container=b.$el.get(0),a.autoStartup=b.opts.scaytAutoload,a.onLoad=h,null!==b.opts.language&&(b.opts.spellCheckerLanguage=b.opts.language),!0===b.opts.scaytAutoload&&(b.opts.spellcheck=!1);var c=document.createElement("script");c.type="text/javascript",c.src=b.opts.scaytOptions.scriptPath,c.innerText="",c.onload=function(){j=new SCAYT.CUSTOMSCAYT(a)},document.getElementsByTagName("head")[0].appendChild(c)}var j;return{_init:i,refresh:c,toggle:g}},a.FE.DefineIcon("spellChecker",{NAME:"keyboard-o"}),a.FE.RegisterCommand("spellChecker",{title:"Spell Checker",undo:!1,focus:!1,accessibilityFocus:!0,forcedRefresh:!0,toggle:!0,callback:function(){this.spellChecker.toggle()},refresh:function(a){this.spellChecker.refresh(a)},plugin:"spellChecker"})}); \ No newline at end of file diff --git a/js/third_party/spell_checker.js b/js/third_party/spell_checker.js deleted file mode 100644 index 579474293..000000000 --- a/js/third_party/spell_checker.js +++ /dev/null @@ -1,179 +0,0 @@ -/*! - * froala_editor v2.6.1 (https://www.froala.com/wysiwyg-editor) - * License https://froala.com/wysiwyg-editor/terms/ - * Copyright 2014-2017 Froala Labs - */ - -(function (factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Register as an anonymous module. - define(['jquery'], factory); - } else if (typeof module === 'object' && module.exports) { - // Node/CommonJS - module.exports = function( root, jQuery ) { - if ( jQuery === undefined ) { - // require('jQuery') returns a factory that requires window to - // build a jQuery instance, we normalize how we use modules - // that require this pattern but the window provided is a noop - // if it's defined (how jquery works) - if ( typeof window !== 'undefined' ) { - jQuery = require('jquery'); - } - else { - jQuery = require('jquery')(root); - } - } - return factory(jQuery); - }; - } else { - // Browser globals - factory(window.jQuery); - } -}(function ($) { - - - $.extend($.FE.DEFAULTS, { - scaytAutoload: false, - scaytCustomerId: '1:tLBmI3-7rr3J1-GMEFA1-mIewo-hynTZ1-PV38I1-uEXCy2-Rn81L-gXuG4-NUNri4-5q9Q34-Jd', - scaytOptions: { - enableOnTouchDevices: false, - localization:'en', - extraModules: 'ui', - DefaultSelection: 'American English', - spellcheckLang: 'en_US', - contextMenuSections: 'suggest|moresuggest', - serviceProtocol: 'https', - servicePort:'80', - serviceHost:'svc.webspellchecker.net', - servicePath:'spellcheck/script/ssrv.cgi', - contextMenuForMisspelledOnly: true, - scriptPath: 'https://svc.webspellchecker.net/spellcheck31/lf/scayt3/customscayt/customscayt.js' - } - }); - - $.FE.PLUGINS.spellChecker = function (editor) { - var object; - - // Refresh button in toolbar. - function refresh ($btn) { - if (object) { - var active = !object.isDisabled(); - $btn.toggleClass('fr-active', active).attr('aria-pressed', active); - - editor.$el.attr('spellcheck', !active); - } - } - - // Remove markup from the current selection. - function _beforeCommand (cmd) { - if (!object || object.isDisabled()) return; - - if (['bold', 'italic', 'underline', 'strikeThrough', 'subscript', 'superscript', 'fontFamily', 'fontSize'].indexOf(cmd) >= 0) { - object.removeMarkupInSelectionNode({ - removeInside: true - }); - } - - if (cmd == 'html') { - toggle(); - } - } - - // Reload markup on the current selection. - function _afterCommand (cmd) { - if (!object || object.isDisabled()) return; - - if (['bold', 'italic', 'underline', 'strikeThrough', 'subscript', 'superscript', 'fontFamily', 'fontSize'].indexOf(cmd) >= 0) { - object.reloadMarkup(); - } - } - - // Key press. - function _keyPress (e) { - if (!object || object.isDisabled()) return; - - var key_code = e.which; - - // Reload markup on ENTER. - if (key_code == $.FE.KEYCODE.ENTER) { - setTimeout(object.reloadMarkup, 0); - } - } - - // Toggle spellchecker. - function toggle () { - if (!object) return; - - object.setDisabled(!object.isDisabled()); - } - - function _loaded () { - // Set events. - editor.events.on('commands.before', _beforeCommand); - editor.events.on('commands.after', _afterCommand); - editor.events.on('keydown', _keyPress, true); - - // Refresh; - refresh(editor.$tb.find('[data-cmd="spellChecker"]')); - } - - // Initialize. - function _init () { - if (!editor.$wp) return false; - - // Get SCAYT default options and overide them. - var scayt_options = editor.opts.scaytOptions; - scayt_options.customerId = editor.opts.scaytCustomerId; - scayt_options.container = editor.$el.get(0); - scayt_options.autoStartup = editor.opts.scaytAutoload; - scayt_options.onLoad = _loaded; - - // Set language. - if (editor.opts.language !== null) { - editor.opts.spellCheckerLanguage = editor.opts.language; - } - - // Disable spellcheck if there is scayt. - if (editor.opts.scaytAutoload === true) { - editor.opts.spellcheck = false; - } - - // Init SCAYT. - var script = document.createElement('script'); - script.type = 'text/javascript'; - script.src = editor.opts.scaytOptions.scriptPath; - script.innerText = ''; - script.onload = function () { - /*global SCAYT */ - object = new SCAYT.CUSTOMSCAYT(scayt_options); - } - - document.getElementsByTagName('head')[0].appendChild(script); - } - - return { - _init: _init, - refresh: refresh, - toggle: toggle - } - }; - - // Register spellchecker command. - $.FE.DefineIcon('spellChecker', { NAME: 'keyboard-o' }); - $.FE.RegisterCommand('spellChecker', { - title: 'Spell Checker', - undo: false, - focus: false, - accessibilityFocus: true, - forcedRefresh: true, - toggle: true, - callback: function () { - this.spellChecker.toggle(); - }, - refresh: function ($btn) { - this.spellChecker.refresh($btn); - }, - plugin: 'spellChecker' - }); - -}));