├── .bowerrc ├── .editorconfig ├── .gitattributes ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE.md └── workflows │ ├── lint.yml │ └── website.yml ├── .gitignore ├── .jshintrc ├── .npmignore ├── BACKERS.md ├── CONTRIBUTORS.md ├── LICENSE ├── README.md ├── banner.jpg ├── bower.json ├── docs ├── .gitignore ├── .jshintrc ├── css │ └── main.css ├── demos │ ├── core │ │ ├── dark-theme.html │ │ ├── default.html │ │ └── simple.html │ ├── index.html │ ├── js │ │ ├── highlight.js │ │ ├── loader.js │ │ └── runExampleCode.js │ └── plugins │ │ ├── allowtagsfrompaste.html │ │ ├── base64.html │ │ ├── cleanpaste.html │ │ ├── colors.html │ │ ├── emoji.html │ │ ├── fontfamily.html │ │ ├── fontsize.html │ │ ├── giphy.html │ │ ├── highlight.html │ │ ├── history.html │ │ ├── indent.html │ │ ├── insertaudio.html │ │ ├── lineheight.html │ │ ├── mathml.html │ │ ├── mention.html │ │ ├── noembed.html │ │ ├── pasteembed.html │ │ ├── pasteimage.html │ │ ├── preformatted.html │ │ ├── resizimg.html │ │ ├── ruby.html │ │ ├── specialchars.html │ │ ├── speechrecognition.html │ │ ├── table.html │ │ ├── template.html │ │ ├── tenor.html │ │ └── upload.html ├── documentation │ ├── core │ │ └── index.html │ ├── index.html │ └── plugins │ │ └── index.html ├── favicon.png ├── fonts │ ├── jetbrains-mono-regular.woff2 │ ├── open-sans-light.woff2 │ ├── open-sans-regular.woff2 │ ├── open-sans-semibold.woff2 │ ├── panton.eot │ ├── panton.ttf │ ├── panton.woff │ └── panton.woff2 ├── gulpfile.mjs ├── humans.txt ├── img │ ├── beer.svg │ ├── globe.svg │ ├── introduction-customizable.svg │ ├── introduction-html.svg │ ├── introduction-lightweight.svg │ ├── logo-doc.svg │ └── logo.svg ├── index.html ├── js │ ├── main.js │ └── vendor │ │ ├── highlight.js │ │ └── jquery-3.3.1.min.js ├── package.json ├── robots.txt └── scss │ ├── _base.scss │ ├── _buttons.scss │ ├── _documentation.scss │ ├── _donate.scss │ ├── _font.scss │ ├── _footer.scss │ ├── _get-started.scss │ ├── _header.scss │ ├── _highlightjs-github.scss │ ├── _introduction.scss │ ├── _languages.scss │ ├── _normalize.scss │ ├── _plugins-packages.scss │ ├── _section.scss │ ├── _variables.scss │ └── main.scss ├── gulpfile.mjs ├── index.html ├── package-lock.json ├── package.json ├── plugins ├── allowtagsfrompaste │ └── trumbowyg.allowtagsfrompaste.js ├── base64 │ ├── trumbowyg.base64.js │ └── ui │ │ └── icons │ │ └── base64.svg ├── cleanpaste │ └── trumbowyg.cleanpaste.js ├── colors │ ├── trumbowyg.colors.js │ └── ui │ │ ├── icons │ │ ├── back-color.svg │ │ └── fore-color.svg │ │ └── sass │ │ └── trumbowyg.colors.scss ├── emoji │ ├── trumbowyg.emoji.js │ └── ui │ │ ├── icons │ │ └── emoji.svg │ │ └── sass │ │ └── trumbowyg.emoji.scss ├── fontfamily │ └── trumbowyg.fontfamily.js ├── fontsize │ ├── trumbowyg.fontsize.js │ └── ui │ │ └── icons │ │ └── fontsize.svg ├── giphy │ ├── trumbowyg.giphy.js │ └── ui │ │ ├── icons │ │ └── giphy.svg │ │ └── sass │ │ └── trumbowyg.giphy.scss ├── highlight │ ├── trumbowyg.highlight.js │ └── ui │ │ ├── icons │ │ └── highlight.svg │ │ └── sass │ │ └── trumbowyg.highlight.scss ├── history │ └── trumbowyg.history.js ├── indent │ ├── trumbowyg.indent.js │ └── ui │ │ └── icons │ │ ├── indent.svg │ │ └── outdent.svg ├── insertaudio │ ├── trumbowyg.insertaudio.js │ └── ui │ │ └── icons │ │ └── insert-audio.svg ├── lineheight │ ├── trumbowyg.lineheight.js │ └── ui │ │ └── icons │ │ └── lineheight.svg ├── mathml │ ├── trumbowyg.mathml.js │ └── ui │ │ ├── icons │ │ └── mathml.svg │ │ └── sass │ │ └── trumbowyg.mathml.scss ├── mention │ ├── trumbowyg.mention.js │ └── ui │ │ ├── icons │ │ └── mention.svg │ │ └── sass │ │ └── trumbowyg.mention.scss ├── noembed │ ├── trumbowyg.noembed.js │ └── ui │ │ └── icons │ │ └── noembed.svg ├── pasteembed │ └── trumbowyg.pasteembed.js ├── pasteimage │ └── trumbowyg.pasteimage.js ├── preformatted │ ├── trumbowyg.preformatted.js │ └── ui │ │ └── icons │ │ └── preformatted.svg ├── resizimg │ └── trumbowyg.resizimg.js ├── ruby │ ├── trumbowyg.ruby.js │ └── ui │ │ └── icons │ │ └── ruby.svg ├── specialchars │ ├── trumbowyg.specialchars.js │ └── ui │ │ ├── icons │ │ └── special-chars.svg │ │ └── sass │ │ └── trumbowyg.specialchars.scss ├── speechrecognition │ ├── trumbowyg.speechrecognition.js │ └── ui │ │ └── icons │ │ └── speechrecognition.svg ├── table │ ├── trumbowyg.table.js │ └── ui │ │ ├── icons │ │ ├── align-bottom.svg │ │ ├── align-middle.svg │ │ ├── align-top.svg │ │ ├── col-delete.svg │ │ ├── col-left.svg │ │ ├── col-right.svg │ │ ├── header-row.svg │ │ ├── row-above.svg │ │ ├── row-below.svg │ │ ├── row-delete.svg │ │ ├── table-border-color.svg │ │ ├── table-cell-background-color.svg │ │ ├── table-delete.svg │ │ ├── table-merge.svg │ │ ├── table-unmerge.svg │ │ └── table.svg │ │ └── sass │ │ └── trumbowyg.table.scss ├── template │ └── trumbowyg.template.js ├── tenor │ ├── trumbowyg.tenor.js │ └── ui │ │ ├── icons │ │ └── tenor.svg │ │ └── sass │ │ └── trumbowyg.tenor.scss └── upload │ ├── trumbowyg.upload.js │ └── ui │ └── icons │ └── upload.svg ├── sponsors ├── avot.svg └── socialoptic.png └── src ├── langs ├── ar.js ├── az.js ├── bg.js ├── bn.js ├── by.js ├── ca.js ├── cs.js ├── da.js ├── de.js ├── el.js ├── en.js ├── es.js ├── es_ar.js ├── et.js ├── fa.js ├── fi.js ├── fr.js ├── he.js ├── hr.js ├── hu.js ├── id.js ├── it.js ├── ja.js ├── ko.js ├── lt.js ├── mn.js ├── my.js ├── nb.js ├── nl.js ├── ph.js ├── pl.js ├── pt.js ├── pt_br.js ├── ro.js ├── rs.js ├── rs_latin.js ├── ru.js ├── sk.js ├── sl.js ├── sq.js ├── sv.js ├── th.js ├── tr.js ├── ua.js ├── vi.js ├── zh_cn.js └── zh_tw.js ├── trumbowyg.js └── ui ├── icons ├── blockquote.svg ├── bold.svg ├── close.svg ├── create-link.svg ├── del.svg ├── em.svg ├── fullscreen.svg ├── h1.svg ├── h2.svg ├── h3.svg ├── h4.svg ├── h5.svg ├── h6.svg ├── horizontal-rule.svg ├── insert-image.svg ├── italic.svg ├── justify-center.svg ├── justify-full.svg ├── justify-left.svg ├── justify-right.svg ├── link.svg ├── ordered-list.svg ├── p.svg ├── redo.svg ├── removeformat.svg ├── strikethrough.svg ├── strong.svg ├── subscript.svg ├── superscript.svg ├── underline.svg ├── undo.svg ├── unlink.svg ├── unordered-list.svg └── view-html.svg └── sass └── trumbowyg.scss /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "bower_components/" 3 | } 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig: https://EditorConfig.org 2 | # Notepad++ Plugin: https://github.com/editorconfig/editorconfig-notepad-plus-plus 3 | # Visual Studio Code Plugin: https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig 4 | 5 | root = true 6 | 7 | [*] 8 | charset = utf-8 9 | indent_style = space 10 | indent_size = 4 11 | end_of_line = lf 12 | insert_final_newline = true 13 | trim_trailing_whitespace = true 14 | 15 | [{*.json,*.yml,*.yaml,*.md}] 16 | indent_size = 2 17 | 18 | # Ignore paths 19 | [{docs/css/**,docs/scss/_normalize.scss,**/vendor/**,dist/**}] 20 | charset = unset 21 | end_of_line = unset 22 | insert_final_newline = unset 23 | trim_trailing_whitespace = unset 24 | indent_style = unset 25 | indent_size = unset 26 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # SCSS and JS files must always use LF for tools to work 5 | *.js eol=lf 6 | *.scss eol=lf 7 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: Alex-D 2 | patreon: AlexandreDemode 3 | custom: https://paypal.me/demodealexandre 4 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ### Description 5 | 12 | 13 | 14 | ### How to reproduce? 15 | 21 | -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- 1 | name: Lint 2 | 3 | on: 4 | push: 5 | 6 | jobs: 7 | lint: 8 | runs-on: ubuntu-latest 9 | steps: 10 | - uses: actions/checkout@v4 11 | 12 | - uses: actions/setup-node@v4 13 | with: 14 | node-version: 22 15 | 16 | - run: npm ci 17 | 18 | - run: npm run lint 19 | 20 | editorconfig: 21 | runs-on: ubuntu-latest 22 | steps: 23 | - uses: actions/checkout@v4 24 | 25 | - uses: editorconfig-checker/action-editorconfig-checker@main 26 | 27 | - run: editorconfig-checker 28 | -------------------------------------------------------------------------------- /.github/workflows/website.yml: -------------------------------------------------------------------------------- 1 | name: Deploy Website 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v4 13 | 14 | - uses: actions/setup-node@v4 15 | with: 16 | node-version: 22 17 | 18 | - run: npm ci 19 | 20 | - run: npm run build 21 | working-directory: docs/ 22 | 23 | - uses: actions/upload-pages-artifact@v3 24 | with: 25 | path: docs/ 26 | 27 | deploy: 28 | needs: build 29 | 30 | # Grant GITHUB_TOKEN the permissions required to make a Pages deployment 31 | permissions: 32 | pages: write # to deploy to Pages 33 | id-token: write # to verify the deployment originates from an appropriate source 34 | 35 | # Deploy to the github-pages environment 36 | environment: 37 | name: github-pages 38 | url: ${{ steps.deployment.outputs.page_url }} 39 | 40 | runs-on: ubuntu-latest 41 | steps: 42 | - name: Deploy to GitHub Pages 43 | id: deployment 44 | uses: actions/deploy-pages@v4 45 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Others 2 | ~$* 3 | /.sass-cache 4 | /uploaded-files 5 | /node_modules 6 | /bower_components 7 | /dist 8 | /src/ui/sass/_sprite* 9 | /plugins/**/ui/sass/_sprite* 10 | 11 | # We use npm: ignore yarn 12 | yarn.lock 13 | 14 | # Windows image file caches 15 | Thumbs.db 16 | 17 | # Folder config file 18 | Desktop.ini 19 | 20 | # Mac crap 21 | .DS_Store 22 | 23 | # IDEA 24 | .idea 25 | /nbproject 26 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "bitwise": true, 3 | "camelcase": true, 4 | "esnext": true, 5 | "curly": true, 6 | "eqeqeq": true, 7 | "forin": true, 8 | "indent": 4, 9 | "latedef": false, 10 | "newcap": false, 11 | "noarg": true, 12 | "noempty": true, 13 | "plusplus": true, 14 | "quotmark": "single", 15 | "undef": true, 16 | "unused": true, 17 | "strict": true, 18 | "trailing": true, 19 | "maxparams": 5, 20 | "maxdepth": 5, 21 | "maxstatements": 40, 22 | "maxcomplexity": 20, 23 | "maxlen": 1200, 24 | "eqnull": true, 25 | "browser": true, 26 | "globals": { 27 | "jQuery": false 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | Gulpfile.js 2 | banner.jpg 3 | bower.json 4 | src 5 | docs 6 | bower_components 7 | .gitattributes 8 | .gitignore 9 | .jshintrc 10 | .github 11 | .idea 12 | .bowerrc 13 | sponsors 14 | BACKERS.md 15 | CONTRIBUTORS.md 16 | -------------------------------------------------------------------------------- /BACKERS.md: -------------------------------------------------------------------------------- 1 |

Sponsors & Backers

2 | 3 | Trumbowyg is an MIT-licensed open source project and completely free to use. 4 | 5 | However, the amount of effort needed to maintain and develop new features for 6 | the project is not sustainable without proper financial backing. 7 | You can support it's ongoing development by being a backer or a sponsor: 8 | 9 | - [Become a backer or sponsor on Patreon](https://www.patreon.com/alexandredemode) 10 | - [One-time donation via PayPal](https://www.paypal.me/demodealexandre/20eur) 11 | 12 |

Gold sponsors

13 | 14 |

15 | 16 | avot® 17 | 18 |

19 | 20 |

21 | 22 | Become a Sponsor 23 | 24 |

25 | 26 |

Silver sponsors

27 | 28 |

29 | 30 | SocialOptic 31 | 32 |

33 | 34 |

35 | 36 | Become a Sponsor 37 | 38 |

39 | 40 |

Backers

41 | 42 | - Johan Rosenson 43 | - Integrious Ltd 44 | 45 |

46 | 47 | Become a Backer 48 | 49 |

50 | -------------------------------------------------------------------------------- /CONTRIBUTORS.md: -------------------------------------------------------------------------------- 1 | # Contributors 2 | 3 | Trumbowyg is the result of many people who made translations or the code better. 4 | 5 | Special thanks to [Adrien Gervaix](https://dribbble.com/adriengervaix) for the Trumbowyg v2 icon set. 6 | 7 | - Alex-D 8 | - Steve Rackham 9 | - Lawrence 10 | - Ra100 11 | - lizardK 12 | - Ulrich Mayring 13 | - Kirill Urgant 14 | - VeeeneX 15 | - Nicolas Pion 16 | - Sven Dunemann 17 | - Zane Chua 18 | - freekpost 19 | - Blufish Technologies 20 | - Civil 21 | - Danny Hiemstra 22 | - Edwin Veldhuizen 23 | - Florian 24 | - Michael Holroyd 25 | - Nicklas 26 | - Nicolás Moncada 27 | - Don Desroches 28 | - Jan Svoboda 29 | - Martin 30 | - Max Seelig 31 | - Stufingo 32 | - Alexander van Eerd 33 | - AragurDEV 34 | - Davor Budimir 35 | - Eduardo Russo 36 | - Fathi Anshory 37 | - Fyers 38 | - Hirokazu Kutsu 39 | - Justas Brazauskas 40 | - Jérôme Steunou 41 | - Manfred62 42 | - Merianos Nikos 43 | - Nikola Trifunovic 44 | - Paul Pritchard 45 | - Richard Kiewiet 46 | - Stef Kariotidis 47 | - Vijay Jagadeesan 48 | - Vlad Radulescu 49 | - Vladimir 50 | - foo9 51 | - g2010a 52 | - hiendv 53 | - jake johns 54 | - matopeter 55 | - ronan 56 | - sinjuice 57 | - Adam Balogh 58 | - AdamHess 59 | - Aleksandar Dimitrov 60 | - Aleksandr-ru 61 | - Alessio Dionisi 62 | - Alex Gotardi 63 | - Andreas Kohn 64 | - Andrei 65 | - Andrey Kogut 66 | - Antoine Leblanc 67 | - Anton Morozov 68 | - Artur 69 | - Benjamin Bourot 70 | - Bennett 71 | - Boylett 72 | - Burak Erdem 73 | - Burak Ozdemir 74 | - Carlos Barros 75 | - Chitoku 76 | - Christian 77 | - Christopher Kirk-Nielsen 78 | - maxom 79 | - Dariush Abbasi 80 | - Delvallée 81 | - Denis Jacquemin 82 | - Elisha Witte 83 | - Eric Radin 84 | - Ersin Guvenc 85 | - François Houlbrèque 86 | - Freek Post 87 | - Gabriel S. L 88 | - Grafikart 89 | - Henio Tierra 90 | - Hunor Karamán 91 | - Ian Mustafa 92 | - John Pozy 93 | - Jonathan Hedrén 94 | - Jonathan del Strother 95 | - JoongSeob Vito Kim 96 | - Jorrit Schippers 97 | - Karalkou 98 | - Ken Cheung 99 | - Kim Trolle Wadum 100 | - Lars Boldt 101 | - Leo Gono 102 | - Leopard Ho 103 | - MIRK0 104 | - Marcin Wieprzkowicz 105 | - Markus Spallek 106 | - Matt Johnson 107 | - Mattias Hagberg 108 | - Mike Goodfellow 109 | - Mike Richmond 110 | - Mitja Šlenc 111 | - Moisés Márquez 112 | - Nathan Rosquist 113 | - Nenad Novkovic 114 | - Nikki Locke 115 | - OBernard2 116 | - Oguzhan Inan 117 | - Oleg Berman 118 | - Paweł Abramowicz 119 | - Peter Dave Hello 120 | - Petr Čech 121 | - Philipp Palmtag 122 | - Ramiro Varandas Jr 123 | - Rezha Julio 124 | - Ricardo Cardeña 125 | - Roberto 126 | - Rodrigo Boratto 127 | - Sergey Golomedov 128 | - Stéphane Lavergne 129 | - TheGeekTortoise 130 | - Tiago Alves 131 | - TikiTDO 132 | - Tim 133 | - Timo Jarventausta 134 | - Todd Graham 135 | - Val 136 | - Vietworm 137 | - Vinzgore 138 | - Wisse Jelgersma 139 | - Zane J. Chua 140 | - abomokhahmed 141 | - adalenv 142 | - akai 143 | - basteyy 144 | - brainfogz 145 | - brentanalexander 146 | - chadidi 147 | - cleoo 148 | - de Oliveira Prado 149 | - dev.hibiki 150 | - dominiczaq 151 | - figroc 152 | - gonatee 153 | - joey91133 154 | - jsejakobsen 155 | - kingdido999 156 | - loclamor 157 | - luetge 158 | - munzur 159 | - naoh 160 | - root 161 | - slackwalker 162 | - teppokoivula 163 | - udidoron 164 | - Игорь 165 | - Михаил Гущин 166 | - Олег Ильин 167 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2012-2016 Alexandre Demode (Alex-D) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex-D/Trumbowyg/c4ccb3fc1aeef88216b8611ba562d857bf459cc3/banner.jpg -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "trumbowyg", 3 | "version": "2.28.0", 4 | "homepage": "https://github.com/Alex-D/Trumbowyg", 5 | "authors": [ 6 | { 7 | "name": "Alexandre Demode (Alex-D)", 8 | "email": "contact@alex-d.fr", 9 | "homepage": "https://alex-d.fr" 10 | } 11 | ], 12 | "description": "A lightweight WYSIWYG editor", 13 | "main": "dist/trumbowyg.js", 14 | "keywords": [ 15 | "wysiwyg", 16 | "editor", 17 | "rich text", 18 | "contenteditable", 19 | "trumbowyg" 20 | ], 21 | "license": "MIT", 22 | "ignore": [ 23 | "**/.*", 24 | "bower_components", 25 | "node_modules", 26 | "plugins", 27 | "!dist/plugins", 28 | "test", 29 | "tests", 30 | "src", 31 | "docs", 32 | "sponsors", 33 | "banner.jpg", 34 | "gulpfile.js", 35 | "package.json" 36 | ], 37 | "dependencies": { 38 | "jquery": ">=1.8" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | /bower_components 3 | /dist 4 | /src 5 | /plugins 6 | uploaded-files/ 7 | -------------------------------------------------------------------------------- /docs/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "bitwise": true, 3 | "camelcase": true, 4 | "esnext": true, 5 | "curly": true, 6 | "eqeqeq": true, 7 | "forin": true, 8 | "indent": 4, 9 | "latedef": false, 10 | "newcap": false, 11 | "noarg": true, 12 | "noempty": true, 13 | "plusplus": true, 14 | "quotmark": "single", 15 | "undef": true, 16 | "unused": true, 17 | "strict": true, 18 | "trailing": true, 19 | "maxparams": 5, 20 | "maxdepth": 5, 21 | "maxstatements": 40, 22 | "maxcomplexity": 20, 23 | "maxlen": 1200, 24 | "eqnull": true, 25 | "browser": true, 26 | "node": true, 27 | "globals": { 28 | "jQuery": false, 29 | "hljs": false 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /docs/demos/core/default.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Trumbowyg by Alex-D 6 | 7 | 8 | 9 | 10 |
11 |
12 |

