From 9ad07698cc52f972594028cdc20d5655c3ba02a0 Mon Sep 17 00:00:00 2001 From: BoBoooooo <17746714@qq.com> Date: Fri, 4 Sep 2020 17:50:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(Tinymce):=20=E8=BF=98=E5=8E=9F=E5=AF=8C?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E7=BB=84=E4=BB=B6,=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1=E5=99=A8=E4=B8=AD=E9=9C=80=E8=A6=81=E4=BD=BF?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 1 + public/js/tinymce4.7.5/langs/zh_CN.js | 230 ++++++++++++++++++ .../plugins/codesample/css/prism.css | 138 +++++++++++ .../plugins/visualblocks/css/visualblocks.css | 154 ++++++++++++ .../skins/lightgray/content.inline.min.css | 1 + .../skins/lightgray/content.min.css | 1 + .../skins/lightgray/fonts/tinymce-mobile.woff | Bin 0 -> 4624 bytes .../skins/lightgray/fonts/tinymce-small.eot | Bin 0 -> 9492 bytes .../skins/lightgray/fonts/tinymce-small.svg | 63 +++++ .../skins/lightgray/fonts/tinymce-small.ttf | Bin 0 -> 9304 bytes .../skins/lightgray/fonts/tinymce-small.woff | Bin 0 -> 9380 bytes .../skins/lightgray/fonts/tinymce.eot | Bin 0 -> 18808 bytes .../skins/lightgray/fonts/tinymce.svg | 131 ++++++++++ .../skins/lightgray/fonts/tinymce.ttf | Bin 0 -> 18644 bytes .../skins/lightgray/fonts/tinymce.woff | Bin 0 -> 18720 bytes .../skins/lightgray/img/anchor.gif | Bin 0 -> 53 bytes .../skins/lightgray/img/loader.gif | Bin 0 -> 2608 bytes .../skins/lightgray/img/object.gif | Bin 0 -> 152 bytes .../skins/lightgray/img/trans.gif | Bin 0 -> 43 bytes .../tinymce4.7.5/skins/lightgray/skin.min.css | 1 + .../skins/lightgray/skin.min.css.map | 1 + public/js/tinymce4.7.5/tinymce.min.js | 2 + .../FormDesigner/componentsConfig.ts | 8 - .../Tinymce/components/editorImage.vue | 115 +++++++++ src/components/Tinymce/index.vue | 222 +++++++++++++++++ src/components/Tinymce/plugins.js | 8 + src/components/Tinymce/toolbar.js | 7 + 27 files changed, 1075 insertions(+), 8 deletions(-) create mode 100755 public/js/tinymce4.7.5/langs/zh_CN.js create mode 100755 public/js/tinymce4.7.5/plugins/codesample/css/prism.css create mode 100755 public/js/tinymce4.7.5/plugins/visualblocks/css/visualblocks.css create mode 100755 public/js/tinymce4.7.5/skins/lightgray/content.inline.min.css create mode 100755 public/js/tinymce4.7.5/skins/lightgray/content.min.css create mode 100755 public/js/tinymce4.7.5/skins/lightgray/fonts/tinymce-mobile.woff create mode 100755 public/js/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.eot create mode 100755 public/js/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.svg create mode 100755 public/js/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.ttf create mode 100755 public/js/tinymce4.7.5/skins/lightgray/fonts/tinymce-small.woff create mode 100755 public/js/tinymce4.7.5/skins/lightgray/fonts/tinymce.eot create mode 100755 public/js/tinymce4.7.5/skins/lightgray/fonts/tinymce.svg create mode 100755 public/js/tinymce4.7.5/skins/lightgray/fonts/tinymce.ttf create mode 100755 public/js/tinymce4.7.5/skins/lightgray/fonts/tinymce.woff create mode 100755 public/js/tinymce4.7.5/skins/lightgray/img/anchor.gif create mode 100755 public/js/tinymce4.7.5/skins/lightgray/img/loader.gif create mode 100755 public/js/tinymce4.7.5/skins/lightgray/img/object.gif create mode 100755 public/js/tinymce4.7.5/skins/lightgray/img/trans.gif create mode 100755 public/js/tinymce4.7.5/skins/lightgray/skin.min.css create mode 100755 public/js/tinymce4.7.5/skins/lightgray/skin.min.css.map create mode 100755 public/js/tinymce4.7.5/tinymce.min.js create mode 100644 src/components/Tinymce/components/editorImage.vue create mode 100644 src/components/Tinymce/index.vue create mode 100644 src/components/Tinymce/plugins.js create mode 100644 src/components/Tinymce/toolbar.js diff --git a/public/index.html b/public/index.html index 470b1d8..7925bf6 100644 --- a/public/index.html +++ b/public/index.html @@ -19,6 +19,7 @@
+ <% for (var js in htmlWebpackPlugin.files.js) { %> <% } %> <% if (htmlWebpackPlugin.options.devServer) { %> diff --git a/public/js/tinymce4.7.5/langs/zh_CN.js b/public/js/tinymce4.7.5/langs/zh_CN.js new file mode 100755 index 0000000..2715b87 --- /dev/null +++ b/public/js/tinymce4.7.5/langs/zh_CN.js @@ -0,0 +1,230 @@ +tinymce.addI18n('zh_CN', { + Cut: '\u526a\u5207', + 'Heading 5': '\u6807\u98985', + 'Header 2': '\u6807\u98982', + "Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": '\u4f60\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u5bf9\u526a\u8d34\u677f\u7684\u8bbf\u95ee\uff0c\u8bf7\u4f7f\u7528Ctrl+X\/C\/V\u952e\u8fdb\u884c\u590d\u5236\u7c98\u8d34\u3002', + 'Heading 4': '\u6807\u98984', + Div: 'Div\u533a\u5757', + 'Heading 2': '\u6807\u98982', + Paste: '\u7c98\u8d34', + Close: '\u5173\u95ed', + 'Font Family': '\u5b57\u4f53', + Pre: '\u9884\u683c\u5f0f\u6587\u672c', + 'Align right': '\u53f3\u5bf9\u9f50', + 'New document': '\u65b0\u6587\u6863', + Blockquote: '\u5f15\u7528', + 'Numbered list': '\u7f16\u53f7\u5217\u8868', + 'Heading 1': '\u6807\u98981', + Headings: '\u6807\u9898', + 'Increase indent': '\u589e\u52a0\u7f29\u8fdb', + Formats: '\u683c\u5f0f', + Headers: '\u6807\u9898', + 'Select all': '\u5168\u9009', + 'Header 3': '\u6807\u98983', + Blocks: '\u533a\u5757', + Undo: '\u64a4\u6d88', + Strikethrough: '\u5220\u9664\u7ebf', + 'Bullet list': '\u9879\u76ee\u7b26\u53f7', + 'Header 1': '\u6807\u98981', + Superscript: '\u4e0a\u6807', + 'Clear formatting': '\u6e05\u9664\u683c\u5f0f', + 'Font Sizes': '\u5b57\u53f7', + Subscript: '\u4e0b\u6807', + 'Header 6': '\u6807\u98986', + Redo: '\u91cd\u590d', + Paragraph: '\u6bb5\u843d', + Ok: '\u786e\u5b9a', + Bold: '\u7c97\u4f53', + Code: '\u4ee3\u7801', + Italic: '\u659c\u4f53', + 'Align center': '\u5c45\u4e2d', + 'Header 5': '\u6807\u98985', + 'Heading 6': '\u6807\u98986', + 'Heading 3': '\u6807\u98983', + 'Decrease indent': '\u51cf\u5c11\u7f29\u8fdb', + 'Header 4': '\u6807\u98984', + 'Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.': '\u5f53\u524d\u4e3a\u7eaf\u6587\u672c\u7c98\u8d34\u6a21\u5f0f\uff0c\u518d\u6b21\u70b9\u51fb\u53ef\u4ee5\u56de\u5230\u666e\u901a\u7c98\u8d34\u6a21\u5f0f\u3002', + Underline: '\u4e0b\u5212\u7ebf', + Cancel: '\u53d6\u6d88', + Justify: '\u4e24\u7aef\u5bf9\u9f50', + Inline: '\u6587\u672c', + Copy: '\u590d\u5236', + 'Align left': '\u5de6\u5bf9\u9f50', + 'Visual aids': '\u7f51\u683c\u7ebf', + 'Lower Greek': '\u5c0f\u5199\u5e0c\u814a\u5b57\u6bcd', + Square: '\u65b9\u5757', + Default: '\u9ed8\u8ba4', + 'Lower Alpha': '\u5c0f\u5199\u82f1\u6587\u5b57\u6bcd', + Circle: '\u7a7a\u5fc3\u5706', + Disc: '\u5b9e\u5fc3\u5706', + 'Upper Alpha': '\u5927\u5199\u82f1\u6587\u5b57\u6bcd', + 'Upper Roman': '\u5927\u5199\u7f57\u9a6c\u5b57\u6bcd', + 'Lower Roman': '\u5c0f\u5199\u7f57\u9a6c\u5b57\u6bcd', + 'Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.': '\u6807\u8bc6\u7b26\u5e94\u8be5\u4ee5\u5b57\u6bcd\u5f00\u5934\uff0c\u540e\u8ddf\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u7834\u6298\u53f7\u3001\u70b9\u3001\u5192\u53f7\u6216\u4e0b\u5212\u7ebf\u3002', + Name: '\u540d\u79f0', + Anchor: '\u951a\u70b9', + Id: '\u6807\u8bc6\u7b26', + 'You have unsaved changes are you sure you want to navigate away?': '\u4f60\u8fd8\u6709\u6587\u6863\u5c1a\u672a\u4fdd\u5b58\uff0c\u786e\u5b9a\u8981\u79bb\u5f00\uff1f', + 'Restore last draft': '\u6062\u590d\u4e0a\u6b21\u7684\u8349\u7a3f', + 'Special character': '\u7279\u6b8a\u7b26\u53f7', + 'Source code': '\u6e90\u4ee3\u7801', + Language: '\u8bed\u8a00', + 'Insert\/Edit code sample': '\u63d2\u5165\/\u7f16\u8f91\u4ee3\u7801\u793a\u4f8b', + B: 'B', + R: 'R', + G: 'G', + Color: '\u989c\u8272', + 'Right to left': '\u4ece\u53f3\u5230\u5de6', + 'Left to right': '\u4ece\u5de6\u5230\u53f3', + Emoticons: '\u8868\u60c5', + Robots: '\u673a\u5668\u4eba', + 'Document properties': '\u6587\u6863\u5c5e\u6027', + Title: '\u6807\u9898', + Keywords: '\u5173\u952e\u8bcd', + Encoding: '\u7f16\u7801', + Description: '\u63cf\u8ff0', + Author: '\u4f5c\u8005', + Fullscreen: '\u5168\u5c4f', + 'Horizontal line': '\u6c34\u5e73\u5206\u5272\u7ebf', + 'Horizontal space': '\u6c34\u5e73\u8fb9\u8ddd', + 'Insert\/edit image': '\u63d2\u5165\/\u7f16\u8f91\u56fe\u7247', + General: '\u666e\u901a', + Advanced: '\u9ad8\u7ea7', + Source: '\u5730\u5740', + Border: '\u8fb9\u6846', + 'Constrain proportions': '\u4fdd\u6301\u7eb5\u6a2a\u6bd4', + 'Vertical space': '\u5782\u76f4\u8fb9\u8ddd', + 'Image description': '\u56fe\u7247\u63cf\u8ff0', + Style: '\u6837\u5f0f', + Dimensions: '\u5927\u5c0f', + 'Insert image': '\u63d2\u5165\u56fe\u7247', + Image: '\u56fe\u7247', + 'Zoom in': '\u653e\u5927', + Contrast: '\u5bf9\u6bd4\u5ea6', + Back: '\u540e\u9000', + Gamma: '\u4f3d\u9a6c\u503c', + 'Flip horizontally': '\u6c34\u5e73\u7ffb\u8f6c', + Resize: '\u8c03\u6574\u5927\u5c0f', + Sharpen: '\u9510\u5316', + 'Zoom out': '\u7f29\u5c0f', + 'Image options': '\u56fe\u7247\u9009\u9879', + Apply: '\u5e94\u7528', + Brightness: '\u4eae\u5ea6', + 'Rotate clockwise': '\u987a\u65f6\u9488\u65cb\u8f6c', + 'Rotate counterclockwise': '\u9006\u65f6\u9488\u65cb\u8f6c', + 'Edit image': '\u7f16\u8f91\u56fe\u7247', + 'Color levels': '\u989c\u8272\u5c42\u6b21', + Crop: '\u88c1\u526a', + Orientation: '\u65b9\u5411', + 'Flip vertically': '\u5782\u76f4\u7ffb\u8f6c', + Invert: '\u53cd\u8f6c', + 'Date\/time': '\u65e5\u671f\/\u65f6\u95f4', + 'Insert date\/time': '\u63d2\u5165\u65e5\u671f\/\u65f6\u95f4', + 'Remove link': '\u5220\u9664\u94fe\u63a5', + Url: '\u5730\u5740', + 'Text to display': '\u663e\u793a\u6587\u5b57', + Anchors: '\u951a\u70b9', + 'Insert link': '\u63d2\u5165\u94fe\u63a5', + Link: '\u94fe\u63a5', + 'New window': '\u5728\u65b0\u7a97\u53e3\u6253\u5f00', + None: '\u65e0', + 'The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?': '\u4f60\u6240\u586b\u5199\u7684URL\u5730\u5740\u5c5e\u4e8e\u5916\u90e8\u94fe\u63a5\uff0c\u9700\u8981\u52a0\u4e0ahttp:\/\/:\u524d\u7f00\u5417\uff1f', + 'Paste or type a link': '\u7c98\u8d34\u6216\u8f93\u5165\u94fe\u63a5', + Target: '\u6253\u5f00\u65b9\u5f0f', + 'The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?': '\u4f60\u6240\u586b\u5199\u7684URL\u5730\u5740\u4e3a\u90ae\u4ef6\u5730\u5740\uff0c\u9700\u8981\u52a0\u4e0amailto:\u524d\u7f00\u5417\uff1f', + 'Insert\/edit link': '\u63d2\u5165\/\u7f16\u8f91\u94fe\u63a5', + 'Insert\/edit video': '\u63d2\u5165\/\u7f16\u8f91\u89c6\u9891', + Media: '\u5a92\u4f53', + 'Alternative source': '\u955c\u50cf', + 'Paste your embed code below:': '\u5c06\u5185\u5d4c\u4ee3\u7801\u7c98\u8d34\u5728\u4e0b\u9762:', + 'Insert video': '\u63d2\u5165\u89c6\u9891', + Poster: '\u5c01\u9762', + 'Insert\/edit media': '\u63d2\u5165\/\u7f16\u8f91\u5a92\u4f53', + Embed: '\u5185\u5d4c', + 'Nonbreaking space': '\u4e0d\u95f4\u65ad\u7a7a\u683c', + 'Page break': '\u5206\u9875\u7b26', + 'Paste as text': '\u7c98\u8d34\u4e3a\u6587\u672c', + Preview: '\u9884\u89c8', + Print: '\u6253\u5370', + Save: '\u4fdd\u5b58', + 'Could not find the specified string.': '\u672a\u627e\u5230\u641c\u7d22\u5185\u5bb9.', + Replace: '\u66ff\u6362', + Next: '\u4e0b\u4e00\u4e2a', + 'Whole words': '\u5168\u5b57\u5339\u914d', + 'Find and replace': '\u67e5\u627e\u548c\u66ff\u6362', + 'Replace with': '\u66ff\u6362\u4e3a', + Find: '\u67e5\u627e', + 'Replace all': '\u5168\u90e8\u66ff\u6362', + 'Match case': '\u533a\u5206\u5927\u5c0f\u5199', + Prev: '\u4e0a\u4e00\u4e2a', + Spellcheck: '\u62fc\u5199\u68c0\u67e5', + Finish: '\u5b8c\u6210', + 'Ignore all': '\u5168\u90e8\u5ffd\u7565', + Ignore: '\u5ffd\u7565', + 'Add to Dictionary': '\u6dfb\u52a0\u5230\u5b57\u5178', + 'Insert row before': '\u5728\u4e0a\u65b9\u63d2\u5165', + Rows: '\u884c', + Height: '\u9ad8', + 'Paste row after': '\u7c98\u8d34\u5230\u4e0b\u65b9', + Alignment: '\u5bf9\u9f50\u65b9\u5f0f', + 'Border color': '\u8fb9\u6846\u989c\u8272', + 'Column group': '\u5217\u7ec4', + Row: '\u884c', + 'Insert column before': '\u5728\u5de6\u4fa7\u63d2\u5165', + 'Split cell': '\u62c6\u5206\u5355\u5143\u683c', + 'Cell padding': '\u5355\u5143\u683c\u5185\u8fb9\u8ddd', + 'Cell spacing': '\u5355\u5143\u683c\u5916\u95f4\u8ddd', + 'Row type': '\u884c\u7c7b\u578b', + 'Insert table': '\u63d2\u5165\u8868\u683c', + Body: '\u8868\u4f53', + Caption: '\u6807\u9898', + Footer: '\u8868\u5c3e', + 'Delete row': '\u5220\u9664\u884c', + 'Paste row before': '\u7c98\u8d34\u5230\u4e0a\u65b9', + Scope: '\u8303\u56f4', + 'Delete table': '\u5220\u9664\u8868\u683c', + 'H Align': '\u6c34\u5e73\u5bf9\u9f50', + Top: '\u9876\u90e8\u5bf9\u9f50', + 'Header cell': '\u8868\u5934\u5355\u5143\u683c', + Column: '\u5217', + 'Row group': '\u884c\u7ec4', + Cell: '\u5355\u5143\u683c', + Middle: '\u5782\u76f4\u5c45\u4e2d', + 'Cell type': '\u5355\u5143\u683c\u7c7b\u578b', + 'Copy row': '\u590d\u5236\u884c', + 'Row properties': '\u884c\u5c5e\u6027', + 'Table properties': '\u8868\u683c\u5c5e\u6027', + Bottom: '\u5e95\u90e8\u5bf9\u9f50', + 'V Align': '\u5782\u76f4\u5bf9\u9f50', + Header: '\u8868\u5934', + Right: '\u53f3\u5bf9\u9f50', + 'Insert column after': '\u5728\u53f3\u4fa7\u63d2\u5165', + Cols: '\u5217', + 'Insert row after': '\u5728\u4e0b\u65b9\u63d2\u5165', + Width: '\u5bbd', + 'Cell properties': '\u5355\u5143\u683c\u5c5e\u6027', + Left: '\u5de6\u5bf9\u9f50', + 'Cut row': '\u526a\u5207\u884c', + 'Delete column': '\u5220\u9664\u5217', + Center: '\u5c45\u4e2d', + 'Merge cells': '\u5408\u5e76\u5355\u5143\u683c', + 'Insert template': '\u63d2\u5165\u6a21\u677f', + Templates: '\u6a21\u677f', + 'Background color': '\u80cc\u666f\u8272', + 'Custom...': '\u81ea\u5b9a\u4e49...', + 'Custom color': '\u81ea\u5b9a\u4e49\u989c\u8272', + 'No color': '\u65e0', + 'Text color': '\u6587\u5b57\u989c\u8272', + 'Table of Contents': '\u5185\u5bb9\u5217\u8868', + 'Show blocks': '\u663e\u793a\u533a\u5757\u8fb9\u6846', + 'Show invisible characters': '\u663e\u793a\u4e0d\u53ef\u89c1\u5b57\u7b26', + 'Words: {0}': '\u5b57\u6570\uff1a{0}', + Insert: '\u63d2\u5165', + File: '\u6587\u4ef6', + Edit: '\u7f16\u8f91', + 'Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help': '\u5728\u7f16\u8f91\u533a\u6309ALT-F9\u6253\u5f00\u83dc\u5355\uff0c\u6309ALT-F10\u6253\u5f00\u5de5\u5177\u680f\uff0c\u6309ALT-0\u67e5\u770b\u5e2e\u52a9', + Tools: '\u5de5\u5177', + View: '\u89c6\u56fe', + Table: '\u8868\u683c', + Format: '\u683c\u5f0f', +}); diff --git a/public/js/tinymce4.7.5/plugins/codesample/css/prism.css b/public/js/tinymce4.7.5/plugins/codesample/css/prism.css new file mode 100755 index 0000000..128237f --- /dev/null +++ b/public/js/tinymce4.7.5/plugins/codesample/css/prism.css @@ -0,0 +1,138 @@ +/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ + +code[class*="language-"], +pre[class*="language-"] { + color: black; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + direction: ltr; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, pre[class*="language-"] ::selection, +code[class*="language-"]::selection, code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; +} + +:not(pre) > code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} + +/* Inline code */ +:not(pre) > code[class*="language-"] { + padding: .1em; + border-radius: .3em; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #a67f59; + background: hsla(0, 0%, 100%, .5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function { + color: #DD4A68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} + diff --git a/public/js/tinymce4.7.5/plugins/visualblocks/css/visualblocks.css b/public/js/tinymce4.7.5/plugins/visualblocks/css/visualblocks.css new file mode 100755 index 0000000..96e4d7c --- /dev/null +++ b/public/js/tinymce4.7.5/plugins/visualblocks/css/visualblocks.css @@ -0,0 +1,154 @@ +.mce-visualblocks p { + padding-top: 10px; + border: 1px dashed #BBB; + margin-left: 3px; + background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); + background-repeat: no-repeat; +} + +.mce-visualblocks h1 { + padding-top: 10px; + border: 1px dashed #BBB; + margin-left: 3px; + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); + background-repeat: no-repeat; +} + +.mce-visualblocks h2 { + padding-top: 10px; + border: 1px dashed #BBB; + margin-left: 3px; + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); + background-repeat: no-repeat; +} + +.mce-visualblocks h3 { + padding-top: 10px; + border: 1px dashed #BBB; + margin-left: 3px; + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); + background-repeat: no-repeat; +} + +.mce-visualblocks h4 { + padding-top: 10px; + border: 1px dashed #BBB; + margin-left: 3px; + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); + background-repeat: no-repeat; +} + +.mce-visualblocks h5 { + padding-top: 10px; + border: 1px dashed #BBB; + margin-left: 3px; + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); + background-repeat: no-repeat; +} + +.mce-visualblocks h6 { + padding-top: 10px; + border: 1px dashed #BBB; + margin-left: 3px; + background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); + background-repeat: no-repeat; +} + +.mce-visualblocks div:not([data-mce-bogus]) { + padding-top: 10px; + border: 1px dashed #BBB; + margin-left: 3px; + background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); + background-repeat: no-repeat; +} + +.mce-visualblocks section { + padding-top: 10px; + border: 1px dashed #BBB; + margin: 0 0 1em 3px; + background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); + background-repeat: no-repeat; +} + +.mce-visualblocks article { + padding-top: 10px; + border: 1px dashed #BBB; + margin: 0 0 1em 3px; + background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); + background-repeat: no-repeat; +} + +.mce-visualblocks blockquote { + padding-top: 10px; + border: 1px dashed #BBB; + background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); + background-repeat: no-repeat; +} + +.mce-visualblocks address { + padding-top: 10px; + border: 1px dashed #BBB; + margin: 0 0 1em 3px; + background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); + background-repeat: no-repeat; +} + +.mce-visualblocks pre { + padding-top: 10px; + border: 1px dashed #BBB; + margin-left: 3px; + background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); + background-repeat: no-repeat; +} + +.mce-visualblocks figure { + padding-top: 10px; + border: 1px dashed #BBB; + margin: 0 0 1em 3px; + background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); + background-repeat: no-repeat; +} + +.mce-visualblocks hgroup { + padding-top: 10px; + border: 1px dashed #BBB; + margin: 0 0 1em 3px; + background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); + background-repeat: no-repeat; +} + +.mce-visualblocks aside { + padding-top: 10px; + border: 1px dashed #BBB; + margin: 0 0 1em 3px; + background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); + background-repeat: no-repeat; +} + +.mce-visualblocks figcaption { + border: 1px dashed #BBB; +} + +.mce-visualblocks ul { + padding-top: 10px; + border: 1px dashed #BBB; + margin: 0 0 1em 3px; + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); + background-repeat: no-repeat; +} + +.mce-visualblocks ol { + padding-top: 10px; + border: 1px dashed #BBB; + margin: 0 0 1em 3px; + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); + background-repeat: no-repeat; +} + +.mce-visualblocks dl { + padding-top: 10px; + border: 1px dashed #BBB; + margin: 0 0 1em 3px; + background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); + background-repeat: no-repeat; +} diff --git a/public/js/tinymce4.7.5/skins/lightgray/content.inline.min.css b/public/js/tinymce4.7.5/skins/lightgray/content.inline.min.css new file mode 100755 index 0000000..7b45d33 --- /dev/null +++ b/public/js/tinymce4.7.5/skins/lightgray/content.inline.min.css @@ -0,0 +1 @@ +.word-wrap{word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.mce-content-body .mce-reset{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:black;font-family:Arial;font-size:11px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;line-height:normal;font-weight:normal;text-align:left;-webkit-tap-highlight-color:transparent;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;direction:ltr;max-width:none}.mce-object{border:1px dotted #3A3A3A;background:#D5D5D5 url(img/object.gif) no-repeat center}.mce-preview-object{display:inline-block;position:relative;margin:0 2px 0 2px;line-height:0;border:1px solid gray}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-preview-object .mce-shim{position:absolute;top:0;left:0;width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}figure.align-left{float:left}figure.align-right{float:right}figure.image.align-center{display:table;margin-left:auto;margin-right:auto}figure.image{display:inline-block;border:1px solid gray;margin:0 2px 0 1px;background:#f5f2f0}figure.image img{margin:8px 8px 0 8px}figure.image figcaption{margin:6px 8px 6px 8px;text-align:center}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px !important;height:9px !important;border:1px dotted #3A3A3A;background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-nbsp,.mce-shy{background:#AAA}.mce-shy::after{content:'-'}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#3399ff;color:#fff}.mce-spellchecker-word{border-bottom:2px solid rgba(208,2,27,0.5);cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid #008000;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td[data-mce-selected],th[data-mce-selected]{background-color:#2276d2 !important}.mce-edit-focus{outline:1px dotted #333}.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false][data-mce-selected]{outline:2px solid #2276d2}.mce-content-body *[data-mce-selected="inline-boundary"]{background:#bfe6ff}.mce-content-body .mce-item-anchor[data-mce-selected]{background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-content-body hr{cursor:default}.ephox-snooker-resizer-bar{background-color:#2276d2;opacity:0}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:.2}.mce-content-body{line-height:1.3} \ No newline at end of file diff --git a/public/js/tinymce4.7.5/skins/lightgray/content.min.css b/public/js/tinymce4.7.5/skins/lightgray/content.min.css new file mode 100755 index 0000000..bad168c --- /dev/null +++ b/public/js/tinymce4.7.5/skins/lightgray/content.min.css @@ -0,0 +1 @@ +body{background-color:#FFFFFF;color:#000000;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:1.3;scrollbar-3dlight-color:#F0F0EE;scrollbar-arrow-color:#676662;scrollbar-base-color:#F0F0EE;scrollbar-darkshadow-color:#DDDDDD;scrollbar-face-color:#E0E0DD;scrollbar-highlight-color:#F0F0EE;scrollbar-shadow-color:#F0F0EE;scrollbar-track-color:#F5F5F5}td,th{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px}.word-wrap{word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.mce-content-body .mce-reset{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:black;font-family:Arial;font-size:11px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;line-height:normal;font-weight:normal;text-align:left;-webkit-tap-highlight-color:transparent;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;direction:ltr;max-width:none}.mce-object{border:1px dotted #3A3A3A;background:#D5D5D5 url(img/object.gif) no-repeat center}.mce-preview-object{display:inline-block;position:relative;margin:0 2px 0 2px;line-height:0;border:1px solid gray}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-preview-object .mce-shim{position:absolute;top:0;left:0;width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}figure.align-left{float:left}figure.align-right{float:right}figure.image.align-center{display:table;margin-left:auto;margin-right:auto}figure.image{display:inline-block;border:1px solid gray;margin:0 2px 0 1px;background:#f5f2f0}figure.image img{margin:8px 8px 0 8px}figure.image figcaption{margin:6px 8px 6px 8px;text-align:center}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px !important;height:9px !important;border:1px dotted #3A3A3A;background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-nbsp,.mce-shy{background:#AAA}.mce-shy::after{content:'-'}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#3399ff;color:#fff}.mce-spellchecker-word{border-bottom:2px solid rgba(208,2,27,0.5);cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid #008000;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td[data-mce-selected],th[data-mce-selected]{background-color:#2276d2 !important}.mce-edit-focus{outline:1px dotted #333}.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false][data-mce-selected]{outline:2px solid #2276d2}.mce-content-body *[data-mce-selected="inline-boundary"]{background:#bfe6ff}.mce-content-body .mce-item-anchor[data-mce-selected]{background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-content-body hr{cursor:default}.ephox-snooker-resizer-bar{background-color:#2276d2;opacity:0}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:.2} a {color: #1478F0;} diff --git a/public/js/tinymce4.7.5/skins/lightgray/fonts/tinymce-mobile.woff b/public/js/tinymce4.7.5/skins/lightgray/fonts/tinymce-mobile.woff new file mode 100755 index 0000000000000000000000000000000000000000..1e3be038a607cb7c2544ed8ae3d6621f77bf4c38 GIT binary patch literal 4624 zcmb7IeQaFC5#QN&AGUL{efE7g{=B