Default

13 | 14 |
15 |

Basic usage

16 |

17 | No plugin, no options. Just naked Trumbowyg. 18 |

19 | 20 |
21 |

This editor is the default build of Trumbowyg.

22 |

23 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, aliquam, minima fugiat placeat provident 24 | optio nam reiciendis eius beatae quibusdam! 25 |

26 |

27 | The text is derived from Cicero's De Finibus Bonorum et Malorum (On the Ends of Goods and Evils, or 28 | alternatively [About] The Purposes of Good and Evil). The original passage began: Neque porro quisquam est 29 | qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit (Translation: "Neither is there 30 | anyone who loves grief itself since it is grief and thus wants to obtain it"). 31 |

32 |
33 | 34 |

The code

35 |

36 | $('#editor').trumbowyg();
37 |             
38 |
39 | 40 |
41 |

Setup

42 | 43 |

In head tag

44 |

45 |             
46 |

At the end of body

47 |

48 | <!-- Import jQuery -->
49 | <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
50 | <script>window.jQuery || document.write('<script src="js/vendor/jquery-3.3.1.min.js"><\/script>')</script>
51 |             
52 |
53 |
54 |
55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 67 | 68 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /docs/demos/core/simple.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Trumbowyg by Alex-D 6 | 7 | 8 | 9 | 10 |
11 |
12 |

Simple

13 | 14 |
15 |

Basic usage

16 |

17 | Only strong (bold), emphasis (italic), some align, image and link. 18 |

19 | 20 |
21 |

22 | Colllect — See more at https://colllect.io 23 |

24 |

25 | Colllect 26 |

27 |
28 | 29 |

The code

30 |

31 | $('#editor').trumbowyg({
32 |     btns: [
33 |         ['strong', 'em'],
34 |         ['justifyLeft', 'justifyCenter'],
35 |         ['insertImage', 'link']
36 |     ]
37 | });
38 |             
39 |
40 | 41 |
42 |

Setup

43 | 44 |

In head tag

45 |

46 |             
47 |

At the end of body

48 |

49 | <!-- Import jQuery -->
50 | <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
51 | <script>window.jQuery || document.write('<script src="js/vendor/jquery-3.3.1.min.js"><\/script>')</script>
52 |             
53 |
54 |
55 |
56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /docs/demos/js/loader.js: -------------------------------------------------------------------------------- 1 | var isOnline = window.location.hostname.indexOf('github.io') !== -1; 2 | var baseURL = isOnline ? '//rawcdn.githack.com/Alex-D/Trumbowyg/v2.31.0/' : '../../../'; 3 | var styleLoadingContainer = document.querySelector('.loading-head'); 4 | var scriptLoadingContainer = document.querySelector('.loading-body'); 5 | 6 | function loadTag(tagToInsert, container, comment, tagForDocumentation) { 7 | 'use strict'; 8 | 9 | document.write(tagToInsert); 10 | 11 | var html = ''; 12 | if (container.innerHTML.trim().length > 0) { 13 | html = '\n' + container.innerHTML.trim() + '\n'; 14 | } 15 | 16 | if (comment !== undefined) { 17 | html += '\n<!-- ' + comment + ' -->'; 18 | } 19 | html += tagForDocumentation.replace(/', 29 | styleLoadingContainer, 30 | comment, 31 | '\n\n\n' 32 | ); 33 | } 34 | 35 | function loadScript(scriptPath, comment) { 36 | 'use strict'; 37 | 38 | if (!isOnline) { 39 | scriptPath = scriptPath.replace('.min', ''); 40 | } 41 | 42 | loadTag( 43 | '', 44 | scriptLoadingContainer, 45 | comment, 46 | '\n\n\n' 47 | ); 48 | } 49 | 50 | (function($) { 51 | 'use strict'; 52 | 53 | $('a').click(function() { 54 | window.top.location = $(this).attr('href'); 55 | return false; 56 | }); 57 | })(jQuery); 58 | -------------------------------------------------------------------------------- /docs/demos/js/runExampleCode.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | 'use strict'; 3 | 4 | $('.js-code-to-eval').each(function () { 5 | eval($(this).text()); // jshint ignore:line 6 | $(this).text( 7 | $(this).text() 8 | .replace(/'Client-ID\s[a-z0-9]+'/, '\'Client-ID xxxxxxxxxxxx\'') 9 | .replace(/apiKey:\s+'.*'/, 'apiKey: \'xxxxxxxxxxxx\'') 10 | ); 11 | }); 12 | })(jQuery); 13 | -------------------------------------------------------------------------------- /docs/demos/plugins/cleanpaste.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Clean paste plugin | Trumbowyg 6 | 7 | 8 | 9 | 10 |
11 |
12 |

Clean paste plugin

13 | 14 |
15 |

Basic usage

16 |

17 | Clean paste plugin handle paste events, clean the HTML code before insert content into the editor. 18 |

19 | 20 | Read clean paste plugin documentation 21 | 22 |
23 |

Try to paste something from Microsoft Word or something!

24 |

25 | Then, check the markup. Should be cleaner than original. 26 |

27 |
28 | 29 |

The code

30 |

31 | $('#editor').trumbowyg();
32 |             
33 |
34 | 35 |
36 |

Setup

37 | 38 |

In head tag

39 |

40 |             
41 |

At the end of body

42 |

43 | <!-- Import jQuery -->
44 | <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
45 | <script>window.jQuery || document.write('<script src="js/vendor/jquery-3.3.1.min.js"><\/script>')</script>
46 |             
47 |
48 |
49 |
50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /docs/demos/plugins/emoji.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Emoji plugin | Trumbowyg 6 | 7 | 8 | 9 | 10 |
11 |
12 |

Emoji plugin

13 | 14 |
15 |

Basic usage

16 |

17 | This plugin allow you to add an emoji picker in Trumbowyg. 18 |

19 | 20 | Read emoji plugin documentation 21 | 22 |
23 |

Select an emoji !

24 |

25 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, aliquam, minima fugiat placeat provident 26 | optio nam reiciendis eius beatae quibusdam! 27 |

28 |
29 | 30 |

The code

31 |

32 | $('#editor')
33 | .trumbowyg({
34 |     btns: ['emoji']
35 | });
36 |             
37 |
38 | 39 |
40 |

Setup

41 | 42 |

In head tag

43 |

44 |             
45 |

At the end of body

46 |

47 | <!-- Import jQuery -->
48 | <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
49 | <script>window.jQuery || document.write('<script src="js/vendor/jquery-3.3.1.min.js"><\/script>')</script>
50 |             
51 |
52 |
53 |
54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 68 | 69 | 70 | 71 | 72 | -------------------------------------------------------------------------------- /docs/demos/plugins/giphy.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Giphy plugin | Trumbowyg 6 | 7 | 8 | 9 | 10 |
11 |
12 |

Giphy plugin

13 | 14 |
15 |

Basic usage

16 |

17 | User can insert some GIFs from Giphy in Trumbowyg. 18 |

19 | 20 | Read Giphy plugin documentation 21 | 22 |
23 |

Insert some GIFs

24 |

25 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, aliquam, minima fugiat placeat provident 26 | optio nam reiciendis eius beatae quibusdam! 27 |

28 |
29 | 30 |

The code

31 |

32 | $('#editor')
33 | .trumbowyg({
34 |     btns: [
35 |         ['giphy']
36 |     ],
37 |     plugins: {
38 |         giphy: {
39 |             apiKey: 'dNhCbN6hrhpBMxXhIswM34wIR2UBpCns'
40 |         }
41 |     }
42 | });
43 |             
44 |
45 | 46 |
47 |

Setup

48 | 49 |

In head tag

50 |

51 |             
52 |

At the end of body

53 |

54 | <!-- Import jQuery -->
55 | <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
56 | <script>window.jQuery || document.write('<script src="js/vendor/jquery-3.3.1.min.js"><\/script>')</script>
57 |             
58 |
59 |
60 |
61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 75 | 76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /docs/demos/plugins/pasteembed.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Paste embed plugin | Trumbowyg 6 | 7 | 8 | 9 | 10 |
11 |
12 |

Paste embed plugin

13 | 14 |
15 |

Basic usage

16 |

17 | This plugin allow you to insert iframes into your editor just by pasting an URL.
18 | It uses noembed.com API to support X, YouTube, SoundCloud and more. Find all supported websites at noembed.com. 19 |

20 | 21 | Read paste embed plugin documentation 22 | 23 |
24 |

Try to paste some urls!

25 | 26 |

Try pasting this one: https://www.youtube.com/watch?v=dQw4w9WgXcQ

27 |
28 | 29 |

The code

30 |

31 | $('#editor').trumbowyg();
32 |             
33 |
34 | 35 |
36 |

Setup

37 | 38 |

In head tag

39 |

40 |             
41 |

At the end of body

42 |

43 | <!-- Import jQuery -->
44 | <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
45 | <script>window.jQuery || document.write('<script src="js/vendor/jquery-3.3.1.min.js"><\/script>')</script>
46 |             
47 |
48 |
49 |
50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 63 | 64 | 65 | 66 | 67 | -------------------------------------------------------------------------------- /docs/demos/plugins/pasteimage.html: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Paste image plugin | Trumbowyg 6 | 7 | 8 | 9 | 10 |
11 |
12 |

Paste image plugin

13 | 14 |
15 |

Basic usage

16 |

17 | Paste image plugin handle paste events, check if you have image files in your clipboard, then paste them 18 | into the editor as base64. It do nothing on text or HTML paste. 19 |

20 | 21 | Read paste image plugin documentation 22 | 23 |
24 |

Try to paste some image!

25 |

For example, you can right-click > Copy Image on the Trumbowyg logo, then paste it here.

26 |
27 | 28 |

The code

29 |

30 | $('#editor').trumbowyg();
31 |             
32 |
33 | 34 |
35 |

Setup

36 | 37 |

In head tag

38 |

39 |             
40 |

At the end of body

41 |

42 | <!-- Import jQuery -->
43 | <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
44 | <script>window.jQuery || document.write('<script src="js/vendor/jquery-3.3.1.min.js"><\/script>')</script>
45 |             
46 |
47 |
48 |
49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 62 | 63 | 64 | 65 | 66 | -------------------------------------------------------------------------------- /docs/demos/plugins/preformatted.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Preformatted plugin | Trumbowyg 6 | 7 | 8 | 9 | 10 |
11 |
12 |

Preformatted plugin

13 | 14 |
15 |

Basic usage

16 |

17 | Wraps/unwraps your code with <pre><code> tags. 18 |

19 | 20 | Read preformatted plugin documentation 21 | 22 |
23 |

24 | Some code to wrap 25 |

26 |

27 | $('#editor') 28 | .trumbowyg({ 29 | btns: [ 30 | 'viewHTML', 31 | 'preformatted' 32 | ] 33 | }); 34 |

35 |

36 | Then check the HTML, code is now wrapped into pre + code tags! 37 |

38 |
39 | 40 |

The code

41 |

42 | $('#editor')
43 | .trumbowyg({
44 |     btns: [
45 |         'viewHTML',
46 |         'preformatted'
47 |     ]
48 | });
49 |             
50 |
51 | 52 |
53 |

Setup

54 | 55 |

In head tag

56 |

57 |             
58 |

At the end of body

59 |

60 | <!-- Import jQuery -->
61 | <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
62 | <script>window.jQuery || document.write('<script src="js/vendor/jquery-3.3.1.min.js"><\/script>')</script>
63 |             
64 |
65 |
66 |
67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 80 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /docs/demos/plugins/ruby.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Ruby plugin | Trumbowyg 6 | 7 | 8 | 9 | 10 |
11 |
12 |

Ruby plugin

13 | 14 |
15 |

Basic usage

16 |

17 | You can insert Ruby markup. 18 |

19 | 20 | Read ruby plugin documentation 21 | 22 |
23 |

Insert your ruby markup!

24 |

25 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, aliquam, minima fugiat placeat provident 26 | optio nam reiciendis eius beatae quibusdam! 27 |

28 |

29 | The text is derived from Cicero's De Finibus Bonorum et Malorum (On the Ends of Goods and Evils, or 30 | alternatively [About] The Purposes of Good and Evil ). The original passage began: Neque porro quisquam est 31 | qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit (Translation: "Neither is there 32 | anyone who loves grief itself since it is grief and thus wants to obtain it"). 33 |

34 |
35 | 36 |

The code

37 |

38 | $('#editor')
39 | .trumbowyg({
40 |     btns: ['ruby']
41 | });
42 |                 
43 |
44 | 45 |
46 |

Setup

47 | 48 |

In head tag

49 |

50 |             
51 |

At the end of body

52 |

53 | <!-- Import jQuery -->
54 | <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
55 | <script>window.jQuery || document.write('<script src="js/vendor/jquery-3.3.1.min.js"><\/script>')</script>
56 |             
57 |
58 |
59 |
60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /docs/demos/plugins/speechrecognition.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Speech recognition plugin | Trumbowyg 6 | 7 | 8 | 9 | 10 |
11 |
12 |

Speech recognition plugin

13 | 14 |
15 |

Basic usage

16 |

17 | This plugins allow you to enter text via speech recognition in Trumbowyg. Suddenly it does not work with Firefox which has not implemented the Web Speech API yet. 18 |

19 | 20 | Read speech recognition plugin documentation 21 | 22 |
23 | 24 |

The code

25 |

26 | $('#editor')
27 | .trumbowyg({
28 |     btns: [
29 |         ['speechrecognition']
30 |     ]
31 | });
32 |             
33 |
34 | 35 |
36 |

Language setting

37 | 38 |
39 | 40 |

The code

41 |

42 | $('#editor-settings-lang')
43 | .trumbowyg({
44 |     btns: [
45 |         ['speechrecognition']
46 |     ],
47 |     plugins: {
48 |         speechrecognition: {
49 |             lang: 'de-DE'
50 |         }
51 |     }
52 | });
53 |             
54 |
55 | 56 |
57 |

Setup

58 | 59 |

In head tag

60 |

61 |             
62 |

At the end of body

63 |

64 | <!-- Import jQuery -->
65 | <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
66 | <script>window.jQuery || document.write('<script src="js/vendor/jquery-3.3.1.min.js"><\/script>')</script>
67 |             
68 |
69 |
70 |
71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 84 | 85 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /docs/demos/plugins/tenor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Tenor plugin | Trumbowyg 6 | 7 | 8 | 9 | 10 |
11 |
12 |

Tenor plugin

13 | 14 |
15 |

Basic usage

16 |

17 | User can insert some GIFs from Tenor in Trumbowyg. 18 |

19 | 20 | Read Tenor plugin documentation 21 | 22 |
23 |

Insert some GIFs

24 |

25 | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, aliquam, minima fugiat placeat provident 26 | optio nam reiciendis eius beatae quibusdam! 27 |

28 |
29 | 30 |

The code

31 |

32 | $('#editor')
33 | .trumbowyg({
34 |     btns: [
35 |         ['tenor']
36 |     ],
37 |     plugins: {
38 |         tenor: {
39 |             apiKey: 'AIzaSyDSkXpGdEiI0OrQO9xZKbvTAvekZhmXW3c'
40 |         }
41 |     }
42 | });
43 |             
44 |
45 | 46 |
47 |

Setup

48 | 49 |

In head tag

50 |

51 |             
52 |

At the end of body

53 |

54 | <!-- Import jQuery -->
55 | <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
56 | <script>window.jQuery || document.write('<script src="js/vendor/jquery-3.3.1.min.js"><\/script>')</script>
57 |             
58 |
59 |
60 |
61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 75 | 76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /docs/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex-D/Trumbowyg/c4ccb3fc1aeef88216b8611ba562d857bf459cc3/docs/favicon.png -------------------------------------------------------------------------------- /docs/fonts/jetbrains-mono-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex-D/Trumbowyg/c4ccb3fc1aeef88216b8611ba562d857bf459cc3/docs/fonts/jetbrains-mono-regular.woff2 -------------------------------------------------------------------------------- /docs/fonts/open-sans-light.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex-D/Trumbowyg/c4ccb3fc1aeef88216b8611ba562d857bf459cc3/docs/fonts/open-sans-light.woff2 -------------------------------------------------------------------------------- /docs/fonts/open-sans-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex-D/Trumbowyg/c4ccb3fc1aeef88216b8611ba562d857bf459cc3/docs/fonts/open-sans-regular.woff2 -------------------------------------------------------------------------------- /docs/fonts/open-sans-semibold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex-D/Trumbowyg/c4ccb3fc1aeef88216b8611ba562d857bf459cc3/docs/fonts/open-sans-semibold.woff2 -------------------------------------------------------------------------------- /docs/fonts/panton.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex-D/Trumbowyg/c4ccb3fc1aeef88216b8611ba562d857bf459cc3/docs/fonts/panton.eot -------------------------------------------------------------------------------- /docs/fonts/panton.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex-D/Trumbowyg/c4ccb3fc1aeef88216b8611ba562d857bf459cc3/docs/fonts/panton.ttf -------------------------------------------------------------------------------- /docs/fonts/panton.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex-D/Trumbowyg/c4ccb3fc1aeef88216b8611ba562d857bf459cc3/docs/fonts/panton.woff -------------------------------------------------------------------------------- /docs/fonts/panton.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex-D/Trumbowyg/c4ccb3fc1aeef88216b8611ba562d857bf459cc3/docs/fonts/panton.woff2 -------------------------------------------------------------------------------- /docs/gulpfile.mjs: -------------------------------------------------------------------------------- 1 | // jshint node:true 2 | 'use strict'; 3 | 4 | import gulp from 'gulp'; 5 | import gulpAutoprefixer from 'gulp-autoprefixer'; 6 | import gulpLivereload from 'gulp-livereload'; 7 | import gulpCleanCss from 'gulp-clean-css'; 8 | import gulpSassPlugin from 'gulp-sass'; 9 | import * as sass from 'sass'; 10 | import {deleteAsync} from 'del'; 11 | 12 | const gulpSass = () => gulpSassPlugin(sass)(); 13 | 14 | const mainStyle = 'scss/main.scss'; 15 | 16 | 17 | const clean = function () { 18 | return deleteAsync(['dist/*']); 19 | }; 20 | 21 | 22 | const styles = function () { 23 | return gulp.src(mainStyle) 24 | .pipe(gulpSass({ 25 | sass: 'sass', 26 | includePaths: ['sass'] 27 | })) 28 | .pipe(gulpAutoprefixer(['last 1 version', '> 1%', 'ff >= 20', 'ie >= 8', 'opera >= 12', 'Android >= 2.2'], {cascade: true})) 29 | .pipe(gulpCleanCss()) 30 | .pipe(gulp.dest('css/')); 31 | }; 32 | 33 | 34 | const watch = function () { 35 | gulp.watch(['scss/*.scss'], styles); 36 | 37 | gulp.watch(['css/**', 'img/*', 'js/*'], function (file) { 38 | gulpLivereload.changed(file); 39 | }); 40 | 41 | gulpLivereload.listen(); 42 | }; 43 | 44 | const build = gulp.series(styles); 45 | 46 | const buildAndWatch = gulp.series(build, watch); 47 | 48 | export default buildAndWatch; 49 | export { 50 | clean, 51 | build, 52 | }; 53 | -------------------------------------------------------------------------------- /docs/humans.txt: -------------------------------------------------------------------------------- 1 | # humanstxt.org/ 2 | # The humans responsible & technology colophon 3 | 4 | # TEAM 5 | 6 | Alex-D -- Main developer -- @AlexandreDemode 7 | 8 | # TECHNOLOGY COLOPHON 9 | 10 | HTML5, CSS3 11 | JavaScript, jQuery 12 | -------------------------------------------------------------------------------- /docs/img/introduction-html.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /docs/img/introduction-lightweight.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "trumbowyg-github-page", 3 | "private": true, 4 | "author": { 5 | "name": "Alexandre Demode (Alex-D)", 6 | "email": "contact@alex-d.fr", 7 | "url": "https://alex-d.fr" 8 | }, 9 | "license": "MIT", 10 | "scripts": { 11 | "dev": "gulp", 12 | "clean": "gulp clean", 13 | "build": "gulp build" 14 | }, 15 | "volta": { 16 | "node": "22.13.1" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /docs/robots.txt: -------------------------------------------------------------------------------- 1 | # robotstxt.org/ 2 | 3 | User-agent: * 4 | -------------------------------------------------------------------------------- /docs/scss/_buttons.scss: -------------------------------------------------------------------------------- 1 | @use "variables"; 2 | 3 | .button { 4 | display: inline-block; 5 | position: relative; 6 | width: 250px; 7 | border: 2px solid transparent; 8 | margin: 0 auto; 9 | padding: 23px 30px; 10 | color: #fff; 11 | font-weight: 400; 12 | font-size: 16px; 13 | line-height: 1.2; 14 | text-decoration: none; 15 | border-radius: 50px; 16 | text-align: center; 17 | transition: color variables.$transition-duration, background-color variables.$transition-duration; 18 | 19 | &-primary { 20 | background: variables.$primary-color; 21 | } 22 | 23 | &-secondary { 24 | background: variables.$secondary-color; 25 | } 26 | 27 | &-ghost { 28 | border-color: rgba(255, 255, 255, 0.4); 29 | } 30 | 31 | &:not(:last-child) { 32 | margin-right: 20px; 33 | } 34 | } 35 | 36 | .button:hover, 37 | .button:focus { 38 | background: #fff; 39 | color: variables.$primary-color; 40 | outline: none; 41 | } 42 | -------------------------------------------------------------------------------- /docs/scss/_donate.scss: -------------------------------------------------------------------------------- 1 | @use "variables"; 2 | 3 | .donate-container { 4 | position: relative; 5 | max-width: 800px; 6 | margin: 0 auto; 7 | 8 | .donate-description { 9 | width: 100%; 10 | padding: 30px 50px 50px; 11 | background: variables.$grey; 12 | border-top-left-radius: variables.$radius; 13 | border-top-right-radius: variables.$radius; 14 | } 15 | 16 | .donate-footer { 17 | text-align: center; 18 | padding: 50px 0; 19 | background: variables.$primary-color linear-gradient(to bottom left, variables.$primary-color, variables.$primary-color-light); 20 | border-bottom-left-radius: variables.$radius; 21 | border-bottom-right-radius: variables.$radius; 22 | } 23 | 24 | .donate-beer { 25 | position: absolute; 26 | left: -190px; 27 | bottom: -30px; 28 | width: 250px; 29 | } 30 | 31 | .button { 32 | color: variables.$white; 33 | text-decoration: none; 34 | 35 | &:hover, 36 | &:focus { 37 | text-decoration: none; 38 | background: variables.$white; 39 | color: variables.$primary-color; 40 | } 41 | } 42 | } 43 | 44 | .sponsors-container { 45 | margin: 150px 0 0; 46 | text-align: center; 47 | 48 | a { 49 | padding: 0 20px; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /docs/scss/_font.scss: -------------------------------------------------------------------------------- 1 | // Panton Light 2 | @font-face { 3 | font-family: 'Panton'; 4 | src: url('../fonts/panton.woff2') format('woff2'); 5 | font-weight: 300; 6 | font-style: normal; 7 | font-display: swap; 8 | } 9 | 10 | // Open Sans 11 | @font-face { 12 | font-family: 'Open Sans'; 13 | src: url('../fonts/open-sans-light.woff2') format('woff2'); 14 | font-weight: 300; 15 | font-style: normal; 16 | font-display: swap; 17 | } 18 | 19 | @font-face { 20 | font-family: 'Open Sans'; 21 | src: url('../fonts/open-sans-regular.woff2') format('woff2'); 22 | font-weight: normal; 23 | font-style: normal; 24 | font-display: swap; 25 | } 26 | 27 | @font-face { 28 | font-family: 'Open Sans'; 29 | src: url('../fonts/open-sans-semibold.woff2') format('woff2'); 30 | font-weight: 600; 31 | font-style: normal; 32 | font-display: swap; 33 | } 34 | 35 | // JetBrains Mono 36 | @font-face { 37 | font-family: 'JetBrains Mono'; 38 | src: url('../fonts/jetbrains-mono-regular.woff2') format('woff2'); 39 | font-weight: normal; 40 | font-style: normal; 41 | font-display: swap; 42 | } 43 | -------------------------------------------------------------------------------- /docs/scss/_footer.scss: -------------------------------------------------------------------------------- 1 | @use "variables"; 2 | 3 | .footer { 4 | margin-top: 40px; 5 | text-align: center; 6 | color: variables.$white; 7 | background: linear-gradient(to bottom left, variables.$primary-color, variables.$primary-color-light); 8 | clear: both; 9 | 10 | .footer-text, 11 | .footer-link { 12 | display: inline-block; 13 | padding: 40px; 14 | } 15 | 16 | .footer-text { 17 | padding-bottom: 0; 18 | 19 | .hearts { 20 | font-size: 18px; 21 | color: variables.$primary-color-dark; 22 | } 23 | } 24 | 25 | .footer-link { 26 | text-decoration: none; 27 | color: variables.$white; 28 | transition: color 0.15s; 29 | 30 | &:hover, 31 | &:focus { 32 | color: variables.$primary-color-dark; 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /docs/scss/_get-started.scss: -------------------------------------------------------------------------------- 1 | @use "variables"; 2 | 3 | .installation-first-step { 4 | height: 400px; 5 | color: variables.$text-color; 6 | text-align: center; 7 | padding-top: 10px; 8 | margin: 20px 0 50px; 9 | border: 1px solid rgba(0, 0, 0, 0.15); 10 | border-radius: 8px; 11 | 12 | code { 13 | display: block; 14 | } 15 | 16 | .installation-download, 17 | .installation-package-managers { 18 | width: 48%; 19 | float: left; 20 | } 21 | 22 | .installation-col-title { 23 | font-size: 22px; 24 | padding: 30px 0; 25 | color: variables.$text-color; 26 | } 27 | 28 | .button { 29 | display: block; 30 | color: variables.$text-color; 31 | border-color: rgba(0, 0, 0, 0.07); 32 | background-color: transparent; 33 | box-shadow: 0 0 50px rgba(0, 0, 0, 0.03); 34 | transition: background-color 150ms, box-shadow 150ms, color 150ms; 35 | 36 | &:hover { 37 | text-decoration: none; 38 | color: variables.$white; 39 | border-color: transparent; 40 | background-color: variables.$primary-color; 41 | box-shadow: 0 0 50px rgba(variables.$primary-color, 0.4); 42 | } 43 | } 44 | 45 | .installation-or { 46 | position: relative; 47 | font-weight: bold; 48 | text-transform: uppercase; 49 | width: 4%; 50 | float: left; 51 | font-size: 18px; 52 | margin: 140px 0 20px; 53 | border-radius: 50px; 54 | z-index: 0; 55 | } 56 | 57 | .installation-or::before { 58 | content: ""; 59 | display: block; 60 | position: absolute; 61 | top: 50%; 62 | left: 50%; 63 | z-index: -1; 64 | width: 100%; 65 | padding-top: 100%; 66 | min-width: 45px; 67 | min-height: 45px; 68 | background: variables.$white; 69 | border-radius: 100%; 70 | transform: translate(-50%, -50%); 71 | } 72 | 73 | .installation-package-managers { 74 | font-size: 18px; 75 | 76 | code { 77 | padding-top: 5px; 78 | line-height: 1.6; 79 | 80 | & + code { 81 | padding-top: 0; 82 | } 83 | } 84 | } 85 | 86 | .installation-cdn { 87 | clear: both; 88 | width: 100%; 89 | 90 | code { 91 | 92 | } 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /docs/scss/_highlightjs-github.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | Theme: GitHub 3 | Description: Light theme as seen on github.com 4 | Author: github.com 5 | Maintainer: @Hirse 6 | Updated: 2021-05-15 7 | 8 | Outdated base version: https://github.com/primer/github-syntax-light 9 | Current colors taken from GitHub's CSS 10 | */ 11 | 12 | pre code.hljs { 13 | display: block; 14 | overflow-x: auto; 15 | padding: 0 1.5em; 16 | border-radius: 8px; 17 | box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02); 18 | } 19 | 20 | code.hljs { 21 | padding: 3px 5px; 22 | } 23 | 24 | .hljs { 25 | color: #24292e; 26 | background: #fff 27 | } 28 | 29 | .hljs-doctag, .hljs-keyword, .hljs-meta .hljs-keyword, .hljs-template-tag, .hljs-template-variable, .hljs-type, .hljs-variable.language_ { 30 | color: #d73a49 31 | } 32 | 33 | .hljs-title, .hljs-title.class_, .hljs-title.class_.inherited__, .hljs-title.function_ { 34 | color: #6f42c1 35 | } 36 | 37 | .hljs-attr, .hljs-attribute, .hljs-literal, .hljs-meta, .hljs-number, .hljs-operator, .hljs-selector-attr, .hljs-selector-class, .hljs-selector-id, .hljs-variable { 38 | color: #005cc5 39 | } 40 | 41 | .hljs-meta .hljs-string, .hljs-regexp, .hljs-string { 42 | color: #032f62 43 | } 44 | 45 | .hljs-built_in, .hljs-symbol { 46 | color: #e36209 47 | } 48 | 49 | .hljs-code, .hljs-comment, .hljs-formula { 50 | color: #6a737d 51 | } 52 | 53 | .hljs-comment { 54 | font-style: italic; 55 | } 56 | 57 | .hljs-name, .hljs-quote, .hljs-selector-pseudo, .hljs-selector-tag { 58 | color: #22863a 59 | } 60 | 61 | .hljs-subst { 62 | color: #24292e 63 | } 64 | 65 | .hljs-section { 66 | color: #005cc5; 67 | font-weight: 700 68 | } 69 | 70 | .hljs-bullet { 71 | color: #735c0f 72 | } 73 | 74 | .hljs-emphasis { 75 | color: #24292e; 76 | font-style: italic 77 | } 78 | 79 | .hljs-strong { 80 | color: #24292e; 81 | font-weight: 700 82 | } 83 | 84 | .hljs-addition { 85 | color: #22863a; 86 | background-color: #f0fff4 87 | } 88 | 89 | .hljs-deletion { 90 | color: #b31d28; 91 | background-color: #ffeef0 92 | } 93 | -------------------------------------------------------------------------------- /docs/scss/_introduction.scss: -------------------------------------------------------------------------------- 1 | @use "variables"; 2 | 3 | .section-introduction { 4 | margin-top: 50px; 5 | padding-bottom: 70px; 6 | 7 | .introduction-section { 8 | height: 300px; 9 | } 10 | 11 | .introduction-section-col { 12 | position: relative; 13 | float: left; 14 | width: 30%; 15 | margin-right: 5%; 16 | 17 | &:last-child { 18 | margin-right: 0; 19 | } 20 | } 21 | 22 | .introduction-section-col-title { 23 | font-size: 28px; 24 | font-weight: 300; 25 | margin-bottom: 0; 26 | padding-top: 50px; 27 | 28 | img { 29 | height: 40px; 30 | margin-right: 8px; 31 | transform: translateY(-3px); 32 | 33 | &.illu-lightweight { 34 | transform: translateY(0px); 35 | } 36 | } 37 | } 38 | 39 | .introduction-section-col-description { 40 | font-size: 18px; 41 | line-height: 28px; 42 | margin-top: 10px; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /docs/scss/_plugins-packages.scss: -------------------------------------------------------------------------------- 1 | @use "variables"; 2 | 3 | .plugins-packages { 4 | .wrapper { 5 | display: flex; 6 | } 7 | 8 | .col-plugins { 9 | flex: 1.07; 10 | } 11 | 12 | .col-packages { 13 | flex: 0.93; 14 | } 15 | 16 | .section-title { 17 | text-align: left; 18 | transform: translateX(-5px); 19 | } 20 | 21 | p { 22 | padding: 0 100px 0 0; 23 | line-height: 1.6; 24 | } 25 | 26 | ul, 27 | li { 28 | margin: 0; 29 | padding: 0; 30 | list-style: none; 31 | } 32 | 33 | ul { 34 | columns: 2; 35 | margin: 50px 0 0; 36 | max-width: 500px; 37 | } 38 | 39 | li { 40 | a { 41 | position: relative; 42 | display: inline-block; 43 | overflow: visible; 44 | color: variables.$text-color; 45 | transition: color variables.$transition-duration, transform variables.$transition-duration; 46 | line-height: 1.8; 47 | 48 | &:hover { 49 | color: variables.$primary-color; 50 | text-decoration: none; 51 | } 52 | 53 | img, 54 | svg { 55 | display: inline-block; 56 | color: variables.$primary-color; 57 | fill: variables.$primary-color; 58 | width: 20px; 59 | height: 20px; 60 | margin-right: 8px; 61 | vertical-align: sub; 62 | } 63 | } 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /docs/scss/_section.scss: -------------------------------------------------------------------------------- 1 | @use "variables"; 2 | 3 | .section { 4 | position: relative; 5 | padding-bottom: 100px; 6 | 7 | &-primary { 8 | color: variables.$primary-color-dark; 9 | background: linear-gradient(to bottom left, variables.$primary-color, variables.$primary-color-light); 10 | 11 | .section-title { 12 | color: variables.$white; 13 | } 14 | 15 | a { 16 | color: variables.$white; 17 | } 18 | } 19 | 20 | &-secondary { 21 | background: variables.$grey; 22 | } 23 | 24 | h4 { 25 | font-weight: 400; 26 | color: variables.$text-color; 27 | font-size: 28px; 28 | padding-top: 80px; 29 | } 30 | } 31 | 32 | .section-title { 33 | text-align: center; 34 | font-family: variables.$panton; 35 | font-size: 100px; 36 | color: variables.$primary-color; 37 | padding-top: 100px; 38 | padding-bottom: 30px; 39 | } 40 | 41 | .section-subtitle { 42 | margin-top: -22px; 43 | font-size: 23px; 44 | color: variables.$text-color; 45 | font-weight: 400; 46 | } 47 | -------------------------------------------------------------------------------- /docs/scss/_variables.scss: -------------------------------------------------------------------------------- 1 | $primary-color: #ff974a; 2 | $primary-color-light: #ffb864; 3 | $primary-color-dark: #b65207; 4 | $secondary-color: #f48d40; 5 | $text-color: #392813; 6 | $grey: #f4f7fa; 7 | $white: #fff; 8 | 9 | $panton: "Panton", sans-serif; 10 | $font: "Open Sans", sans-serif; 11 | 12 | $radius: 6px; 13 | 14 | $transition-duration: 150ms; 15 | -------------------------------------------------------------------------------- /docs/scss/main.scss: -------------------------------------------------------------------------------- 1 | @use "normalize"; 2 | @use "variables"; 3 | @use "font"; 4 | @use "base"; 5 | @use "buttons"; 6 | @use "header"; 7 | @use "section"; 8 | @use "introduction"; 9 | @use "get-started"; 10 | @use "languages"; 11 | @use "plugins-packages"; 12 | @use "donate"; 13 | @use "footer"; 14 | 15 | @use "highlightjs-github"; 16 | @use "documentation"; 17 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "trumbowyg", 3 | "title": "Trumbowyg", 4 | "description": "A lightweight WYSIWYG editor", 5 | "version": "2.31.0", 6 | "main": "dist/trumbowyg.js", 7 | "license": "MIT", 8 | "scripts": { 9 | "dev": "gulp", 10 | "build": "gulp build", 11 | "clean": "gulp clean", 12 | "lint": "gulp lint", 13 | "lint:editorconfig": "editorconfig-checker" 14 | }, 15 | "devDependencies": { 16 | "del": "^8.0.0", 17 | "editorconfig-checker": "^6.0.1", 18 | "gulp": "^5.0.0", 19 | "gulp-autoprefixer": "^9.0.0", 20 | "gulp-clean-css": "^4.3.0", 21 | "gulp-concat": "^2.6.1", 22 | "gulp-header": "^2.0.9", 23 | "gulp-jshint": "^2.1.0", 24 | "gulp-livereload": "^4.0.2", 25 | "gulp-newer": "^1.4.0", 26 | "gulp-rename": "^2.0.0", 27 | "gulp-sass": "^6.0.0", 28 | "gulp-size": "^5.0.0", 29 | "gulp-sourcemaps": "^3.0.0", 30 | "gulp-svgmin": "^4.1.0", 31 | "gulp-svgstore": "^9.0.0", 32 | "gulp-terser": "^2.1.0", 33 | "jquery": "^4.0.0-beta.2", 34 | "jshint": "^2.13.6", 35 | "jshint-stylish": "^2.2.1", 36 | "sass": "^1.83.4" 37 | }, 38 | "peerDependencies": { 39 | "jquery": ">=1.8" 40 | }, 41 | "homepage": "https://alex-d.github.io/Trumbowyg/", 42 | "author": { 43 | "name": "Alexandre Demode (Alex-D)", 44 | "email": "contact@alex-d.fr", 45 | "url": "https://alex-d.fr" 46 | }, 47 | "repository": { 48 | "type": "git", 49 | "url": "https://github.com/Alex-D/Trumbowyg.git" 50 | }, 51 | "bugs": { 52 | "url": "https://github.com/Alex-D/Trumbowyg/issues" 53 | }, 54 | "keywords": [ 55 | "wysiwyg", 56 | "editor", 57 | "rich text", 58 | "contenteditable", 59 | "trumbowyg" 60 | ], 61 | "volta": { 62 | "node": "22.13.1" 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /plugins/base64/ui/icons/base64.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /plugins/colors/ui/icons/back-color.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /plugins/colors/ui/icons/fore-color.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/colors/ui/sass/trumbowyg.colors.scss: -------------------------------------------------------------------------------- 1 | .trumbowyg-dropdown-foreColor:not(.trumbowyg-dropdown--color-list), 2 | .trumbowyg-dropdown-backColor:not(.trumbowyg-dropdown--color-list) { 3 | max-width: 276px; 4 | padding: 7px 5px; 5 | overflow: initial; 6 | 7 | button { 8 | display: block; 9 | position: relative; 10 | float: left; 11 | text-indent: -9999px; 12 | height: 20px; 13 | width: 20px; 14 | border: 1px solid #333; 15 | padding: 0; 16 | margin: 2px; 17 | 18 | &:hover, 19 | &:focus { 20 | &::after { 21 | content: " "; 22 | display: block; 23 | position: absolute; 24 | top: -5px; 25 | left: -5px; 26 | width: 27px; 27 | height: 27px; 28 | background: inherit; 29 | border: 1px solid #fff; 30 | box-shadow: #000 0 0 2px; 31 | z-index: 10; 32 | } 33 | } 34 | } 35 | } 36 | 37 | .trumbowyg-dropdown-backColor.trumbowyg-dropdown--color-list { 38 | button:not(.trumbowyg-backColorRemove-dropdown-button) { 39 | position: relative; 40 | color: #fff !important; 41 | 42 | &:hover, 43 | &:focus { 44 | &::after { 45 | content: " "; 46 | display: block; 47 | position: absolute; 48 | top: 13px; 49 | left: 0; 50 | width: 0; 51 | height: 0; 52 | border: 5px solid transparent; 53 | border-left-color: #fff; 54 | } 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /plugins/emoji/ui/icons/emoji.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/emoji/ui/sass/trumbowyg.emoji.scss: -------------------------------------------------------------------------------- 1 | .trumbowyg-dropdown-emoji { 2 | width: 265px; 3 | padding: 7px 0 7px 5px; 4 | } 5 | 6 | .trumbowyg-dropdown-emoji svg { 7 | display: none !important; 8 | } 9 | 10 | .trumbowyg-dropdown-emoji button { 11 | display: block; 12 | position: relative; 13 | float: left; 14 | height: 26px; 15 | width: 26px; 16 | padding: 0; 17 | margin: 2px; 18 | line-height: 24px; 19 | text-align: center; 20 | 21 | &:hover, 22 | &:focus { 23 | &::after { 24 | display: block; 25 | position: absolute; 26 | top: -5px; 27 | left: -5px; 28 | height: 27px; 29 | width: 27px; 30 | background: inherit; 31 | box-shadow: #000 0 0 2px; 32 | z-index: 10; 33 | background-color: transparent; 34 | } 35 | } 36 | } 37 | 38 | .trumbowyg .emoji { 39 | width: 22px; 40 | height: 22px; 41 | display: inline-block; 42 | } 43 | -------------------------------------------------------------------------------- /plugins/fontsize/ui/icons/fontsize.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/giphy/ui/icons/giphy.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/giphy/ui/sass/trumbowyg.giphy.scss: -------------------------------------------------------------------------------- 1 | .trumbowyg-giphy-button svg { 2 | transform: scale(1.22); 3 | } 4 | 5 | .trumbowyg-giphy-search { 6 | display: block; 7 | width: 80%; 8 | margin: 5%; 9 | padding-left: 10px; 10 | padding-right: 150px; 11 | } 12 | 13 | .trumbowyg-giphy-close { 14 | position: absolute; 15 | top: calc(5% + 8px); 16 | right: calc(5% - 2px); 17 | width: 30px; 18 | height: 30px; 19 | background: none; 20 | border: 1px solid transparent; 21 | 22 | &:hover, 23 | &:focus { 24 | outline: none; 25 | background: #ecf0f1; 26 | } 27 | 28 | &:focus { 29 | border-color: rgba(0, 0, 0, 0.3); 30 | } 31 | } 32 | 33 | .trumbowyg-powered-by-giphy { 34 | position: absolute; 35 | top: calc(5% + 12px); 36 | right: calc(15% + 10px); 37 | pointer-events: none; 38 | user-select: none; 39 | 40 | span { 41 | text-transform: uppercase; 42 | font-weight: bold; 43 | font-size: 10px; 44 | opacity: 0.6; 45 | } 46 | 47 | svg { 48 | width: 66px; 49 | height: 15px; 50 | vertical-align: middle; 51 | margin-left: 6px; 52 | opacity: 0.45; 53 | } 54 | } 55 | 56 | .trumbowyg-giphy-modal-scroll { 57 | overflow: auto; 58 | overflow-x: hidden; 59 | height: 240px; 60 | } 61 | 62 | .trumbowyg-giphy-modal { 63 | padding: 0 5%; 64 | columns: 3; 65 | column-gap: 10px; 66 | 67 | .trumbowyg-giphy-no-result { 68 | width: 250%; 69 | margin: 13% 0 0 29%; 70 | } 71 | 72 | .trumbowyg-giphy-offline { 73 | font-size: 18px; 74 | width: 305%; 75 | height: 600px; 76 | margin-top: 95px; 77 | text-align: center; 78 | } 79 | } 80 | 81 | .trumbowyg-giphy-modal .img-container { 82 | width: 100%; 83 | margin-bottom: 10px; 84 | background-color: #ecf0f1; 85 | 86 | img { 87 | width: 100%; 88 | cursor: pointer; 89 | opacity: 0; 90 | transition: opacity 150ms; 91 | 92 | &:hover, 93 | &:focus { 94 | border: #2ecc71 solid 3px; 95 | } 96 | } 97 | 98 | img.tbw-loaded { 99 | opacity: 1; 100 | } 101 | } 102 | -------------------------------------------------------------------------------- /plugins/highlight/ui/icons/highlight.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /plugins/highlight/ui/sass/trumbowyg.highlight.scss: -------------------------------------------------------------------------------- 1 | .trumbowyg-highlight-form-group { 2 | margin: 15px 10px; 3 | 4 | .trumbowyg-highlight-form-control { 5 | width: 100%; 6 | border: 1px solid #DEDEDE; 7 | font-size: 14px; 8 | padding: 7px; 9 | 10 | &.code { 11 | height: 200px; 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /plugins/indent/trumbowyg.indent.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * trumbowyg.indent.js v1.0 3 | * Indent or Outdent plugin for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Fabacks 7 | * Website : https://github.com/Fabacks 8 | */ 9 | 10 | (function ($) { 11 | 'use strict'; 12 | 13 | $.extend(true, $.trumbowyg, { 14 | langs: { 15 | // jshint camelcase:false 16 | en: { 17 | indent: 'Indent', 18 | outdent: 'Outdent' 19 | }, 20 | az: { 21 | indent: 'Girinti', 22 | outdent: 'Çıxıntı' 23 | }, 24 | by: { 25 | indent: 'Водступ', 26 | outdent: 'Выступ' 27 | }, 28 | de: { 29 | indent: 'Einzug vergrößern', 30 | outdent: 'Einzug verkleinern' 31 | }, 32 | et: { 33 | indent: 'Taande suurendamine', 34 | outdent: 'Taande vähendamine' 35 | }, 36 | fr: { 37 | indent: 'Augmenter le retrait', 38 | outdent: 'Diminuer le retrait' 39 | }, 40 | pt_br: { 41 | indent: 'Aumentar Recuo', 42 | outdent: 'Diminuir Recuo' 43 | }, 44 | ru: { 45 | indent: 'Отступ', 46 | outdent: 'Выступ' 47 | }, 48 | sl: { 49 | indent: 'Povečaj zamik', 50 | outdent: 'Zmanjšaj zamik' 51 | }, 52 | tr: { 53 | indent: 'Girinti', 54 | outdent: 'Çıkıntı' 55 | } 56 | // jshint camelcase:true 57 | } 58 | }); 59 | 60 | // Adds the extra button definition 61 | $.extend(true, $.trumbowyg, { 62 | plugins: { 63 | paragraph: { 64 | init: function (trumbowyg) { 65 | var indentBtnDef = { 66 | fn: 'indent', 67 | title: trumbowyg.lang.indent, 68 | isSupported: function () { 69 | return !!document.queryCommandSupported && !!document.queryCommandSupported('indent'); 70 | }, 71 | ico: 'indent' 72 | }; 73 | 74 | var outdentBtnDef = { 75 | fn: 'outdent', 76 | title: trumbowyg.lang.outdent, 77 | isSupported: function () { 78 | return !!document.queryCommandSupported && !!document.queryCommandSupported('outdent'); 79 | }, 80 | ico: 'outdent' 81 | }; 82 | 83 | trumbowyg.addBtnDef('indent', indentBtnDef); 84 | trumbowyg.addBtnDef('outdent', outdentBtnDef); 85 | } 86 | } 87 | } 88 | }); 89 | })(jQuery); 90 | -------------------------------------------------------------------------------- /plugins/indent/ui/icons/indent.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/indent/ui/icons/outdent.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/insertaudio/ui/icons/insert-audio.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /plugins/lineheight/ui/icons/lineheight.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /plugins/mathml/ui/icons/mathml.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/mathml/ui/sass/trumbowyg.mathml.scss: -------------------------------------------------------------------------------- 1 | [formulas] { 2 | position: relative; 3 | display: inline-block; 4 | pointer-events: none; 5 | 6 | &[inline="false"] { 7 | display: block; 8 | width: 100%; 9 | } 10 | 11 | &::after { 12 | content: '\270E'; 13 | position: absolute; 14 | top: 0; 15 | right: 0; 16 | bottom: 0; 17 | left: 0; 18 | opacity: 0; 19 | background-color: rgba(255, 255, 255, 0.83); 20 | box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.83); 21 | cursor: pointer; 22 | pointer-events: auto; 23 | } 24 | 25 | &:hover { 26 | &::after { 27 | opacity: 1; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /plugins/mention/ui/icons/mention.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/mention/ui/sass/trumbowyg.mention.scss: -------------------------------------------------------------------------------- 1 | .trumbowyg-dropdown-mention { 2 | button { 3 | position: relative; 4 | white-space: nowrap; 5 | 6 | &:after { 7 | content: ""; 8 | position: absolute; 9 | top: 0; 10 | right: 0; 11 | width: 15%; 12 | height: 100%; 13 | background-size: 100%; 14 | background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #ffffff 80%, #ffffff 100%); 15 | pointer-events: none; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /plugins/noembed/ui/icons/noembed.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /plugins/pasteimage/trumbowyg.pasteimage.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * trumbowyg.pasteimage.js v1.0 3 | * Basic base64 paste plugin for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Alexandre Demode (Alex-D) 7 | * Twitter : @AlexandreDemode 8 | * Website : alex-d.fr 9 | */ 10 | 11 | (function ($) { 12 | 'use strict'; 13 | 14 | $.extend(true, $.trumbowyg, { 15 | plugins: { 16 | pasteImage: { 17 | init: function (trumbowyg) { 18 | trumbowyg.pasteHandlers.push(function (pasteEvent) { 19 | try { 20 | var items = (pasteEvent.originalEvent || pasteEvent).clipboardData.items, 21 | mustPreventDefault = false, 22 | reader; 23 | 24 | for (var i = items.length - 1; i >= 0; i -= 1) { 25 | if (items[i].type.match(/^image\//)) { 26 | reader = new FileReader(); 27 | /* jshint -W083 */ 28 | reader.onloadend = function (event) { 29 | trumbowyg.execCmd('insertImage', event.target.result, false, true); 30 | }; 31 | /* jshint +W083 */ 32 | reader.readAsDataURL(items[i].getAsFile()); 33 | 34 | mustPreventDefault = true; 35 | } 36 | } 37 | 38 | if (mustPreventDefault) { 39 | pasteEvent.stopPropagation(); 40 | pasteEvent.preventDefault(); 41 | } 42 | } catch (c) { 43 | } 44 | }); 45 | } 46 | } 47 | } 48 | }); 49 | })(jQuery); 50 | -------------------------------------------------------------------------------- /plugins/preformatted/ui/icons/preformatted.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/ruby/ui/icons/ruby.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/specialchars/ui/icons/special-chars.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /plugins/specialchars/ui/sass/trumbowyg.specialchars.scss: -------------------------------------------------------------------------------- 1 | .trumbowyg-symbol-\ -dropdown-button { 2 | display: none !important; 3 | } 4 | .trumbowyg-symbol-\ -dropdown-button + button { 5 | clear: both; 6 | } 7 | 8 | .trumbowyg-dropdown-specialChars { 9 | width: 248px; 10 | padding: 5px 3px 3px; 11 | } 12 | 13 | .trumbowyg-dropdown-specialChars button { 14 | display: block; 15 | position: relative; 16 | float: left; 17 | height: 26px; 18 | width: 26px; 19 | padding: 0; 20 | margin: 2px; 21 | line-height: 24px; 22 | text-align: center; 23 | 24 | &:hover, 25 | &:focus { 26 | &::after { 27 | display: block; 28 | position: absolute; 29 | top: -5px; 30 | left: -5px; 31 | height: 27px; 32 | width: 27px; 33 | background: inherit; 34 | box-shadow: #000 0 0 2px; 35 | z-index: 10; 36 | background-color: transparent; 37 | } 38 | } 39 | } 40 | 41 | .trumbowyg .specialChars { 42 | width: 22px; 43 | height: 22px; 44 | display: inline-block; 45 | } 46 | -------------------------------------------------------------------------------- /plugins/speechrecognition/ui/icons/speechrecognition.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/align-bottom.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/align-middle.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/align-top.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/col-delete.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/col-left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/col-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/header-row.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/row-above.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/row-below.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/row-delete.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/table-border-color.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/table-cell-background-color.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/table-delete.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/table-merge.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/table-unmerge.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /plugins/table/ui/icons/table.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /plugins/template/trumbowyg.template.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | 'use strict'; 3 | 4 | // Adds the language variables 5 | $.extend(true, $.trumbowyg, { 6 | langs: { 7 | // jshint camelcase:false 8 | en: { 9 | template: 'Template' 10 | }, 11 | az: { 12 | template: 'Şablon' 13 | }, 14 | by: { 15 | template: 'Шаблон' 16 | }, 17 | da: { 18 | template: 'Skabelon' 19 | }, 20 | de: { 21 | template: 'Vorlage' 22 | }, 23 | et: { 24 | template: 'Mall' 25 | }, 26 | fr: { 27 | template: 'Patron' 28 | }, 29 | hu: { 30 | template: 'Sablon' 31 | }, 32 | ja: { 33 | template: 'テンプレート' 34 | }, 35 | ko: { 36 | template: '서식' 37 | }, 38 | nl: { 39 | template: 'Sjabloon' 40 | }, 41 | pt_br: { 42 | template: 'Modelo' 43 | }, 44 | ru: { 45 | template: 'Шаблон' 46 | }, 47 | sl: { 48 | template: 'Predloga' 49 | }, 50 | tr: { 51 | template: 'Şablon' 52 | }, 53 | zh_tw: { 54 | template: '模板', 55 | }, 56 | // jshint camelcase:true 57 | } 58 | }); 59 | 60 | // Adds the extra button definition 61 | $.extend(true, $.trumbowyg, { 62 | plugins: { 63 | template: { 64 | shouldInit: function (trumbowyg) { 65 | return trumbowyg.o.plugins.hasOwnProperty('templates'); 66 | }, 67 | init: function (trumbowyg) { 68 | trumbowyg.addBtnDef('template', { 69 | dropdown: templateSelector(trumbowyg), 70 | hasIcon: false, 71 | text: trumbowyg.lang.template 72 | }); 73 | } 74 | } 75 | } 76 | }); 77 | 78 | // Creates the template-selector dropdown. 79 | function templateSelector(trumbowyg) { 80 | var available = trumbowyg.o.plugins.templates; 81 | var templates = []; 82 | 83 | $.each(available, function (index, template) { 84 | trumbowyg.addBtnDef('template_' + index, { 85 | fn: function () { 86 | trumbowyg.html(template.html); 87 | }, 88 | hasIcon: false, 89 | title: template.name 90 | }); 91 | templates.push('template_' + index); 92 | }); 93 | 94 | return templates; 95 | } 96 | })(jQuery); 97 | -------------------------------------------------------------------------------- /plugins/tenor/ui/icons/tenor.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /plugins/tenor/ui/sass/trumbowyg.tenor.scss: -------------------------------------------------------------------------------- 1 | // Adapted from giphy plugin 2 | 3 | .trumbowyg-tenor-button svg { 4 | transform: scale(1.22); 5 | } 6 | 7 | .trumbowyg-tenor-search { 8 | display: block; 9 | width: 80%; 10 | margin: 5%; 11 | padding-left: 10px; 12 | padding-right: 150px; 13 | } 14 | 15 | .trumbowyg-tenor-close { 16 | position: absolute; 17 | top: calc(5% + 8px); 18 | right: calc(5% - 2px); 19 | width: 30px; 20 | height: 30px; 21 | background: none; 22 | border: 1px solid transparent; 23 | 24 | &:hover, 25 | &:focus { 26 | outline: none; 27 | background: #ecf0f1; 28 | } 29 | 30 | &:focus { 31 | border-color: rgba(0, 0, 0, 0.3); 32 | } 33 | } 34 | 35 | .trumbowyg-powered-by-tenor { 36 | position: absolute; 37 | top: calc(5% + 11px); 38 | right: calc(15% + 5px); 39 | pointer-events: none; 40 | user-select: none; 41 | 42 | span { 43 | text-transform: uppercase; 44 | font-weight: bold; 45 | font-size: 10px; 46 | opacity: 0.6; 47 | } 48 | 49 | svg { 50 | width: 66px; 51 | height: 15px; 52 | vertical-align: middle; 53 | margin-left: 6px; 54 | opacity: 0.45; 55 | } 56 | } 57 | 58 | .trumbowyg-tenor-modal-scroll { 59 | overflow: auto; 60 | overflow-x: hidden; 61 | height: 240px; 62 | 63 | .trumbowyg-tenor-loading { 64 | display: none; 65 | padding: 20px; 66 | 67 | img { 68 | height: 25px; 69 | } 70 | } 71 | } 72 | 73 | .trumbowyg-tenor-modal { 74 | display: flex; 75 | flex-wrap: wrap; 76 | justify-content: center; 77 | margin: 0 3%; 78 | 79 | .trumbowyg-tenor-no-result { 80 | width: 100%; 81 | margin: 0 3%; 82 | } 83 | 84 | .trumbowyg-tenor-offline { 85 | font-size: 18px; 86 | width: 305%; 87 | height: 600px; 88 | margin-top: 95px; 89 | text-align: center; 90 | } 91 | } 92 | 93 | .trumbowyg-tenor-modal .img-container { 94 | margin-bottom: 10px; 95 | background-color: #ecf0f1; 96 | 97 | img { 98 | width: 100%; 99 | cursor: pointer; 100 | opacity: 0; 101 | transition: opacity 150ms; 102 | display: block; 103 | 104 | &:hover, 105 | &:focus { 106 | border: #2ecc71 solid 3px; 107 | } 108 | } 109 | 110 | img.tbw-loaded { 111 | opacity: 1; 112 | } 113 | } 114 | -------------------------------------------------------------------------------- /plugins/upload/ui/icons/upload.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /sponsors/avot.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /sponsors/socialoptic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Alex-D/Trumbowyg/c4ccb3fc1aeef88216b8611ba562d857bf459cc3/sponsors/socialoptic.png -------------------------------------------------------------------------------- /src/langs/ar.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * ar.js 3 | * Arabic translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Abo Mokh ahmed (abomokhahmed) 7 | * Github : https://github.com/abomokhahmed 8 | * Reviewed by : Abdellah Chadidi (chadidi) 9 | * Github : https://github.com/chadidi 10 | */ 11 | 12 | jQuery.trumbowyg.langs.ar = { 13 | _dir: 'rtl', 14 | 15 | viewHTML: 'إعرض-HTML', 16 | 17 | undo: 'تراجع', 18 | redo: 'إعادة', 19 | 20 | formatting: 'تنسيق', 21 | 22 | p: 'فقرة', 23 | blockquote: 'اقتباس', 24 | code: 'كود', 25 | header: 'رأس', 26 | 27 | bold: 'عريض', 28 | italic: 'مائل', 29 | strikethrough: 'مشطوب', 30 | underline: 'خطّ سفلي', 31 | 32 | strong: 'بارز', 33 | em: 'تغميق', 34 | del: 'حذف', 35 | 36 | superscript: 'الأس', 37 | subscript: 'أس سفلي', 38 | 39 | unorderedList: 'قائمة غير مرتّبة', 40 | orderedList: 'قائمة مرتّبة', 41 | 42 | insertImage: 'إدراج صورة', 43 | insertVideo: 'إدراج فيديو', 44 | link: 'رابط', 45 | createLink: 'انشاء رابط', 46 | unlink: 'حذف رابط', 47 | 48 | justifyLeft: 'تصحيح للشمال', 49 | justifyCenter: 'توسيط', 50 | justifyRight: 'تصحيح لليمين', 51 | justifyFull: 'تصحيح لكلا الإتّجاهين', 52 | 53 | horizontalRule: 'إدراج خطّ أفقي', 54 | 55 | fullscreen: 'ملء الشاشة', 56 | 57 | close: 'إغلاق', 58 | 59 | submit: 'إرسال', 60 | reset: 'إعادة تعيين', 61 | 62 | required: 'إلزامي', 63 | description: 'وصف', 64 | title: 'عنوان', 65 | text: 'نصّ', 66 | target: 'الهدف' 67 | }; 68 | -------------------------------------------------------------------------------- /src/langs/az.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * az.js 3 | * Azerbaijani translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Qalib Qurbanov 7 | * Github : https://github.com/qalibqurbanov 8 | */ 9 | 10 | jQuery.trumbowyg.langs.az = { 11 | viewHTML: 'HTML Kodu', 12 | 13 | formatting: 'Formatlama', 14 | p: 'Abzas', 15 | blockquote: 'Sitat', 16 | code: 'Kod', 17 | header: 'Başlıq', 18 | 19 | undo: 'Geri al', 20 | redo: 'İrəli al', 21 | 22 | superscript: 'Sözüstü', 23 | subscript: 'Sözaltı', 24 | 25 | bold: 'Qalın', 26 | italic: 'İtalik', 27 | strikethrough: 'Üzeri xəttli', 28 | underline: 'Altı xəttli', 29 | 30 | strong: 'Qalın', 31 | em: 'Vurğulu', 32 | del: 'Üzəri xəttli', 33 | 34 | unorderedList: 'İşarələnmiş siyahı', 35 | orderedList: 'Nömrələnmiş siyahı', 36 | 37 | insertImage: 'Şəkil yerləşdir', 38 | insertVideo: 'Video yerləşdir', 39 | link: 'Link', 40 | createLink: 'Link yerləşdir', 41 | unlink: 'Linki sil', 42 | 43 | justifyLeft: 'Sola nizamla', 44 | justifyCenter: 'Ortaya nizamla', 45 | justifyRight: 'Sağa nizamla', 46 | justifyFull: 'Üfüqi nizamla', 47 | 48 | horizontalRule: 'Üfüqi xətt əlavə et', 49 | 50 | fullscreen: 'Tam ekran', 51 | 52 | close: 'Bağla', 53 | 54 | submit: 'Təsdiq et', 55 | reset: 'Sıfırla', 56 | 57 | required: 'Vacib', 58 | description: 'Açıqlama', 59 | title: 'Başlıq', 60 | text: 'Mətn', 61 | 62 | removeformat: 'Formatlamanı təmizlə' 63 | }; 64 | -------------------------------------------------------------------------------- /src/langs/bg.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * bg.js 3 | * Bulgarian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Aleksandar Dimitrov 7 | */ 8 | 9 | jQuery.trumbowyg.langs.bg = { 10 | viewHTML: 'Прегледай HTML', 11 | 12 | formatting: 'Форматиране', 13 | p: 'Параграф', 14 | blockquote: 'Цитат', 15 | code: 'Код', 16 | header: 'Заглавие', 17 | 18 | bold: 'Удебелен', 19 | italic: 'Наклонен', 20 | strikethrough: 'Зачеркнат', 21 | underline: 'Подчертан', 22 | 23 | strong: 'Удебелен', 24 | em: 'Наклонен', 25 | del: 'Зачеркнат', 26 | 27 | unorderedList: 'Обикновен списък', 28 | orderedList: 'Номериран списък', 29 | 30 | insertImage: 'Добави изображение', 31 | insertVideo: 'Добави видео', 32 | link: 'Връзка', 33 | createLink: 'Създай връзка', 34 | unlink: 'Премахни връзката', 35 | 36 | justifyLeft: 'Подравни от ляво', 37 | justifyCenter: 'Центрирай', 38 | justifyRight: 'Подравни от дясно', 39 | justifyFull: 'Подравни по ширина', 40 | 41 | horizontalRule: 'Хоризонтална линия', 42 | 43 | fullscreen: 'На цял екран', 44 | 45 | close: 'Затвори', 46 | 47 | submit: 'Впиши', 48 | reset: 'Отмени', 49 | 50 | required: 'Задължително', 51 | description: 'Описание', 52 | title: 'Заглавие', 53 | text: 'Текст' 54 | }; 55 | -------------------------------------------------------------------------------- /src/langs/bn.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * bn.js 3 | * Bangla translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Ahammad Naim 7 | * Website : https://github.com/AhammadNaim 8 | */ 9 | 10 | jQuery.trumbowyg.langs.bn = { 11 | viewHTML: 'HTML দেখান', 12 | 13 | undo: 'পূর্বাবস্থায় ফিরুন', 14 | redo: 'পুনরায় করুন', 15 | 16 | formatting: 'বিন্যাস', 17 | p: 'অনুচ্ছেদ', 18 | blockquote: 'উদ্ধৃতি', 19 | code: 'কোড', 20 | header: 'শিরোনাম', 21 | 22 | bold: 'বোল্ড', 23 | italic: 'ইটালিক', 24 | strikethrough: 'স্ট্রাইকথ্রু', 25 | underline: 'আন্ডারলাইন', 26 | 27 | strong: 'বোল্ড', 28 | em: 'ইটালিক', 29 | del: 'স্ট্রাইকথ্রু', 30 | 31 | superscript: 'সুপারস্ক্রিপ্ট', 32 | subscript: 'সাবস্ক্রিপ্ট', 33 | 34 | unorderedList: 'অসংখ্যায়িত তালিকা', 35 | orderedList: 'সাজানো তালিকা', 36 | 37 | insertImage: 'ছবি', 38 | link: 'লিংক', 39 | createLink: 'লিংক তৈরি করুন', 40 | unlink: 'লিংক মুছুন', 41 | 42 | justifyLeft: 'বামে জাস্টিফাইড', 43 | justifyCenter: 'কেন্দ্রীভূত', 44 | justifyRight: 'ডানে জাস্টিফাইড', 45 | justifyFull: 'জাস্টিফাইড', 46 | 47 | horizontalRule: 'আনুভূমিক দাগ', 48 | removeformat: 'বিন্যাস অপসারণ করুন', 49 | 50 | fullscreen: 'সম্পূর্ণ পর্দায় দেখুন', 51 | 52 | close: 'বন্ধ', 53 | 54 | submit: 'প্রেরণ', 55 | reset: 'বাতিল', 56 | 57 | required: 'আবশ্যক', 58 | description: 'বর্ননা', 59 | title: 'শিরোনাম', 60 | text: 'পাঠ্য', 61 | target: 'লক্ষ্য' 62 | }; 63 | -------------------------------------------------------------------------------- /src/langs/by.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * by.js 3 | * Belarusian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Yury Karalkou 7 | */ 8 | 9 | jQuery.trumbowyg.langs.by = { 10 | viewHTML: 'Паглядзець HTML', 11 | 12 | undo: 'Скасаваць', 13 | redo: 'Паўтарыць', 14 | 15 | formatting: 'Фарматаванне', 16 | p: 'Звычайны', 17 | blockquote: 'Цытата', 18 | code: 'Код', 19 | header: 'Загаловак', 20 | 21 | bold: 'Паўтлусты', 22 | italic: 'Курсіў', 23 | strikethrough: 'Закрэслены', 24 | underline: 'Падкрэслены', 25 | 26 | strong: 'Паўтлусты', 27 | em: 'Курсіў', 28 | del: 'Закрэслены', 29 | 30 | superscript: 'Верхні індэкс', 31 | subscript: 'Індэкс', 32 | 33 | unorderedList: 'Звычайны спіс', 34 | orderedList: 'Нумараваны спіс', 35 | 36 | insertImage: 'Уставіць выяву', 37 | insertVideo: 'Уставіць відэа', 38 | link: 'Спасылка', 39 | createLink: 'Уставіць спасылку', 40 | unlink: 'Выдаліць спасылку', 41 | 42 | justifyLeft: 'Па леваму боку', 43 | justifyCenter: 'У цэнтры', 44 | justifyRight: 'Па праваму боку', 45 | justifyFull: 'Па шырыні', 46 | 47 | horizontalRule: 'Гарызантальная лінія', 48 | removeformat: 'Ачысціць фарматаванне', 49 | 50 | fullscreen: 'На ўвесь экран', 51 | 52 | close: 'Зачыніць', 53 | 54 | submit: 'Уставіць', 55 | reset: 'Скасаваць', 56 | 57 | required: 'Абавязкова', 58 | description: 'Апісанне', 59 | title: 'Падказка', 60 | text: 'Тэкст' 61 | }; 62 | -------------------------------------------------------------------------------- /src/langs/ca.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * ca.js 3 | * Catalan translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Authors : Àlfons Sánchez (alsanan) 7 | * Twitter : @alsanan 8 | * Website : about.me/alsanan 9 | * Github : https://github.com/alsanan 10 | * 11 | * Carles Martínez 12 | * Website : calaix.net 13 | */ 14 | 15 | jQuery.trumbowyg.langs.ca = { 16 | viewHTML: 'Veure HTML', 17 | 18 | undo: 'Desfés', 19 | redo: 'Refés', 20 | 21 | formatting: 'Format', 22 | p: 'Paragraf', 23 | blockquote: 'Citació', 24 | code: 'Codi', 25 | header: 'Títol', 26 | 27 | bold: 'Negreta', 28 | italic: 'Cursiva', 29 | strikethrough: 'Ratllat', 30 | underline: 'Subratllat', 31 | 32 | strong: 'Negreta', 33 | em: 'Cursiva', 34 | del: 'Apagar', 35 | 36 | superscript: 'Superíndex', 37 | subscript: 'Subíndex', 38 | 39 | unorderedList: 'Llista desordenada', 40 | orderedList: 'Llista ordenada', 41 | 42 | insertImage: 'Inserir imatge', 43 | insertVideo: 'Inserir vídeo', 44 | link: 'Enllaç', 45 | createLink: 'Crear un enllaç', 46 | unlink: 'Eliminar enllaç', 47 | 48 | target: 'Obertura', 49 | _self: 'Mateixa pestanya', 50 | _blank: 'Nova pestanya', 51 | 52 | justifyLeft: 'Alinear a esquerra', 53 | justifyCenter: 'Centrar', 54 | justifyRight: 'Alinear a dreta', 55 | justifyFull: 'Justificar', 56 | 57 | horizontalRule: 'Inserir separador horitzontal', 58 | 59 | removeformat: 'Eliminar format', 60 | 61 | fullscreen: 'Pantalla completa', 62 | 63 | close: 'Tancar', 64 | 65 | submit: 'Enviar', 66 | reset: 'Cancel·lar', 67 | 68 | required: 'Obligatori', 69 | description: 'Descripció', 70 | title: 'Títol', 71 | text: 'Text', 72 | 73 | width: 'Amplada' 74 | }; 75 | -------------------------------------------------------------------------------- /src/langs/cs.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * cs.js 3 | * Czech translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Jan Svoboda (https://github.com/svoboda-jan) 7 | */ 8 | 9 | jQuery.trumbowyg.langs.cs = { 10 | viewHTML: 'Zobrazit HTML', 11 | 12 | redo: 'Vpřed', 13 | undo: 'Zpět', 14 | 15 | formatting: 'Formátování', 16 | p: 'Odstavec', 17 | blockquote: 'Citace', 18 | code: 'Kód', 19 | header: 'Nadpis', 20 | 21 | bold: 'Tučné', 22 | italic: 'Kurzíva', 23 | strikethrough: 'Přeškrtnuté', 24 | underline: 'Podtržené', 25 | 26 | strong: 'Tučné', 27 | em: 'Zvýraznit', 28 | del: 'Přeškrtnuté', 29 | 30 | superscript: 'Horní index', 31 | subscript: 'Dolní index', 32 | 33 | unorderedList: 'Netříděný seznam', 34 | orderedList: 'Tříděný seznam', 35 | 36 | insertImage: 'Vložit obrázek', 37 | insertVideo: 'Vložit video', 38 | link: 'Odkaz', 39 | createLink: 'Vložit odkaz', 40 | unlink: 'Smazat odkaz', 41 | 42 | justifyLeft: 'Zarovnat doleva', 43 | justifyCenter: 'Zarovnat na střed', 44 | justifyRight: 'Zarovnat doprava', 45 | justifyFull: 'Zarovnat do bloku', 46 | 47 | horizontalRule: 'Vložit vodorovnou čáru', 48 | 49 | 50 | removeformat: 'Vymazat formátování', 51 | fullscreen: 'Režim celé obrazovky', 52 | 53 | close: 'Zavřít', 54 | 55 | submit: 'Potvrdit', 56 | reset: 'Zrušit', 57 | 58 | required: 'Povinné', 59 | description: 'Popis', 60 | title: 'Nadpis', 61 | text: 'Text', 62 | target: 'Cíl' 63 | }; 64 | -------------------------------------------------------------------------------- /src/langs/da.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * da.js 3 | * Danish translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Christian Pedersen 7 | * Github : https://github.com/chripede 8 | */ 9 | 10 | jQuery.trumbowyg.langs.da = { 11 | viewHTML: 'Vis HTML', 12 | 13 | undo: 'Fortryd', 14 | redo: 'Anuller fortryd', 15 | 16 | formatting: 'Formattering', 17 | p: 'Afsnit', 18 | blockquote: 'Citat', 19 | code: 'Kode', 20 | header: 'Overskrift', 21 | 22 | bold: 'Fed', 23 | italic: 'Kursiv', 24 | strikethrough: 'Gennemstreg', 25 | underline: 'Understreg', 26 | 27 | strong: 'Vigtig', 28 | em: 'Fremhæv', 29 | del: 'Slettet', 30 | 31 | superscript: 'Hævet skrift', 32 | subscript: 'Sænket skrift', 33 | 34 | unorderedList: 'Uordnet liste', 35 | orderedList: 'Ordnet liste', 36 | 37 | insertImage: 'Indsæt billede', 38 | insertVideo: 'Indsæt video', 39 | link: 'Link', 40 | createLink: 'Indsæt link', 41 | unlink: 'Fjern link', 42 | 43 | justifyLeft: 'Venstrestil', 44 | justifyCenter: 'Centrer', 45 | justifyRight: 'Højrestil', 46 | justifyFull: 'Lige margener', 47 | 48 | horizontalRule: 'Horisontal linie', 49 | removeformat: 'Ryd formattering', 50 | 51 | fullscreen: 'Fuld skærm', 52 | 53 | close: 'Luk', 54 | 55 | submit: 'Bekræft', 56 | reset: 'Annuller', 57 | 58 | required: 'Påkrævet', 59 | description: 'Beskrivelse', 60 | title: 'Titel', 61 | text: 'Tekst', 62 | target: 'Mål', 63 | width: 'Bredde' 64 | }; 65 | -------------------------------------------------------------------------------- /src/langs/de.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * de.js 3 | * German translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Manfred Timm, johangroe 7 | * Github : https://github.com/Manfred62, https://github.com/johangroe 8 | */ 9 | 10 | jQuery.trumbowyg.langs.de = { 11 | viewHTML: 'HTML anzeigen', 12 | 13 | undo: 'Rückgängig', 14 | redo: 'Wiederholen', 15 | 16 | formatting: 'Formatierung', 17 | p: 'Absatz', 18 | blockquote: 'Zitat', 19 | code: 'Code', 20 | header: 'Überschrift', 21 | 22 | bold: 'Fett', 23 | italic: 'Kursiv', 24 | strikethrough: 'Durchgestrichen', 25 | underline: 'Unterstrichen', 26 | 27 | strong: 'Wichtig', 28 | em: 'Betont', 29 | del: 'Gelöscht', 30 | 31 | superscript: 'Hochgestellt', 32 | subscript: 'Tiefgestellt', 33 | 34 | unorderedList: 'Ungeordnete Liste', 35 | orderedList: 'Geordnete Liste', 36 | 37 | image: 'Bild', 38 | insertImage: 'Bild einfügen', 39 | insertVideo: 'Video einfügen', 40 | link: 'Link', 41 | createLink: 'Link einfügen', 42 | unlink: 'Link entfernen', 43 | 44 | _self: 'Gleicher Tab (Standard)', 45 | _blank: 'Neuer Tab', 46 | 47 | justifyLeft: 'Links ausrichten', 48 | justifyCenter: 'Zentrieren', 49 | justifyRight: 'Rechts ausrichten', 50 | justifyFull: 'Blocksatz', 51 | 52 | horizontalRule: 'Horizontale Linie einfügen', 53 | removeformat: 'Formatierung entfernen', 54 | 55 | fullscreen: 'Vollbild', 56 | 57 | close: 'Schließen', 58 | 59 | submit: 'Bestätigen', 60 | reset: 'Abbrechen', 61 | 62 | required: 'Erforderlich', 63 | description: 'Beschreibung', 64 | title: 'Titel', 65 | text: 'Text' 66 | }; 67 | -------------------------------------------------------------------------------- /src/langs/el.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * el.js 3 | * Greek translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Merianos Nikos 7 | * Twitter : @_webresources 8 | * Website : http://www.wp-lion.com 9 | * LinkedIn: https://gr.linkedin.com/in/merianosnikos 10 | * Behance: https://www.behance.net/web_design_blog 11 | */ 12 | 13 | jQuery.trumbowyg.langs.el = { 14 | viewHTML: 'Προβολή κώδικα HTML', 15 | 16 | formatting: 'Μορφοποίηση', 17 | p: 'Παράγραφος', 18 | blockquote: 'Παράθεση', 19 | code: 'Κώδικας', 20 | header: 'Επικεφαλίδα', 21 | 22 | bold: 'Έντονα', 23 | italic: 'Πλάγια', 24 | strikethrough: 'Διαγραφή', 25 | underline: 'Υπογράμμιση', 26 | 27 | strong: 'Έντονα', 28 | em: 'Πλάγια', 29 | del: 'Διαγραφή', 30 | 31 | unorderedList: 'Αταξινόμητη λίστα', 32 | orderedList: 'Ταξινομημένη λίστα', 33 | 34 | insertImage: 'Εισαγωγή εικόνας', 35 | insertVideo: 'Εισαγωγή βίντεο', 36 | link: 'Σύνδεσμος', 37 | createLink: 'Δημιουργία συνδέσμου', 38 | unlink: 'Διαγραφή συνδέσμου', 39 | 40 | justifyLeft: 'Στοίχιση αριστερά', 41 | justifyCenter: 'Στοίχιση στο κέντρο', 42 | justifyRight: 'Στοίχιση δεξιά', 43 | justifyFull: 'Πλήρης στοίχιση', 44 | 45 | horizontalRule: 'Οριζόντια γραμμή', 46 | removeformat: 'Καθαρισμός μορφοποίησης', 47 | 48 | fullscreen: 'Πλήρης οθόνη', 49 | 50 | close: 'Κλείσιμο', 51 | 52 | submit: 'Υποβολή', 53 | reset: 'Επαναφορά', 54 | 55 | required: 'Απαραίτητο', 56 | description: 'Περιγραφή', 57 | title: 'Τίτλος', 58 | text: 'Κείμενο' 59 | }; 60 | -------------------------------------------------------------------------------- /src/langs/en.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * en.js 3 | * English translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Alexandre Demode (Alex-D) 7 | * Twitter : @AlexandreDemode 8 | * Website : alex-d.fr 9 | */ 10 | 11 | /** 12 | * English is the default language of Trumbowyg, 13 | * you don't need to include any file :) 14 | */ 15 | -------------------------------------------------------------------------------- /src/langs/es.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * es.js 3 | * Spanish translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Moisés Márquez 7 | * Email : moises.marquez.g@gmail.com 8 | */ 9 | 10 | jQuery.trumbowyg.langs.es = { 11 | viewHTML: 'Ver HTML', 12 | 13 | undo: 'Deshacer', 14 | redo: 'Rehacer', 15 | 16 | formatting: 'Formato', 17 | p: 'Párrafo', 18 | blockquote: 'Cita', 19 | code: 'Código', 20 | header: 'Título', 21 | 22 | bold: 'Negrita', 23 | italic: 'Cursiva', 24 | strikethrough: 'Tachado', 25 | underline: 'Subrayado', 26 | 27 | strong: 'Negrita', 28 | em: 'Énfasis', 29 | del: 'Borrar', 30 | 31 | superscript: 'Sobrescrito', 32 | subscript: 'Subíndice', 33 | 34 | unorderedList: 'Lista Desordenada', 35 | orderedList: 'Lista Ordenada', 36 | 37 | insertImage: 'Insertar una imagen', 38 | insertVideo: 'Insertar un vídeo', 39 | link: 'Enlace', 40 | createLink: 'Insertar un enlace', 41 | unlink: 'Suprimir un enlace', 42 | 43 | justifyLeft: 'Izquierda', 44 | justifyCenter: 'Centrar', 45 | justifyRight: 'Derecha', 46 | justifyFull: 'Justificado', 47 | 48 | horizontalRule: 'Insertar separador horizontal', 49 | removeformat: 'Eliminar formato', 50 | 51 | fullscreen: 'Pantalla completa', 52 | 53 | close: 'Cerrar', 54 | 55 | submit: 'Enviar', 56 | reset: 'Cancelar', 57 | 58 | required: 'Obligatorio', 59 | description: 'Descripción', 60 | title: 'Título', 61 | text: 'Texto', 62 | target: 'Target' 63 | }; 64 | -------------------------------------------------------------------------------- /src/langs/es_ar.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * es_ar.js 3 | * Spanish (Argentina) translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Félix Vera 7 | * Email : felix.vera@gmail.com 8 | */ 9 | 10 | // jshint camelcase:false 11 | jQuery.trumbowyg.langs.es_ar = { 12 | viewHTML: 'Ver HTML', 13 | 14 | formatting: 'Formato', 15 | p: 'Párrafo', 16 | blockquote: 'Cita', 17 | code: 'Código', 18 | header: 'Título', 19 | 20 | bold: 'Negrita', 21 | italic: 'Itálica', 22 | strikethrough: 'Tachado', 23 | underline: 'Subrayado', 24 | 25 | strong: 'Fuere', 26 | em: 'Énfasis', 27 | del: 'Borrar', 28 | 29 | unorderedList: 'Lista Desordenada', 30 | orderedList: 'Lista Ordenada', 31 | 32 | insertImage: 'Insertar una imagen', 33 | insertVideo: 'Insertar un video', 34 | link: 'Vínculo', 35 | createLink: 'Insertar un vínculo', 36 | unlink: 'Suprimir un vínculo', 37 | 38 | justifyLeft: 'Alinear a la Izquierda', 39 | justifyCenter: 'Centrar', 40 | justifyRight: 'Alinear a la Derecha', 41 | justifyFull: 'Justificado', 42 | 43 | horizontalRule: 'Insertar separado Horizontal', 44 | 45 | fullscreen: 'Pantalla Completa', 46 | 47 | close: 'Cerrar', 48 | 49 | submit: 'Enviar', 50 | reset: 'Cancelar', 51 | 52 | required: 'Obligatorio', 53 | description: 'Descripción', 54 | title: 'Título', 55 | text: 'Texto' 56 | }; 57 | -------------------------------------------------------------------------------- /src/langs/et.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * et.js 3 | * Estonian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Mart Leib 7 | * Web: https://voogle.ee 8 | */ 9 | 10 | jQuery.trumbowyg.langs.et = { 11 | viewHTML: 'HTML vaade', 12 | 13 | undo: 'Võta tagasi', 14 | redo: 'Tee uuesti', 15 | 16 | formatting: 'Vorming', 17 | p: 'Lõik', 18 | blockquote: 'Plokktsitaat', 19 | code: 'Kood', 20 | header: 'Pealkiri', 21 | 22 | bold: 'Paks', 23 | italic: 'Kaldkiri', 24 | strikethrough: 'Läbikriipsutatud', 25 | underline: 'Allakriipsutatud', 26 | 27 | strong: 'Tugev rõhutus', 28 | em: 'Rõhutus', 29 | del: 'Eemaldatud', 30 | 31 | superscript: 'Ülemine indeks', 32 | subscript: 'Alumine indeks', 33 | 34 | unorderedList: 'Järjestamata loend', 35 | orderedList: 'Järjestatud loend', 36 | 37 | insertImage: 'Lisa pilt', 38 | insertVideo: 'Lisa video', 39 | link: 'Link', 40 | createLink: 'Lisa link', 41 | unlink: 'Eemalda link', 42 | 43 | justifyLeft: 'Joonda vasakule', 44 | justifyCenter: 'Joonda keskele', 45 | justifyRight: 'Joonda paremale', 46 | justifyFull: 'Joonda rööpselt', 47 | 48 | horizontalRule: 'Horisontaaljoon', 49 | removeformat: 'Eemalda vorming', 50 | 51 | fullscreen: 'Täisekraan', 52 | 53 | close: 'Sulge', 54 | 55 | submit: 'Salvesta', 56 | reset: 'Tühista', 57 | 58 | required: 'Kohustuslik', 59 | description: 'Kirjeldus', 60 | title: 'Pealkiri', 61 | text: 'Tekst', 62 | target: 'Sihtmärk', 63 | width: 'Laius' 64 | 65 | }; 66 | -------------------------------------------------------------------------------- /src/langs/fa.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * fa.js 3 | * Persian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Kiarash Soleimanzadeh 7 | * Github : https://github.com/kiyarash 8 | * Email : kiarash.s@hotmail.com 9 | */ 10 | 11 | jQuery.trumbowyg.langs.fa = { 12 | _dir: 'rtl', 13 | 14 | viewHTML: 'نمایش کد اچ تی ام ال', 15 | 16 | formatting: 'قالب بندی', 17 | p: 'پاراگراف', 18 | blockquote: 'نقل قول', 19 | code: 'کد', 20 | header: 'سر تیتر', 21 | 22 | bold: 'ضخیم', 23 | italic: 'مورب', 24 | strikethrough: 'میان خط دار', 25 | underline: 'زیر خط دار', 26 | 27 | strong: 'برجسته', 28 | em: 'مورب', 29 | del: 'حذف شده', 30 | 31 | unorderedList: 'لیست نامرتب', 32 | orderedList: 'لیست مرتب', 33 | 34 | insertImage: 'درج تصویر', 35 | insertVideo: 'درج ویدئو', 36 | link: 'لینک', 37 | createLink: 'درج لینک', 38 | unlink: 'حذف لینک', 39 | 40 | justifyLeft: 'تراز به چپ', 41 | justifyCenter: 'تراز به وسط', 42 | justifyRight: 'تراز به راست', 43 | justifyFull: 'تراز به چپ و راست', 44 | 45 | horizontalRule: 'درج خط افقی', 46 | 47 | fullscreen: 'تمام صفحه', 48 | 49 | close: 'بستن', 50 | 51 | submit: 'تائید', 52 | reset: 'انصراف', 53 | 54 | required: 'اجباری', 55 | description: 'توضیحات', 56 | title: 'عنوان', 57 | text: 'متن' 58 | }; 59 | -------------------------------------------------------------------------------- /src/langs/fi.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * fi.js 3 | * Finnish translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Teppo Koivula (teppokoivula) 7 | * Github : https://github.com/teppokoivula 8 | */ 9 | 10 | jQuery.trumbowyg.langs.fi = { 11 | viewHTML: 'Näytä HTML', 12 | 13 | undo: 'Kumoa', 14 | redo: 'Tee uudelleen', 15 | 16 | formatting: 'Muotoilu', 17 | p: 'Kappale', 18 | blockquote: 'Lainaus', 19 | code: 'Koodi', 20 | header: 'Otsikko', 21 | 22 | bold: 'Lihavointi', 23 | italic: 'Kursivointi', 24 | strikethrough: 'Yliviivaus', 25 | underline: 'Allevivaus', 26 | 27 | strong: 'Vahvennus', 28 | em: 'Painotus', 29 | del: 'Poistettu', 30 | 31 | unorderedList: 'Luettelo', 32 | orderedList: 'Numeroitu luettelo', 33 | 34 | insertImage: 'Lisää kuva', 35 | insertVideo: 'Lisää video', 36 | link: 'Linkki', 37 | createLink: 'Luo linkki', 38 | unlink: 'Poista linkki', 39 | 40 | justifyLeft: 'Tasaa vasemmalle', 41 | justifyCenter: 'Keskitä', 42 | justifyRight: 'Tasaa oikealle', 43 | justifyFull: 'Tasaa', 44 | 45 | horizontalRule: 'Vaakaviiva', 46 | 47 | fullscreen: 'Kokoruutu', 48 | 49 | close: 'Sulje', 50 | 51 | submit: 'Lisää', 52 | reset: 'Palauta', 53 | 54 | required: 'Pakollinen', 55 | description: 'Kuvaus', 56 | title: 'Otsikko', 57 | text: 'Teksti' 58 | }; 59 | -------------------------------------------------------------------------------- /src/langs/fr.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * fr.js 3 | * French translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Alexandre Demode (Alex-D) 7 | * Twitter : @AlexandreDemode 8 | * Website : alex-d.fr 9 | * Reviewed by : Abdou Developer (test20091) 10 | * Github : https://github.com/test20091 11 | */ 12 | 13 | jQuery.trumbowyg.langs.fr = { 14 | viewHTML: 'Voir le HTML', 15 | 16 | undo: 'Annuler', 17 | redo: 'Refaire', 18 | 19 | formatting: 'Format', 20 | p: 'Paragraphe', 21 | blockquote: 'Citation', 22 | code: 'Code', 23 | header: 'Titre', 24 | 25 | bold: 'Gras', 26 | italic: 'Italique', 27 | strikethrough: 'Barré', 28 | underline: 'Souligné', 29 | 30 | strong: 'Fort', 31 | em: 'Emphase', 32 | del: 'Supprimé', 33 | 34 | superscript: 'Exposant', 35 | subscript: 'Indice', 36 | 37 | unorderedList: 'Liste à puces', 38 | orderedList: 'Liste ordonnée', 39 | 40 | insertImage: 'Insérer une image', 41 | insertVideo: 'Insérer une video', 42 | link: 'Lien', 43 | createLink: 'Insérer un lien', 44 | unlink: 'Supprimer le lien', 45 | 46 | _self: 'Même onglet (par défaut)', 47 | _blank: 'Nouvel onglet', 48 | 49 | justifyLeft: 'Aligner à gauche', 50 | justifyCenter: 'Centrer', 51 | justifyRight: 'Aligner à droite', 52 | justifyFull: 'Justifier', 53 | 54 | horizontalRule: 'Insérer un séparateur horizontal', 55 | removeformat: 'Supprimer formatage', 56 | 57 | fullscreen: 'Plein écran', 58 | 59 | close: 'Fermer', 60 | 61 | submit: 'Valider', 62 | reset: 'Annuler', 63 | 64 | required: 'Obligatoire', 65 | description: 'Description', 66 | title: 'Titre', 67 | text: 'Texte', 68 | target: 'Cible' 69 | }; 70 | -------------------------------------------------------------------------------- /src/langs/he.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * he.js 3 | * Hebrew translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Udi Doron (udidoron) 7 | * Github : https://github.com/udidoron 8 | */ 9 | 10 | jQuery.trumbowyg.langs.he = { 11 | _dir: 'rtl', 12 | 13 | viewHTML: 'צפה ב-HTML', 14 | 15 | formatting: 'פורמט', 16 | p: 'פסקה', 17 | blockquote: 'ציטוט', 18 | code: 'קוד', 19 | header: 'ראשית', 20 | 21 | bold: 'מודגש', 22 | italic: 'נטוי', 23 | strikethrough: 'קו חוצה', 24 | underline: 'קו תחתון', 25 | 26 | strong: 'בולט', 27 | em: 'הדגשה', 28 | del: 'נמחק', 29 | 30 | unorderedList: 'רשימה ללא סדר', 31 | orderedList: 'רשימה מסודרת', 32 | 33 | insertImage: 'הכנס תמונה', 34 | insertVideo: 'הכנס סרטון', 35 | link: 'קישור', 36 | createLink: 'צור קישור', 37 | unlink: 'הסר קישור', 38 | 39 | justifyLeft: 'ישר לשמאל', 40 | justifyCenter: 'מרכז', 41 | justifyRight: 'ישר לימין', 42 | justifyFull: 'ישר לשני הצדדים', 43 | 44 | horizontalRule: 'הכנס קו אופקי', 45 | 46 | fullscreen: 'מסך מלא', 47 | 48 | close: 'סגור', 49 | 50 | submit: 'שלח', 51 | reset: 'אתחל מחדש', 52 | 53 | required: 'נחוץ', 54 | description: 'תיאור', 55 | title: 'כותרת', 56 | text: 'טקסט' 57 | }; 58 | -------------------------------------------------------------------------------- /src/langs/hr.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * hr.js 3 | * Croatian translation for Trumbowyg 4 | * https://www.github.com/Buda9 5 | * =========================================================== 6 | * Author : Davor Budimir (https://www.github.com/Buda9) 7 | */ 8 | 9 | // jshint camelcase:false 10 | jQuery.trumbowyg.langs.hr = { 11 | viewHTML: 'Poglеdaj HTML kód', 12 | 13 | formatting: 'Formatiranjе', 14 | p: 'Odlomak', 15 | blockquote: 'Citat', 16 | code: 'Kód', 17 | header: 'Zaglavlje', 18 | 19 | bold: 'Podеbljano', 20 | italic: 'Nakošeno', 21 | strikethrough: 'Prеcrtano', 22 | underline: 'Podvučеno', 23 | 24 | strong: 'Podеbljano', 25 | em: 'Istaknuto', 26 | del: 'Obrisano', 27 | 28 | unorderedList: 'Neuređen popis', 29 | orderedList: 'Uređen popis', 30 | insertImage: 'Dodaj sliku', 31 | insertVideo: 'Dodaj vidеo', 32 | link: 'Povezica', 33 | createLink: 'Dodaj povezicu', 34 | unlink: 'Ukloni povezicu', 35 | 36 | justifyLeft: 'Lijеvo poravnanjе', 37 | justifyCenter: 'Središnje poravnanjе', 38 | justifyRight: 'Dеsno poravnanjе', 39 | justifyFull: 'Obostrano poravnanjе', 40 | 41 | horizontalRule: 'Horizontalna crta', 42 | 43 | fullscreen: 'Puni zaslon', 44 | 45 | close: 'Zatvori', 46 | 47 | submit: 'Unеsi', 48 | reset: 'Otkaži', 49 | 50 | required: 'Obavеzno poljе', 51 | description: 'Opis', 52 | title: 'Naslov', 53 | text: 'Tеkst' 54 | }; 55 | -------------------------------------------------------------------------------- /src/langs/hu.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * hu.js 3 | * Hungarian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Peter MATO 7 | * Web: http://fixme.hu 8 | * GitHub: https://github.com/matopeter 9 | */ 10 | 11 | jQuery.trumbowyg.langs.hu = { 12 | viewHTML: 'HTML nézet', 13 | 14 | undo: 'Visszavon', 15 | redo: 'Visszállít', 16 | 17 | formatting: 'Stílusok', 18 | 19 | p: 'Bekezdés', 20 | blockquote: 'Idézet', 21 | code: 'Kód', 22 | header: 'Címsor', 23 | 24 | bold: 'Félkövér', 25 | italic: 'Dőlt', 26 | strikethrough: 'Áthúzott', 27 | underline: 'Aláhúzott', 28 | 29 | strong: 'Vastag', 30 | em: 'Kiemelt', 31 | del: 'Törölt', 32 | 33 | unorderedList: 'Felsorolás', 34 | orderedList: 'Számozás', 35 | 36 | insertImage: 'Kép beszúrása', 37 | insertVideo: 'Video beszúrása', 38 | link: 'Link', 39 | createLink: 'Link létrehozása', 40 | unlink: 'Link eltávolítása', 41 | 42 | justifyLeft: 'Balra igazítás', 43 | justifyCenter: 'Középre igazítás', 44 | justifyRight: 'Jobbra igazítás', 45 | justifyFull: 'Sorkizárt', 46 | 47 | horizontalRule: 'Vízszintes vonal', 48 | 49 | fullscreen: 'Teljes képernyő', 50 | close: 'Bezár', 51 | 52 | submit: 'Beküldés', 53 | reset: 'Alaphelyzet', 54 | 55 | required: 'Kötelező', 56 | description: 'Leírás', 57 | title: 'Cím', 58 | text: 'Szöveg', 59 | 60 | removeformat: 'Formázás eltávolítása' 61 | }; 62 | -------------------------------------------------------------------------------- /src/langs/id.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * id.js 3 | * Indonesian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Rezha Julio (kimiamania) 7 | * Twitter : @kimiamania 8 | * Website : http://rezhajulio.web.id 9 | * Github : https://github.com/kimiamania 10 | */ 11 | 12 | jQuery.trumbowyg.langs.id = { 13 | viewHTML: 'Lihat HTML', 14 | 15 | formatting: 'Penyusunan', 16 | p: 'Paragraf', 17 | blockquote: 'Kutipan', 18 | code: 'Kode', 19 | header: 'Kepala', 20 | 21 | bold: 'Tebal', 22 | italic: 'Miring', 23 | strikethrough: 'Coret', 24 | underline: 'Garis bawah', 25 | 26 | strong: 'Tebal', 27 | em: 'Miring', 28 | del: 'Dicoret', 29 | 30 | unorderedList: 'Daftar tak teratur', 31 | orderedList: 'Daftar teratur', 32 | 33 | insertImage: 'Sisipkan gambar', 34 | insertVideo: 'Sisipkan video', 35 | link: 'Tautan', 36 | createLink: 'Sisipkan Tautan', 37 | unlink: 'Singkirkan tautan', 38 | 39 | justifyLeft: 'Rata kiri', 40 | justifyCenter: 'Rata Tengah', 41 | justifyRight: 'Rata kanan', 42 | justifyFull: 'Rata kiri dan kanan', 43 | 44 | horizontalRule: 'Sisipkan garis mendatar', 45 | 46 | fullscreen: 'Layar penuh', 47 | 48 | close: 'Tutup', 49 | 50 | submit: 'Setuju', 51 | reset: 'Batal', 52 | 53 | required: 'Diperlukan', 54 | description: 'Deskripsi', 55 | title: 'Judul', 56 | text: 'Teks' 57 | }; 58 | -------------------------------------------------------------------------------- /src/langs/it.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * it.js 3 | * Italian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Mirko Buffoni 7 | */ 8 | 9 | jQuery.trumbowyg.langs.it = { 10 | viewHTML: 'Mostra HTML', 11 | 12 | undo: 'Annulla', 13 | redo: 'Ripeti', 14 | 15 | formatting: 'Formattazione', 16 | p: 'Paragrafo', 17 | blockquote: 'Citazione', 18 | code: 'Codice', 19 | header: 'Intestazione', 20 | 21 | bold: 'Grassetto', 22 | italic: 'Italico', 23 | strikethrough: 'Barrato', 24 | underline: 'Sottolineato', 25 | 26 | strong: 'Rafforza', 27 | em: 'Enfatizza', 28 | del: 'Cancella', 29 | 30 | unorderedList: 'Elenco puntato', 31 | orderedList: 'Elenco numerato', 32 | 33 | insertImage: 'Inserisci immagine', 34 | insertVideo: 'Inserisci video', 35 | link: 'Collegamento', 36 | createLink: 'Crea un collegamento', 37 | unlink: 'Elimina collegamento', 38 | 39 | justifyLeft: 'Allinea a sinistra', 40 | justifyCenter: 'Centra', 41 | justifyRight: 'Allinea a destra', 42 | justifyFull: 'Giustifica', 43 | 44 | horizontalRule: 'Inserisci un separatore orizzontale', 45 | 46 | fullscreen: 'Schermo intero', 47 | 48 | close: 'Chiudi', 49 | 50 | submit: 'Invia', 51 | reset: 'Annulla', 52 | 53 | required: 'Obbligatorio', 54 | description: 'Descrizione', 55 | title: 'Titolo', 56 | text: 'Testo', 57 | 58 | removeformat: 'Rimuovi Formattazione', 59 | 60 | superscript: 'Apice', 61 | subscript: 'Pedice' 62 | }; 63 | -------------------------------------------------------------------------------- /src/langs/ja.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * ja.js 3 | * Japanese translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Kouta Fukuhara (foo9) 7 | * Twitter : @foo9 8 | * Website : https://github.com/foo9 9 | */ 10 | 11 | jQuery.trumbowyg.langs.ja = { 12 | viewHTML: 'HTML表示', 13 | 14 | undo: '元に戻す', 15 | redo: 'やり直す', 16 | 17 | formatting: 'フォーマット', 18 | p: '段落', 19 | blockquote: '引用', 20 | code: 'コード', 21 | header: '見出し', 22 | 23 | bold: '太字', 24 | italic: '斜体', 25 | strikethrough: '取り消し線', 26 | underline: '下線', 27 | 28 | strong: '太字', 29 | em: '斜体', 30 | del: '取り消し線', 31 | 32 | superscript: '上付き文字', 33 | subscript: '下付き文字', 34 | 35 | unorderedList: '順序なしリスト', 36 | orderedList: '順序ありリスト', 37 | 38 | insertImage: '画像の挿入', 39 | link: 'リンク', 40 | createLink: 'リンクの作成', 41 | unlink: 'リンクの削除', 42 | 43 | justifyLeft: '左揃え', 44 | justifyCenter: '中央揃え', 45 | justifyRight: '右揃え', 46 | justifyFull: '両端揃え', 47 | 48 | horizontalRule: '横罫線', 49 | removeformat: 'フォーマットの削除', 50 | 51 | fullscreen: '全画面表示', 52 | 53 | close: '閉じる', 54 | 55 | submit: '送信', 56 | reset: 'キャンセル', 57 | 58 | required: '必須', 59 | description: '説明', 60 | title: 'タイトル', 61 | text: 'テキスト', 62 | target: 'ターゲット' 63 | }; 64 | -------------------------------------------------------------------------------- /src/langs/ko.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * ko.js 3 | * Korean translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : SeungWoo Chae (SDuck4) 7 | * Github : https://github.com/SDuck4 8 | * Victor Chanil Park (opdev1004) 9 | * Github : https://github.com/opdev1004 10 | */ 11 | 12 | jQuery.trumbowyg.langs.ko = { 13 | viewHTML: 'HTML 보기', 14 | 15 | undo: '되돌리기', 16 | redo: '다시 실행', 17 | 18 | formatting: '스타일', 19 | p: '본문', 20 | blockquote: '인용문', 21 | code: '코드', 22 | header: '제목', 23 | 24 | bold: '진하게', 25 | italic: '기울임', 26 | strikethrough: '취소선', 27 | underline: '밑줄', 28 | 29 | strong: '중요', 30 | em: '강조', 31 | del: '삭제', 32 | 33 | superscript: '위 첨자', 34 | subscript: '아래 첨자', 35 | 36 | unorderedList: '기호 목록', 37 | orderedList: '번호 목록', 38 | 39 | insertImage: '이미지 넣기', 40 | insertVideo: '비디오 넣기', 41 | link: '링크', 42 | createLink: '링크 넣기', 43 | unlink: '링크 지우기', 44 | 45 | justifyLeft: '왼쪽 정렬', 46 | justifyCenter: '가운데 정렬', 47 | justifyRight: '오른쪽 정렬', 48 | justifyFull: '양쪽 정렬', 49 | 50 | horizontalRule: '구분선 넣기', 51 | removeformat: '글꼴 효과 지우기', 52 | 53 | fullscreen: '전체 화면', 54 | 55 | close: '닫기', 56 | 57 | submit: '확인', 58 | reset: '취소', 59 | 60 | required: '필수 입력', 61 | description: '설명', 62 | title: '툴팁', 63 | text: '내용', 64 | target: '타겟', 65 | width: '너비' 66 | }; 67 | -------------------------------------------------------------------------------- /src/langs/lt.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * lt.js 3 | * Lithuanian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Justas Brazauskas 7 | */ 8 | 9 | jQuery.trumbowyg.langs.lt = { 10 | viewHTML: 'Žiūrėti HTML', 11 | 12 | formatting: 'Formatuoti', 13 | p: 'Paragrafas', 14 | blockquote: 'Citata', 15 | code: 'Kodas', 16 | header: 'Antraštė', 17 | 18 | bold: 'Paryškinti', 19 | italic: 'Kursyvuoti', 20 | strikethrough: 'Perbraukti', 21 | underline: 'Pabrėžti', 22 | 23 | strong: 'Paryškinti', 24 | em: 'Pabrėžti', 25 | del: 'Trinti', 26 | 27 | unorderedList: 'Sąrašas', 28 | orderedList: 'Numeruotas sąrašas', 29 | 30 | insertImage: 'Pridėti vaizdą', 31 | insertVideo: 'Pridėti video', 32 | link: 'Nuoroda', 33 | createLink: 'Kurti nuorodą', 34 | unlink: 'Ištrinti nuorodą', 35 | 36 | justifyLeft: 'Lyginti kairėn', 37 | justifyCenter: 'Lygiuoti Centre', 38 | justifyRight: 'Lyginti dešinėn', 39 | justifyFull: 'Centruoti', 40 | 41 | horizontalRule: 'Horizontali linija', 42 | 43 | fullscreen: 'Pilnas ekranas', 44 | 45 | close: 'Uždaryti', 46 | 47 | submit: 'Siųsti', 48 | reset: 'Atšaukti', 49 | 50 | required: 'Privaloma', 51 | description: 'Aprašymas', 52 | title: 'Pavadinimas', 53 | text: 'Tekstas', 54 | 55 | removeformat: 'Pašalinti formatavimą', 56 | 57 | superscript: 'Viršutinis indeksas', 58 | subscript: 'Apatinis indeksas' 59 | }; 60 | -------------------------------------------------------------------------------- /src/langs/mn.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * mn.js 3 | * Mongolian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Ganbayar.B (ganbayar13) 7 | */ 8 | 9 | jQuery.trumbowyg.langs.mn = { 10 | viewHTML: 'HTML харах', 11 | undo: 'Буцаах', 12 | redo: 'Дахих', 13 | formatting: 'Формат', 14 | p: 'Догол мөр', 15 | blockquote: 'Ишлэл', 16 | code: 'Код', 17 | header: 'Гарчиг', 18 | bold: 'Тод', 19 | italic: 'Налуу', 20 | strikethrough: 'Дундуур зураас', 21 | underline: 'Доогуур зураас', 22 | strong: 'Тод', 23 | em: 'Налуу', 24 | del: 'Дундуур зураас', 25 | superscript: 'Дээд индекс', 26 | subscript: 'Доод индекс', 27 | unorderedList: 'Дугаарлаагүй жагсаалт', 28 | orderedList: 'Дугаарласан жагсаалт', 29 | insertImage: 'Зураг оруулах', 30 | insertVideo: 'Видео оруулах', 31 | link: 'Холбоос', 32 | createLink: 'Холбоос үүсгэх', 33 | unlink: 'Холбоос цуцлах', 34 | justifyLeft: 'Зүүн тийш шахах', 35 | justifyCenter: 'Голлуулах', 36 | justifyRight: 'Баруун Баруун тийш шахах', 37 | justifyFull: 'Тэгшитгэх', 38 | horizontalRule: 'Хөндлөн шугам', 39 | removeformat: 'Формат арилгах', 40 | fullscreen: 'Дэлгэц дүүргэх', 41 | close: 'Хаах', 42 | submit: 'Оруулах', 43 | reset: 'Цуцлах', 44 | required: 'Шаардлагатай', 45 | description: 'Тайлбар', 46 | title: 'Гарчиг', 47 | text: 'Текст', 48 | target: 'Бай' 49 | }; 50 | -------------------------------------------------------------------------------- /src/langs/my.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * my.js 3 | * Malaysian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : JohnPozy 7 | */ 8 | 9 | jQuery.trumbowyg.langs.id = { 10 | viewHTML: 'Lihat HTML', 11 | 12 | formatting: 'Pemformatan', 13 | p: 'Perenggan', 14 | blockquote: 'Blockquote', 15 | code: 'Kod', 16 | header: 'Pengepala', 17 | 18 | bold: 'Tebal', 19 | italic: 'Condong', 20 | strikethrough: 'Garis batal', 21 | underline: 'Garis bawah', 22 | 23 | strong: 'Kuat', 24 | em: 'Condong', 25 | del: 'Hapus', 26 | 27 | unorderedList: 'Senarai tidak tertib', 28 | orderedList: 'Senarai tertib', 29 | 30 | insertImage: 'Masukkan imej', 31 | insertVideo: 'Masukkan video', 32 | link: 'Pautan', 33 | createLink: 'Cipta pautan', 34 | unlink: 'Hapus pautan', 35 | 36 | justifyLeft: 'Mengimbangkan ke kiri', 37 | justifyCenter: 'Mengimbangkan ke tengah', 38 | justifyRight: 'Mengimbangkan ke kanan', 39 | justifyFull: 'Mengimbangkan ke kiri dan kanan', 40 | 41 | horizontalRule: 'Masukkan garis mendatar', 42 | 43 | fullscreen: 'Skrin penuh', 44 | 45 | close: 'Tutup', 46 | 47 | submit: 'Hantar', 48 | reset: 'Batal', 49 | 50 | required: 'Diperlukan', 51 | description: 'Perihal', 52 | title: 'Tajuk', 53 | text: 'Teks' 54 | }; 55 | -------------------------------------------------------------------------------- /src/langs/nb.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * nb.js 3 | * Norwegian Bokmål translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Jon Severin Eivik Jakobsen 7 | * Github : https://github.com/jsejakobsen 8 | * 9 | * Mod by: Gunnar Tjomlid 10 | * Github : https://github.com/civix74 11 | * Twitter : @civix 12 | * Website : https://about.me/civix 13 | */ 14 | 15 | // jshint camelcase:false 16 | jQuery.trumbowyg.langs.nb = { 17 | viewHTML: 'Vis HTML', 18 | 19 | undo: 'Angre', 20 | redo: 'Gjør om', 21 | 22 | formatting: 'Formater', 23 | p: 'Avsnitt', 24 | blockquote: 'Sitat', 25 | code: 'Kode', 26 | header: 'Overskrift', 27 | 28 | bold: 'Fet', 29 | italic: 'Kursiv', 30 | strikethrough: 'Gjennomstreking', 31 | underline: 'Understreking', 32 | 33 | strong: 'Uthevet', 34 | em: 'Kursiv', 35 | del: 'Slettet', 36 | 37 | superscript: 'Hevet', 38 | subscript: 'Senket', 39 | 40 | unorderedList: 'Punktliste', 41 | orderedList: 'Nummerert liste', 42 | 43 | insertImage: 'Sett inn bilde', 44 | insertVideo: 'Sett inn video', 45 | link: 'Lenke', 46 | createLink: 'Sett inn lenke', 47 | unlink: 'Fjern lenke', 48 | 49 | justifyLeft: 'Venstrejuster', 50 | justifyCenter: 'Midtstill', 51 | justifyRight: 'Høyrejuster', 52 | justifyFull: 'Blokkjuster', 53 | 54 | horizontalRule: 'Horisontal linje', 55 | removeformat: 'Fjern formatering', 56 | 57 | fullscreen: 'Fullskjerm', 58 | 59 | close: 'Lukk', 60 | 61 | submit: 'Bekreft', 62 | reset: 'Avbryt', 63 | 64 | required: 'Påkrevd', 65 | description: 'Beskrivelse', 66 | title: 'Tittel', 67 | text: 'Tekst', 68 | target: 'Mål', 69 | width: 'Bredde' 70 | }; 71 | -------------------------------------------------------------------------------- /src/langs/nl.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * nl.js 3 | * Dutch translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Danny Hiemstra 7 | * Github : https://github.com/dhiemstra 8 | */ 9 | 10 | jQuery.trumbowyg.langs.nl = { 11 | viewHTML: 'HTML bekijken', 12 | 13 | undo: 'Ongedaan maken', 14 | redo: 'Opnieuw', 15 | 16 | formatting: 'Opmaak', 17 | p: 'Paragraaf', 18 | blockquote: 'Citaat', 19 | code: 'Code', 20 | header: 'Kop', 21 | 22 | bold: 'Vet', 23 | italic: 'Cursief', 24 | strikethrough: 'Doorhalen', 25 | underline: 'Onderlijnen', 26 | 27 | strong: 'Sterk', 28 | em: 'Nadruk', 29 | del: 'Verwijderd', 30 | 31 | unorderedList: 'Ongenummerde lijst', 32 | orderedList: 'Genummerde lijst', 33 | 34 | insertImage: 'Afbeelding invoegen', 35 | insertVideo: 'Video invoegen', 36 | link: 'Link', 37 | createLink: 'Link maken', 38 | unlink: 'Link verwijderen', 39 | 40 | justifyLeft: 'Links uitlijnen', 41 | justifyCenter: 'Centreren', 42 | justifyRight: 'Rechts uitlijnen', 43 | justifyFull: 'Uitvullen', 44 | 45 | horizontalRule: 'Horizontale lijn', 46 | removeFormat: 'Opmaak verwijderen', 47 | 48 | fullscreen: 'Volledig scherm', 49 | 50 | close: 'Sluiten', 51 | 52 | submit: 'Opslaan', 53 | reset: 'Annuleren', 54 | 55 | required: 'Verplicht', 56 | description: 'Omschrijving', 57 | title: 'Titel', 58 | text: 'Tekst', 59 | target: 'Doel', 60 | width: 'Breedte' 61 | }; 62 | -------------------------------------------------------------------------------- /src/langs/ph.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * ph.js 3 | * Filipino translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : @leogono 7 | */ 8 | 9 | jQuery.trumbowyg.langs.ph = { 10 | viewHTML: 'Tumingin sa HTML', 11 | 12 | formatting: 'Formatting', 13 | p: 'Talata', 14 | blockquote: 'Blockquote', 15 | code: 'Kowd', 16 | header: 'Header', 17 | 18 | bold: 'Makapal', 19 | italic: 'Hilig', 20 | strikethrough: 'Strikethrough', 21 | underline: 'Salungguhit', 22 | 23 | strong: 'Malakas', 24 | em: 'Hilig', 25 | del: 'Tinanggal', 26 | 27 | unorderedList: 'Hindi nakahanay na listahan', 28 | orderedList: 'Nakahanay na listahan', 29 | 30 | insertImage: 'Ilagay ang larawan', 31 | insertVideo: 'Ilagay ang video', 32 | link: 'Koneksyon', 33 | createLink: 'Iugnay', 34 | unlink: 'Tanggalin ang koneksyon', 35 | 36 | justifyLeft: 'Ihanay sa kaliwa', 37 | justifyCenter: 'Ihanay sa gitna', 38 | justifyRight: 'Ihanay sa kanan', 39 | justifyFull: 'Ihanay sa kaliwa at kanan', 40 | 41 | horizontalRule: 'Pahalang na linya', 42 | 43 | fullscreen: 'Fullscreen', 44 | 45 | close: 'Isara', 46 | 47 | submit: 'Ipasa', 48 | reset: 'I-reset', 49 | 50 | required: 'Kailangan', 51 | description: 'Paglalarawan', 52 | title: 'Pamagat', 53 | text: 'Teksto' 54 | }; 55 | -------------------------------------------------------------------------------- /src/langs/pl.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * pl.js 3 | * Polish translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Paweł Abramowicz 7 | * Github : https://github.com/pawelabrams 8 | */ 9 | 10 | jQuery.trumbowyg.langs.pl = { 11 | viewHTML: 'Pokaż HTML', 12 | 13 | formatting: 'Format', 14 | p: 'Akapit', 15 | blockquote: 'Cytat', 16 | code: 'Kod', 17 | header: 'Nagłówek', 18 | 19 | bold: 'Pogrubienie', 20 | italic: 'Pochylenie', 21 | strikethrough: 'Przekreślenie', 22 | underline: 'Podkreślenie', 23 | 24 | strong: 'Wytłuszczenie', 25 | em: 'Uwydatnienie', 26 | del: 'Usunięte', 27 | 28 | unorderedList: 'Lista nieuporządkowana', 29 | orderedList: 'Lista uporządkowana', 30 | 31 | insertImage: 'Wstaw obraz', 32 | insertVideo: 'Wstaw film', 33 | link: 'Link', 34 | createLink: 'Wstaw link', 35 | unlink: 'Usuń link', 36 | 37 | justifyLeft: 'Wyrównaj do lewej', 38 | justifyCenter: 'Wyśrodkuj', 39 | justifyRight: 'Wyrównaj do prawej', 40 | justifyFull: 'Wyjustuj', 41 | 42 | horizontalRule: 'Odkreśl linią', 43 | 44 | fullscreen: 'Pełny ekran', 45 | 46 | close: 'Zamknij', 47 | 48 | submit: 'Zastosuj', 49 | reset: 'Przywróć', 50 | 51 | required: 'Wymagane', 52 | description: 'Opis', 53 | title: 'Tytuł', 54 | text: 'Tekst' 55 | }; 56 | -------------------------------------------------------------------------------- /src/langs/pt.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * pt.js 3 | * Portuguese translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Ramiro Varandas Jr (ramirovjr) 7 | * Twitter : @ramirovjnr 8 | * Website : about.me/ramirovjnr 9 | * Github : https://github.com/ramirovjr 10 | */ 11 | 12 | jQuery.trumbowyg.langs.pt = { 13 | viewHTML: 'Ver HTML', 14 | 15 | undo: 'Desfazer', 16 | redo: 'Refazer', 17 | 18 | formatting: 'Formatar', 19 | p: 'Paragráfo', 20 | blockquote: 'Citação', 21 | code: 'Código', 22 | header: 'Título', 23 | 24 | bold: 'Negrito', 25 | italic: 'Itálico', 26 | strikethrough: 'Suprimir', 27 | underline: 'Sublinhado', 28 | 29 | strong: 'Negrito', 30 | em: 'Ênfase', 31 | del: 'Apagar', 32 | 33 | superscript: 'Sobrescrito', 34 | subscript: 'Subscrito', 35 | 36 | unorderedList: 'Lista não ordenada', 37 | orderedList: 'Lista ordenada', 38 | 39 | insertImage: 'Inserir imagem', 40 | insertVideo: 'Inserir vídeo', 41 | link: 'Link', 42 | createLink: 'Criar um link', 43 | unlink: 'Remover link', 44 | 45 | justifyLeft: 'Alinhar a esquerda', 46 | justifyCenter: 'Centralizar', 47 | justifyRight: 'Alinhar a direita', 48 | justifyFull: 'Justificar', 49 | 50 | horizontalRule: 'Inserir separador horizontal', 51 | removeformat: 'Remover formatação', 52 | 53 | fullscreen: 'Tela cheia', 54 | 55 | close: 'Fechar', 56 | 57 | submit: 'Enviar', 58 | reset: 'Limpar', 59 | 60 | required: 'Obrigatório', 61 | description: 'Descrição', 62 | title: 'Título', 63 | text: 'Texto', 64 | target: 'Target' 65 | }; 66 | -------------------------------------------------------------------------------- /src/langs/pt_br.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * pt_br.js 3 | * Portuguese Brazilian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Alex Gotardi (alexgotardi) 7 | * Twitter : @alexgotardi 8 | * Github : https://github.com/alexgotardi 9 | */ 10 | 11 | // jshint camelcase:false 12 | jQuery.trumbowyg.langs.pt_br = { 13 | viewHTML: 'Ver HTML', 14 | 15 | undo: 'Desfazer', 16 | redo: 'Refazer', 17 | 18 | formatting: 'Formatar', 19 | p: 'Parágrafo', 20 | blockquote: 'Citação', 21 | code: 'Código', 22 | header: 'Título', 23 | 24 | bold: 'Negrito', 25 | italic: 'Itálico', 26 | strikethrough: 'Tachado', 27 | underline: 'Sublinhado', 28 | 29 | strong: 'Negrito', 30 | em: 'Ênfase', 31 | del: 'Apagar', 32 | 33 | superscript: 'Sobrescrito', 34 | subscript: 'Subscrito', 35 | 36 | unorderedList: 'Lista não ordenada', 37 | orderedList: 'Lista ordenada', 38 | 39 | insertImage: 'Inserir imagem', 40 | insertVideo: 'Inserir vídeo', 41 | link: 'Link', 42 | createLink: 'Criar um link', 43 | unlink: 'Remover link', 44 | 45 | justifyLeft: 'Alinhar a esquerda', 46 | justifyCenter: 'Centralizar', 47 | justifyRight: 'Alinhar a direita', 48 | justifyFull: 'Justificar', 49 | 50 | horizontalRule: 'Inserir separador horizontal', 51 | removeformat: 'Remover formatação', 52 | 53 | fullscreen: 'Tela cheia', 54 | 55 | close: 'Fechar', 56 | 57 | submit: 'Enviar', 58 | reset: 'Limpar', 59 | 60 | required: 'Obrigatório', 61 | description: 'Descrição', 62 | title: 'Título', 63 | text: 'Texto', 64 | target: 'Alvo' 65 | }; 66 | -------------------------------------------------------------------------------- /src/langs/ro.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * ro.js 3 | * Romanian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Vladut Radulescu (pacMakaveli) 7 | * Email: pacMakaveli90@gmail.com 8 | * Twitter : @pacMakaveli90 9 | * Website : creative-studio51.co.uk 10 | * Github : https://github.com/pacMakaveli 11 | */ 12 | 13 | jQuery.trumbowyg.langs.ro = { 14 | viewHTML: 'Vizualizare HTML', 15 | 16 | formatting: 'Format', 17 | p: 'Paragraf', 18 | blockquote: 'Citație', 19 | code: 'Cod', 20 | header: 'Titlu', 21 | 22 | bold: 'Bold', 23 | italic: 'Italic', 24 | strikethrough: 'Tăiat', 25 | underline: 'Subliniat', 26 | 27 | strong: 'Puternic', 28 | em: 'Accentuat', 29 | del: 'Sterge', 30 | 31 | unorderedList: 'Lista dezordonată', 32 | orderedList: 'Liste ordonată', 33 | 34 | insertImage: 'Adăugare Imagine', 35 | insertVideo: 'Adăugare Video', 36 | link: 'Link', 37 | createLink: 'Crează link', 38 | unlink: 'Remover link', 39 | 40 | justifyLeft: 'Aliniază stânga', 41 | justifyCenter: 'Aliniază centru', 42 | justifyRight: 'Aliniază dreapta', 43 | justifyFull: 'Justificare', 44 | 45 | horizontalRule: 'Linie orizontală', 46 | 47 | fullscreen: 'Tot ecranul', 48 | 49 | close: 'Închide', 50 | 51 | submit: 'Procesează', 52 | reset: 'Resetează', 53 | 54 | required: 'Obligatoriu', 55 | description: 'Descriere', 56 | title: 'Titlu', 57 | text: 'Text' 58 | }; 59 | -------------------------------------------------------------------------------- /src/langs/rs.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * rs.js 3 | * Serbian (Cyrlic) translation for Trumbowyg 4 | * https://www.github.com/johonunu 5 | * =========================================================== 6 | * Author : Nikola Trifunovic (https://www.github.com/johonunu) 7 | */ 8 | 9 | jQuery.trumbowyg.langs.rs = { 10 | viewHTML: 'Погледај HTML кóд', 11 | 12 | formatting: 'Форматирање', 13 | p: 'Параграф', 14 | blockquote: 'Цитат', 15 | code: 'Кóд', 16 | header: 'Наслов', 17 | 18 | bold: 'Подебљано', 19 | italic: 'Курзив', 20 | strikethrough: 'Прецртано', 21 | underline: 'Подвучено', 22 | 23 | strong: 'Подебљано', 24 | em: 'Истакнуто', 25 | del: 'Обрисано', 26 | 27 | unorderedList: 'Ненабројива листа', 28 | orderedList: 'Набројива листа', 29 | insertImage: 'Унеси слику', 30 | insertVideo: 'Унеси видео', 31 | link: 'Линк', 32 | createLink: 'Унеси линк', 33 | unlink: 'Уклони линк', 34 | 35 | justifyLeft: 'Лево равнање', 36 | justifyCenter: 'Централно равнање', 37 | justifyRight: 'Десно равнање', 38 | justifyFull: 'Обострано равнање', 39 | 40 | horizontalRule: 'Хоризонтална линија', 41 | 42 | fullscreen: 'Режим читавог екрана', 43 | 44 | close: 'Затвори', 45 | 46 | submit: 'Унеси', 47 | reset: 'Откажи', 48 | 49 | required: 'Обавезно поље', 50 | description: 'Опис', 51 | title: 'Наслов', 52 | text: 'Текст' 53 | }; 54 | -------------------------------------------------------------------------------- /src/langs/rs_latin.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * rs_latin.js 3 | * Serbian (Latin) translation for Trumbowyg 4 | * https://www.github.com/johonunu 5 | * =========================================================== 6 | * Author : Nikola Trifunovic (https://www.github.com/johonunu) 7 | */ 8 | 9 | // jshint camelcase:false 10 | jQuery.trumbowyg.langs.rs_latin = { 11 | viewHTML: 'Poglеdaj HTML kód', 12 | 13 | formatting: 'Formatiranjе', 14 | p: 'Paragraf', 15 | blockquote: 'Citat', 16 | code: 'Kód', 17 | header: 'Naslov', 18 | 19 | bold: 'Podеbljano', 20 | italic: 'Kurziv', 21 | strikethrough: 'Prеcrtano', 22 | underline: 'Podvučеno', 23 | 24 | strong: 'Podеbljano', 25 | em: 'Istaknuto', 26 | del: 'Obrisano', 27 | 28 | unorderedList: 'Nеnabrojiva lista', 29 | orderedList: 'Nabrojiva lista', 30 | insertImage: 'Unеsi sliku', 31 | insertVideo: 'Unеsi vidеo', 32 | link: 'Link', 33 | createLink: 'Unеsi link', 34 | unlink: 'Ukloni link', 35 | 36 | justifyLeft: 'Lеvo ravnanjе', 37 | justifyCenter: 'Cеntralno ravnanjе', 38 | justifyRight: 'Dеsno ravnanjе', 39 | justifyFull: 'Obostrano ravnanjе', 40 | 41 | horizontalRule: 'Horizontalna linija', 42 | 43 | fullscreen: 'Rеžim čitavog еkrana', 44 | 45 | close: 'Zatvori', 46 | 47 | submit: 'Unеsi', 48 | reset: 'Otkaži', 49 | 50 | required: 'Obavеzno poljе', 51 | description: 'Opis', 52 | title: 'Naslov', 53 | text: 'Tеkst' 54 | }; 55 | -------------------------------------------------------------------------------- /src/langs/ru.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * ru.js 3 | * Russian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Yuri Lya 7 | */ 8 | 9 | jQuery.trumbowyg.langs.ru = { 10 | viewHTML: 'Посмотреть HTML', 11 | 12 | undo: 'Отменить', 13 | redo: 'Повторить', 14 | 15 | formatting: 'Форматирование', 16 | p: 'Обычный', 17 | blockquote: 'Цитата', 18 | code: 'Код', 19 | header: 'Заголовок', 20 | 21 | bold: 'Полужирный', 22 | italic: 'Курсив', 23 | strikethrough: 'Зачеркнутый', 24 | underline: 'Подчеркнутый', 25 | 26 | strong: 'Полужирный', 27 | em: 'Курсив', 28 | del: 'Зачеркнутый', 29 | 30 | superscript: 'Надстрочный', 31 | subscript: 'Подстрочный', 32 | 33 | unorderedList: 'Обычный список', 34 | orderedList: 'Нумерованный список', 35 | 36 | insertImage: 'Вставить изображение', 37 | insertVideo: 'Вставить видео', 38 | link: 'Ссылка', 39 | createLink: 'Вставить ссылку', 40 | unlink: 'Удалить ссылку', 41 | 42 | justifyLeft: 'По левому краю', 43 | justifyCenter: 'По центру', 44 | justifyRight: 'По правому краю', 45 | justifyFull: 'По ширине', 46 | 47 | horizontalRule: 'Горизонтальная линия', 48 | removeformat: 'Очистить форматирование', 49 | 50 | fullscreen: 'Во весь экран', 51 | 52 | close: 'Закрыть', 53 | 54 | submit: 'Вставить', 55 | reset: 'Отменить', 56 | 57 | required: 'Обязательное', 58 | description: 'Описание', 59 | title: 'Подсказка', 60 | text: 'Текст' 61 | }; 62 | -------------------------------------------------------------------------------- /src/langs/sk.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * sk.js 3 | * Slovak translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : VeeeneX (https://github.com/VeeeneX) 7 | */ 8 | 9 | jQuery.trumbowyg.langs.sk = { 10 | viewHTML: 'Zobraziť HTML', 11 | 12 | formatting: 'Formátovanie', 13 | p: 'Paragraf', 14 | blockquote: 'Citácia', 15 | code: 'Kód', 16 | header: 'Nadpis', 17 | 18 | bold: 'Tučné', 19 | italic: 'Kurzíva', 20 | strikethrough: 'Preškrtnuté', 21 | underline: 'Podčiarknuté', 22 | 23 | strong: 'Tučné', 24 | em: 'Zvýrazniť', 25 | del: 'Zmazať', 26 | 27 | unorderedList: 'Netriedený zoznam', 28 | orderedList: 'Triedený zoznam', 29 | 30 | insertImage: 'Vložiť obrázok', 31 | insertVideo: 'Vložiť video', 32 | link: 'Odkaz', 33 | createLink: 'Vložiť odkaz', 34 | unlink: 'Zmazať odkaz', 35 | 36 | justifyLeft: 'Zarovnať doľava', 37 | justifyCenter: 'Zarovnať na stred', 38 | justifyRight: 'Zarovnať doprava', 39 | justifyFull: 'Zarovnať do bloku', 40 | 41 | horizontalRule: 'Vložit vodorovnú čiaru', 42 | 43 | fullscreen: 'Režim celej obrazovky', 44 | 45 | close: 'Zavrieť', 46 | 47 | submit: 'Potvrdiť', 48 | reset: 'Zrušiť', 49 | 50 | required: 'Povinné', 51 | description: 'Popis', 52 | title: 'Nadpis', 53 | text: 'Text' 54 | }; 55 | -------------------------------------------------------------------------------- /src/langs/sl.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * sl.js 3 | * Slovenian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author: Matjaz Zavski (https://github.com/matjaz321) 7 | * Mod: Uros Gaber (uros@powercom.si) 8 | */ 9 | 10 | jQuery.trumbowyg.langs.sl = { 11 | viewHTML: 'Prikaži HTML', 12 | 13 | undo: 'Razveljavi', 14 | redo: 'Ponovno uveljavi', 15 | 16 | formatting: 'Oblika', 17 | p: 'Odstavek', 18 | blockquote: 'Citat', 19 | code: 'Koda', 20 | header: 'Glava', 21 | 22 | bold: 'Krepko', 23 | italic: 'Ležeče', 24 | strikethrough: 'Prečrtano', 25 | underline: 'Podčrtano', 26 | 27 | strong: 'Odebljeno', 28 | em: 'Poudarjeno', 29 | del: 'Izbrisano', 30 | 31 | unorderedList: 'Neoštevilčen seznam', 32 | orderedList: 'Oštevilčen seznam', 33 | 34 | image: 'Slika', 35 | insertImage: 'Vstavi sliko', 36 | insertVideo: 'Vstavi video', 37 | link: 'Povezava', 38 | createLink: 'Vstavi povezavo', 39 | unlink: 'Odstrani povezavo', 40 | 41 | justifyLeft: 'Poravnava levo', 42 | justifyCenter: 'Poravnaj na sredino', 43 | justifyRight: 'Poravnava desno', 44 | justifyFull: 'Obojestranska poravnava', 45 | 46 | horizontalRule: 'Vstavite vodoravno črto', 47 | removeformat: 'Odstrani format', 48 | 49 | fullscreen: 'Celozaslonski način', 50 | 51 | close: 'Zapri', 52 | 53 | submit: 'Potrdi', 54 | reset: 'Prekliči', 55 | 56 | required: 'Zahtevano', 57 | description: 'Opis', 58 | title: 'Naslov', 59 | text: 'Besedilo' 60 | }; 61 | -------------------------------------------------------------------------------- /src/langs/sq.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * sq.js 3 | * Albanian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Adalen Vladi 7 | */ 8 | 9 | jQuery.trumbowyg.langs.sq = { 10 | 11 | viewHTML: 'Shfaq HTML', 12 | 13 | undo: 'Prish', 14 | redo: 'Ribej', 15 | 16 | formatting: 'Formatimi', 17 | p: 'Paragraf', 18 | blockquote: 'Citat', 19 | code: 'Kodi', 20 | header: 'Koka', 21 | 22 | bold: 'Spikatur', 23 | italic: 'Pjerret', 24 | strikethrough: 'Vize ne mes', 25 | underline: 'Nenvizo', 26 | 27 | strong: 'I trashe', 28 | em: 'I theksuar', 29 | del: 'I fshire', 30 | 31 | superscript: 'Indeks i sipërm', 32 | subscript: 'Indeks i poshtem', 33 | 34 | unorderedList: 'Liste e parenditur', 35 | orderedList: 'Liste e renditur', 36 | 37 | 38 | insertImage: 'Fut Foto', 39 | insertVideo: 'Fut Video', 40 | link: 'Link', 41 | createLink: 'Krijo Link', 42 | unlink: 'Hiq Link', 43 | 44 | justifyLeft: 'Drejto Majtas', 45 | justifyCenter: 'Drejto ne Qender', 46 | justifyRight: 'Drejto Djathtas', 47 | justifyFull: 'Drejto Vete', 48 | 49 | horizontalRule: 'Vendos rregulloren horizontale', 50 | removeformat: 'Hiq formatin', 51 | 52 | fullscreen: 'Ekran i plotë', 53 | 54 | close: 'Mbyll', 55 | 56 | submit: 'Konfirmo', 57 | reset: 'Anullo', 58 | 59 | required: 'I detyrueshem', 60 | description: 'Pershkrimi', 61 | title: 'Titulli', 62 | text: 'Tekst', 63 | target: 'Objektivi', 64 | width: 'Gjeresia' 65 | }; 66 | -------------------------------------------------------------------------------- /src/langs/sv.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * sv.js 3 | * Swedish translation for Trumbowyg 4 | * http://www.tim-international.net 5 | * =========================================================== 6 | * Author : T. Almroth 7 | * Github : https://github.com/timint 8 | * 9 | * Review : M Hagberg 10 | * Github : https://github.com/pestbarn 11 | */ 12 | 13 | jQuery.trumbowyg.langs.sv = { 14 | viewHTML: 'Visa HTML', 15 | 16 | formatting: 'Formatering', 17 | p: 'Paragraf', 18 | blockquote: 'Citat', 19 | code: 'Kod', 20 | header: 'Rubrik', 21 | 22 | bold: 'Fet', 23 | italic: 'Kursiv', 24 | strikethrough: 'Genomstruken', 25 | underline: 'Understruken', 26 | 27 | strong: 'Fet', 28 | em: 'Kursiv', 29 | del: 'Rensa formatering', 30 | 31 | unorderedList: 'Punktlista', 32 | orderedList: 'Numrerad lista', 33 | 34 | insertImage: 'Infoga bild', 35 | insertVideo: 'Infoga video', 36 | link: 'Länk', 37 | createLink: 'Infoga länk', 38 | unlink: 'Ta bort länk', 39 | 40 | justifyLeft: 'Vänsterjustera', 41 | justifyCenter: 'Centrera', 42 | justifyRight: 'Högerjustera', 43 | justifyFull: 'Marginaljustera', 44 | 45 | horizontalRule: 'Horisontell linje', 46 | removeformat: 'Ta bort formatering', 47 | 48 | fullscreen: 'Fullskärm', 49 | 50 | close: 'Stäng', 51 | 52 | submit: 'Bekräfta', 53 | reset: 'Återställ', 54 | 55 | required: 'Obligatorisk', 56 | description: 'Beskrivning', 57 | title: 'Titel', 58 | text: 'Text' 59 | }; 60 | -------------------------------------------------------------------------------- /src/langs/th.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * th.js 3 | * Thai translation for Trumbowyg 4 | * https://github.com/ionsoft/Trumbowyg 5 | * =========================================================== 6 | * Author : Gonatee Klanktong 7 | * Github : https://github.com/gonateek 8 | */ 9 | 10 | jQuery.trumbowyg.langs.th = { 11 | viewHTML: 'ดู HTML', 12 | 13 | formatting: 'จัดรูปแบบ', 14 | p: 'ย่อหน้า', 15 | blockquote: 'อ้างอิง', 16 | code: 'โค๊ด', 17 | header: 'ส่วนหัว', 18 | 19 | bold: 'หนา', 20 | italic: 'เอียง', 21 | strikethrough: 'ขีดทับ', 22 | underline: 'เส้นใต้', 23 | 24 | strong: 'สำคัญ', 25 | em: 'เน้น', 26 | del: 'ลบ', 27 | 28 | unorderedList: 'รายการ', 29 | orderedList: 'รายการ(ตัวเลข)', 30 | 31 | insertImage: 'ใส่รูป', 32 | insertVideo: 'ใส่วิดีโอ', 33 | link: 'ลิงค์', 34 | createLink: 'สร้างลิงค์', 35 | unlink: 'ยกเลิกลิงค์', 36 | 37 | justifyLeft: 'ชิดซ้าย', 38 | justifyCenter: 'กลาง', 39 | justifyRight: 'ชิดขวา', 40 | justifyFull: 'เต็มบรรทัด', 41 | 42 | horizontalRule: 'เส้นแนวนอน', 43 | 44 | fullscreen: 'เต็มหน้าจอ', 45 | 46 | close: 'ปิด', 47 | 48 | submit: 'ตกลง', 49 | reset: 'เริ่มใหม่', 50 | 51 | required: 'จำเป็น', 52 | description: 'คำอธิบาย', 53 | title: 'หัวเรื่อง', 54 | text: 'ข้อความ' 55 | }; 56 | -------------------------------------------------------------------------------- /src/langs/tr.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * tr.js 3 | * Turkish translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Emrah Bilbay (munzur) 7 | * Github : https://github.com/munzur 8 | * 9 | * Özgür Görgülü (ozgurg) 10 | * Github : https://github.com/ozgurg 11 | */ 12 | 13 | jQuery.trumbowyg.langs.tr = { 14 | viewHTML: 'HTML Kodu', 15 | 16 | undo: 'Yinele', 17 | redo: 'Geri al', 18 | 19 | formatting: 'Biçimlendirme', 20 | p: 'Paragraf', 21 | blockquote: 'Alıntı', 22 | code: 'Kod', 23 | header: 'Başlık', 24 | 25 | bold: 'Kalın', 26 | italic: 'İtalik', 27 | strikethrough: 'Üzeri çizgili', 28 | underline: 'Altı çizgili', 29 | 30 | strong: 'Koyu', 31 | em: 'Vurgulu', 32 | del: 'Üzeri çizgili', 33 | 34 | unorderedList: 'Simgeli liste', 35 | orderedList: 'Numaralı liste', 36 | 37 | insertImage: 'Resim yerleştir', 38 | insertVideo: 'Video yerleştir', 39 | link: 'Link', 40 | createLink: 'Link yerleştir', 41 | unlink: 'Linki sil', 42 | 43 | justifyLeft: 'Sola hizala', 44 | justifyCenter: 'Ortaya hizala', 45 | justifyRight: 'Sağa hizala', 46 | justifyFull: 'Yasla', 47 | 48 | horizontalRule: 'Yatay satır ekle', 49 | 50 | fullscreen: 'Tam ekran', 51 | 52 | close: 'Kapat', 53 | 54 | submit: 'Onayla', 55 | reset: 'Sıfırla', 56 | 57 | required: 'Gerekli', 58 | description: 'Açıklama', 59 | title: 'Başlık', 60 | text: 'Metin', 61 | 62 | removeformat: 'Biçimlendirmeyi temizle' 63 | }; 64 | -------------------------------------------------------------------------------- /src/langs/ua.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * ua.js 3 | * Ukrainian translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Igor Buksha 7 | */ 8 | 9 | jQuery.trumbowyg.langs.ua = { 10 | viewHTML: 'Подивитись HTML', 11 | 12 | formatting: 'Форматування', 13 | p: 'Звичайний', 14 | blockquote: 'Витяг', 15 | code: 'Код', 16 | header: 'Заголовок', 17 | 18 | bold: 'Напівжирний', 19 | italic: 'Курсив', 20 | strikethrough: 'Закреслений', 21 | underline: 'Підкреслений', 22 | 23 | strong: 'Напівжирний', 24 | em: 'Курсив', 25 | del: 'Закреслений', 26 | 27 | unorderedList: 'Звичайний список', 28 | orderedList: 'Нумерований список', 29 | 30 | insertImage: 'Вставити зображення', 31 | insertVideo: 'Вставити відео', 32 | link: 'Посилання', 33 | createLink: 'Вставити посилання', 34 | unlink: 'Видалити посилання', 35 | 36 | justifyLeft: 'По лівому краю', 37 | justifyCenter: 'В центрі', 38 | justifyRight: 'По правому краю', 39 | justifyFull: 'По ширині', 40 | 41 | horizontalRule: 'Горизонтальна лінія', 42 | 43 | fullscreen: 'На весь екран', 44 | 45 | close: 'Закрити', 46 | 47 | submit: 'Вставити', 48 | reset: 'Скасувати', 49 | 50 | required: 'Обов\'язкове', 51 | description: 'Опис', 52 | title: 'Підказка', 53 | text: 'Текст' 54 | }; 55 | -------------------------------------------------------------------------------- /src/langs/vi.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * vi.js 3 | * Vietnamese translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : heocoi 7 | * Github: https://github.com/heocoi 8 | */ 9 | 10 | jQuery.trumbowyg.langs.vi = { 11 | viewHTML: 'Hiển thị HTML', 12 | 13 | formatting: 'Định dạng', 14 | p: 'Đoạn', 15 | blockquote: 'Trích dẫn', 16 | code: 'Code', 17 | header: 'Đầu trang', 18 | 19 | bold: 'In đậm', 20 | italic: 'In nghiêng', 21 | strikethrough: 'Gạch ngang', 22 | underline: 'Gạch chân', 23 | 24 | strong: 'In đậm', 25 | em: 'In nghiêng', 26 | del: 'Gạch ngang', 27 | 28 | unorderedList: 'Danh sách không thứ tự', 29 | orderedList: 'Danh sách có thứ tự', 30 | 31 | insertImage: 'Chèn hình ảnh', 32 | insertVideo: 'Chèn video', 33 | link: 'Đường dẫn', 34 | createLink: 'Tạo đường dẫn', 35 | unlink: 'Hủy đường dẫn', 36 | 37 | justifyLeft: 'Canh lề trái', 38 | justifyCenter: 'Canh giữa', 39 | justifyRight: 'Canh lề phải', 40 | justifyFull: 'Canh đều', 41 | 42 | horizontalRule: 'Thêm đường kẻ ngang', 43 | 44 | fullscreen: 'Toàn màn hình', 45 | 46 | close: 'Đóng', 47 | 48 | submit: 'Đồng ý', 49 | reset: 'Hủy bỏ', 50 | 51 | required: 'Bắt buộc', 52 | description: 'Mô tả', 53 | title: 'Tiêu đề', 54 | text: 'Nội dung', 55 | target: 'Đối tượng' 56 | }; 57 | -------------------------------------------------------------------------------- /src/langs/zh_cn.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * zh_cn.js 3 | * Simplified Chinese translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Liu Kai (akai) 7 | * Twitter : @akai404 8 | * Github : https://github.com/akai 9 | */ 10 | 11 | // jshint camelcase:false 12 | jQuery.trumbowyg.langs.zh_cn = { 13 | viewHTML: '源代码', 14 | 15 | formatting: '格式', 16 | p: '段落', 17 | blockquote: '引用', 18 | code: '代码', 19 | header: '标题', 20 | 21 | bold: '加粗', 22 | italic: '斜体', 23 | strikethrough: '删除线', 24 | underline: '下划线', 25 | 26 | strong: '加粗', 27 | em: '斜体', 28 | del: '删除线', 29 | 30 | unorderedList: '无序列表', 31 | orderedList: '有序列表', 32 | 33 | insertImage: '插入图片', 34 | insertVideo: '插入视频', 35 | link: '超链接', 36 | createLink: '插入链接', 37 | unlink: '取消链接', 38 | 39 | justifyLeft: '居左对齐', 40 | justifyCenter: '居中对齐', 41 | justifyRight: '居右对齐', 42 | justifyFull: '两端对齐', 43 | 44 | horizontalRule: '插入分隔线', 45 | 46 | fullscreen: '全屏', 47 | 48 | close: '关闭', 49 | 50 | submit: '确定', 51 | reset: '取消', 52 | 53 | required: '必需的', 54 | description: '描述', 55 | title: '标题', 56 | text: '文字' 57 | }; 58 | -------------------------------------------------------------------------------- /src/langs/zh_tw.js: -------------------------------------------------------------------------------- 1 | /* =========================================================== 2 | * zh_tw.js 3 | * Traditional Chinese translation for Trumbowyg 4 | * http://alex-d.github.com/Trumbowyg 5 | * =========================================================== 6 | * Author : Peter Dave Hello (PeterDaveHello) 7 | * Twitter : @PeterDaveHello 8 | * Github : https://github.com/PeterDaveHello 9 | */ 10 | 11 | // jshint camelcase:false 12 | jQuery.trumbowyg.langs.zh_tw = { 13 | viewHTML: '原始碼', 14 | 15 | undo: '復原', 16 | redo: '重做', 17 | 18 | formatting: '格式', 19 | p: '段落', 20 | blockquote: '引用', 21 | code: '代碼', 22 | header: '標題', 23 | 24 | bold: '加粗', 25 | italic: '斜體', 26 | strikethrough: '刪除線', 27 | underline: '底線', 28 | 29 | strong: '粗體', 30 | em: '斜體', 31 | del: '刪除線', 32 | 33 | superscript: '上標', 34 | subscript: '下標', 35 | 36 | unorderedList: '無序列表', 37 | orderedList: '有序列表', 38 | 39 | insertImage: '插入圖片', 40 | insertVideo: '插入影片', 41 | link: '超連結', 42 | createLink: '插入連結', 43 | unlink: '取消連結', 44 | 45 | justifyLeft: '靠左對齊', 46 | justifyCenter: '置中對齊', 47 | justifyRight: '靠右對齊', 48 | justifyFull: '左右對齊', 49 | 50 | horizontalRule: '插入分隔線', 51 | removeformat: '移除格式', 52 | 53 | fullscreen: '全螢幕', 54 | 55 | close: '關閉', 56 | 57 | submit: '確定', 58 | reset: '取消', 59 | 60 | required: '必需的', 61 | description: '描述', 62 | title: '標題', 63 | text: '文字', 64 | target: '目標', 65 | width: '寬度' 66 | }; 67 | -------------------------------------------------------------------------------- /src/ui/icons/blockquote.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/bold.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/close.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/create-link.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /src/ui/icons/del.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/em.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/ui/icons/fullscreen.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /src/ui/icons/h1.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/h2.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/h3.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/h4.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/h5.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/h6.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | -------------------------------------------------------------------------------- /src/ui/icons/horizontal-rule.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/ui/icons/insert-image.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /src/ui/icons/italic.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/ui/icons/justify-center.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/ui/icons/justify-full.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/ui/icons/justify-left.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/ui/icons/justify-right.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/ui/icons/link.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /src/ui/icons/ordered-list.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/p.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/ui/icons/redo.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/removeformat.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/strikethrough.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/strong.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/subscript.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/superscript.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/underline.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/undo.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /src/ui/icons/unlink.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /src/ui/icons/unordered-list.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/ui/icons/view-html.svg: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | --------------------------------------------------------------------------------