activeadmin_trumbowyg 0.2.6 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -3
- data/Rakefile +13 -0
- data/app/assets/fonts/trumbowyg/icons.svg +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/langs/bn.js +62 -0
- data/app/assets/javascripts/activeadmin/trumbowyg/langs/bn.min.js +9 -0
- data/app/assets/javascripts/activeadmin/trumbowyg/langs/et.js +65 -0
- data/app/assets/javascripts/activeadmin/trumbowyg/langs/et.min.js +9 -0
- data/app/assets/javascripts/activeadmin/trumbowyg/langs/ko.js +4 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/langs/ko.min.js +3 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/langs/sl.js +9 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/langs/sl.min.js +7 -0
- data/app/assets/javascripts/activeadmin/trumbowyg/langs/tr.js +7 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/langs/tr.min.js +4 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/allowtagsfrompaste/trumbowyg.allowtagsfrompaste.js +3 -3
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/allowtagsfrompaste/trumbowyg.allowtagsfrompaste.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/base64/trumbowyg.base64.js +36 -24
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/base64/trumbowyg.base64.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/cleanpaste/trumbowyg.cleanpaste.js +41 -5
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/cleanpaste/trumbowyg.cleanpaste.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/trumbowyg.colors.js +44 -30
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/trumbowyg.colors.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/ui/sass/trumbowyg.colors.scss +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/ui/trumbowyg.colors.css +3 -2
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/ui/trumbowyg.colors.min.css +2 -2
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/trumbowyg.emoji.js +159 -92
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/trumbowyg.emoji.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/ui/sass/trumbowyg.emoji.scss +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/ui/trumbowyg.emoji.css +3 -2
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/ui/trumbowyg.emoji.min.css +2 -2
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/fontfamily/trumbowyg.fontfamily.js +15 -9
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/fontfamily/trumbowyg.fontfamily.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/fontsize/trumbowyg.fontsize.js +119 -75
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/fontsize/trumbowyg.fontsize.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/giphy/trumbowyg.giphy.js +10 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/giphy/trumbowyg.giphy.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/giphy/ui/sass/trumbowyg.giphy.scss +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/giphy/ui/trumbowyg.giphy.css +13 -6
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/giphy/ui/trumbowyg.giphy.min.css +2 -2
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/trumbowyg.highlight.js +237 -20
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/trumbowyg.highlight.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/ui/sass/trumbowyg.highlight.scss +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/ui/trumbowyg.highlight.css +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/ui/trumbowyg.highlight.min.css +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/history/trumbowyg.history.js +27 -15
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/history/trumbowyg.history.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/indent/trumbowyg.indent.js +60 -0
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/indent/trumbowyg.indent.min.js +1 -0
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/insertaudio/trumbowyg.insertaudio.js +12 -6
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/insertaudio/trumbowyg.insertaudio.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/lineheight/trumbowyg.lineheight.js +45 -27
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/lineheight/trumbowyg.lineheight.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/trumbowyg.mathml.js +20 -10
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/trumbowyg.mathml.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/ui/sass/trumbowyg.mathml.scss +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/ui/trumbowyg.mathml.css +3 -2
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/ui/trumbowyg.mathml.min.css +2 -2
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/trumbowyg.mention.js +12 -6
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/trumbowyg.mention.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/ui/sass/trumbowyg.mention.scss +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/ui/trumbowyg.mention.css +6 -2
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/ui/trumbowyg.mention.min.css +2 -2
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/noembed/trumbowyg.noembed.js +22 -14
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/noembed/trumbowyg.noembed.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/pasteembed/trumbowyg.pasteembed.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/pasteimage/trumbowyg.pasteimage.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/preformatted/trumbowyg.preformatted.js +17 -11
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/preformatted/trumbowyg.preformatted.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/resizimg/trumbowyg.resizimg.js +47 -39
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/resizimg/trumbowyg.resizimg.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/ruby/trumbowyg.ruby.js +10 -0
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/ruby/trumbowyg.ruby.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/specialchars/trumbowyg.specialchars.js +6 -0
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/specialchars/trumbowyg.specialchars.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/specialchars/ui/sass/trumbowyg.specialchars.scss +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/specialchars/ui/trumbowyg.specialchars.css +3 -2
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/specialchars/ui/trumbowyg.specialchars.min.css +2 -2
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/trumbowyg.table.js +93 -58
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/trumbowyg.table.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/ui/sass/trumbowyg.table.scss +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/ui/trumbowyg.table.css +5 -3
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/ui/trumbowyg.table.min.css +2 -2
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/template/trumbowyg.template.js +6 -0
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/template/trumbowyg.template.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/upload/trumbowyg.upload.js +51 -29
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/upload/trumbowyg.upload.min.js +1 -1
- data/app/assets/javascripts/activeadmin/trumbowyg/trumbowyg.js +165 -80
- data/app/assets/javascripts/activeadmin/trumbowyg/trumbowyg.min.js +12 -2
- data/app/assets/javascripts/activeadmin/trumbowyg_input.js +5 -7
- data/app/assets/stylesheets/activeadmin/_trumbowyg_input.scss +5 -7
- data/app/assets/stylesheets/activeadmin/trumbowyg/trumbowyg.scss +69 -57
- data/lib/activeadmin/trumbowyg/version.rb +1 -1
- metadata +13 -121
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/resizimg/resizable-resolveconflict.js +0 -20
- data/app/assets/javascripts/activeadmin/trumbowyg/plugins/resizimg/resizable-resolveconflict.min.js +0 -1
data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/trumbowyg.highlight.min.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(i
|
1
|
+
!function(e,i){"use strict";var t={enableLineHighlight:!0,languageNames:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",css:"CSS",clike:"C-like",js:"JavaScript",abap:"ABAP",abnf:"Augmented Backus–Naur form",al:"AL",antlr4:"ANTLR4",g4:"ANTLR4",apacheconf:"Apache Configuration",apl:"APL",aql:"AQL",arff:"ARFF",asciidoc:"AsciiDoc",adoc:"AsciiDoc",asm6502:"6502 Assembly",aspnet:"ASP.NET (C#)",autohotkey:"AutoHotkey",autoit:"AutoIt",basic:"BASIC",bbcode:"BBcode",bnf:"Backus–Naur form",rbnf:"Routing Backus–Naur form",conc:"Concurnas",csharp:"C#",cs:"C#",dotnet:"C#",cpp:"C++",cil:"CIL",coffee:"CoffeeScript",cmake:"CMake",csp:"Content-Security-Policy","css-extras":"CSS Extras",dax:"DAX",django:"Django/Jinja2",jinja2:"Django/Jinja2","dns-zone-file":"DNS zone file","dns-zone":"DNS zone file",dockerfile:"Docker",ebnf:"Extended Backus–Naur form",ejs:"EJS",etlua:"Embedded Lua templating",erb:"ERB","excel-formula":"Excel Formula",xlsx:"Excel Formula",xls:"Excel Formula",fsharp:"F#","firestore-security-rules":"Firestore security rules",ftl:"FreeMarker Template Language",gcode:"G-code",gdscript:"GDScript",gedcom:"GEDCOM",glsl:"GLSL",gml:"GameMaker Language",gamemakerlanguage:"GameMaker Language",graphql:"GraphQL",hs:"Haskell",hcl:"HCL",hlsl:"HLSL",http:"HTTP",hpkp:"HTTP Public-Key-Pins",hsts:"HTTP Strict-Transport-Security",ichigojam:"IchigoJam",iecst:"Structured Text (IEC 61131-3)",inform7:"Inform 7",javadoc:"JavaDoc",javadoclike:"JavaDoc-like",javastacktrace:"Java stack trace",jq:"JQ",jsdoc:"JSDoc","js-extras":"JS Extras","js-templates":"JS Templates",json:"JSON",jsonp:"JSONP",json5:"JSON5",latex:"LaTeX",tex:"TeX",context:"ConTeXt",lilypond:"LilyPond",ly:"LilyPond",emacs:"Lisp",elisp:"Lisp","emacs-lisp":"Lisp",llvm:"LLVM IR",lolcode:"LOLCODE",md:"Markdown","markup-templating":"Markup templating",matlab:"MATLAB",mel:"MEL",moon:"MoonScript",n1ql:"N1QL",n4js:"N4JS",n4jsd:"N4JS","nand2tetris-hdl":"Nand To Tetris HDL",nasm:"NASM",neon:"NEON",nginx:"nginx",nsis:"NSIS",objectivec:"Objective-C",objc:"Objective-C",ocaml:"OCaml",opencl:"OpenCL",parigp:"PARI/GP",objectpascal:"Object Pascal",pcaxis:"PC-Axis",px:"PC-Axis",peoplecode:"PeopleCode",pcode:"PeopleCode",php:"PHP",phpdoc:"PHPDoc","php-extras":"PHP Extras",plsql:"PL/SQL",powerquery:"PowerQuery",pq:"PowerQuery",mscript:"PowerQuery",powershell:"PowerShell",properties:".properties",protobuf:"Protocol Buffers",py:"Python",q:"Q (kdb+ database)",qml:"QML",rkt:"Racket",jsx:"React JSX",tsx:"React TSX",renpy:"Ren'py",rest:"reST (reStructuredText)",robotframework:"Robot Framework",robot:"Robot Framework",rb:"Ruby",sas:"SAS",sass:"Sass (Sass)",scss:"Sass (Scss)","shell-session":"Shell session",solidity:"Solidity (Ethereum)","solution-file":"Solution file",sln:"Solution file",soy:"Soy (Closure Template)",sparql:"SPARQL",rq:"SPARQL","splunk-spl":"Splunk SPL",sqf:"SQF: Status Quo Function (Arma 3)",sql:"SQL",tap:"TAP",toml:"TOML",tt2:"Template Toolkit 2",trig:"TriG",ts:"TypeScript","t4-cs":"T4 Text Templates (C#)",t4:"T4 Text Templates (C#)","t4-vb":"T4 Text Templates (VB)","t4-templating":"T4 templating",uscript:"UnrealScript",uc:"UnrealScript",vbnet:"VB.Net",vhdl:"VHDL",vim:"vim","visual-basic":"Visual Basic",vb:"Visual Basic",wasm:"WebAssembly",wiki:"Wiki markup",xeoracube:"XeoraCube",xojo:"Xojo (REALbasic)",xquery:"XQuery",yaml:"YAML",yml:"YAML"}};function a(i){return e("<div/>").text(i).html()}function o(e){var t=e.o.plugins.highlight.languageNames,o=Object.keys(t);return Object.keys(i.languages).filter((function(e){return o.indexOf(e)>=0})).map((function(e){return{id:e,name:t[e]}})).sort((function(e,i){return e.name.localeCompare(i.name)})).map((function(e){return'<option value="'+a(e.id)+'">'+a(e.name)+"</option>"})).join("")}function l(e){return!1===e.o.plugins.highlight.enableLineHighlight?"":'<div class="'+e.o.prefix+'highlight-form-group"> <input placeholder="'+e.lang.highlightLine+'" class="'+e.o.prefix+'highlight-form-control trumbowyg-line-highlight"/></div>'}function s(e){return{fn:function(){var t=e.openModal("Code",['<div class="'+e.o.prefix+'highlight-form-group">',' <select class="'+e.o.prefix+'highlight-form-control language" autofocus>',o(e)," </select>","</div>",'<div class="'+e.o.prefix+'highlight-form-group">',' <textarea class="'+e.o.prefix+'highlight-form-control code"></textarea>',"</div>",l(e)].join("\n")),a=t.find(".language"),s=t.find(".code"),n=t.find(".trumbowyg-line-highlight");t.on("tbwconfirm",(function(){var t,o,l;e.restoreRange(),e.execCmd("insertHTML",(t=s.val(),o=a.val(),l=n.val(),['<pre class="language-'+o+'" '+(l?'data-line="'+l+'"':"")+">",'<code class="language-'+o+'">'+i.highlight(t,i.languages[o])+"</code>","</pre>"].join(""))),e.execCmd("insertHTML","<p><br></p>"),e.closeModal()})),t.on("tbwcancel",(function(){e.closeModal()}))}}}e.extend(!0,e.trumbowyg,{langs:{en:{highlight:"Code syntax highlight",highlightLine:"Highlight lines, e.g.: 1,3-5"},es:{highlight:"Resaltado de sintaxis de código",highlightLine:"Resaltar lineas, ej: 1,3-5"},et:{highlight:"Koodi esiletoomine",highlightLine:"Koodiread, näiteks: 1,3-5"},hu:{highlight:"Kód kiemelés"},ko:{highlight:"코드 문법 하이라이트"},pt_br:{highlight:"Realçar sintaxe de código"}},plugins:{highlight:{init:function(i){i.o.plugins.highlight=e.extend(!0,{},t,i.o.plugins.highlight||{}),i.addBtnDef("highlight",s(i))}}}})}(jQuery,Prism);
|
data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/ui/trumbowyg.highlight.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
/** Trumbowyg v2.
|
1
|
+
/** Trumbowyg v2.25.0 - A lightweight WYSIWYG editor - alex-d.github.io/Trumbowyg - License MIT - Author : Alexandre Demode (Alex-D) / alex-d.fr */
|
2
2
|
.trumbowyg-highlight-form-group{margin:15px 10px}.trumbowyg-highlight-form-group .trumbowyg-highlight-form-control{width:100%;border:1px solid #DEDEDE;font-size:14px;padding:7px}.trumbowyg-highlight-form-group .trumbowyg-highlight-form-control.code{height:200px}
|
@@ -11,12 +11,6 @@
|
|
11
11
|
$.extend(true, $.trumbowyg, {
|
12
12
|
langs: {
|
13
13
|
// jshint camelcase:false
|
14
|
-
de: {
|
15
|
-
history: {
|
16
|
-
redo: 'Wiederholen',
|
17
|
-
undo: 'Rückgängig'
|
18
|
-
}
|
19
|
-
},
|
20
14
|
en: {
|
21
15
|
history: {
|
22
16
|
redo: 'Redo',
|
@@ -29,22 +23,28 @@
|
|
29
23
|
undo: 'Fortryd'
|
30
24
|
}
|
31
25
|
},
|
26
|
+
de: {
|
27
|
+
history: {
|
28
|
+
redo: 'Wiederholen',
|
29
|
+
undo: 'Rückgängig'
|
30
|
+
}
|
31
|
+
},
|
32
|
+
et: {
|
33
|
+
history: {
|
34
|
+
redo: 'Võta tagasi',
|
35
|
+
undo: 'Tee uuesti'
|
36
|
+
}
|
37
|
+
},
|
32
38
|
fr: {
|
33
39
|
history: {
|
34
40
|
redo: 'Annuler',
|
35
41
|
undo: 'Rétablir'
|
36
42
|
}
|
37
43
|
},
|
38
|
-
|
39
|
-
history: {
|
40
|
-
redo: '重做',
|
41
|
-
undo: '復原'
|
42
|
-
}
|
43
|
-
},
|
44
|
-
pt_br: {
|
44
|
+
hu: {
|
45
45
|
history: {
|
46
|
-
redo: '
|
47
|
-
undo: '
|
46
|
+
redo: 'Visszállít',
|
47
|
+
undo: 'Visszavon'
|
48
48
|
}
|
49
49
|
},
|
50
50
|
ko: {
|
@@ -53,6 +53,18 @@
|
|
53
53
|
undo: '되돌리기'
|
54
54
|
}
|
55
55
|
},
|
56
|
+
pt_br: {
|
57
|
+
history: {
|
58
|
+
redo: 'Refazer',
|
59
|
+
undo: 'Desfazer'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
zh_tw: {
|
63
|
+
history: {
|
64
|
+
redo: '重做',
|
65
|
+
undo: '復原'
|
66
|
+
}
|
67
|
+
},
|
56
68
|
// jshint camelcase:true
|
57
69
|
},
|
58
70
|
plugins: {
|
@@ -1 +1 @@
|
|
1
|
-
!function(o){"use strict";o.extend(!0,o.trumbowyg,{langs:{
|
1
|
+
!function(o){"use strict";o.extend(!0,o.trumbowyg,{langs:{en:{history:{redo:"Redo",undo:"Undo"}},da:{history:{redo:"Annuller fortryd",undo:"Fortryd"}},de:{history:{redo:"Wiederholen",undo:"Rückgängig"}},et:{history:{redo:"Võta tagasi",undo:"Tee uuesti"}},fr:{history:{redo:"Annuler",undo:"Rétablir"}},hu:{history:{redo:"Visszállít",undo:"Visszavon"}},ko:{history:{redo:"다시 실행",undo:"되돌리기"}},pt_br:{history:{redo:"Refazer",undo:"Desfazer"}},zh_tw:{history:{redo:"重做",undo:"復原"}}},plugins:{history:{init:function(i){i.o.plugins.history=o.extend(!0,{_stack:[],_index:-1,_focusEl:void 0},i.o.plugins.history||{});var t={title:i.lang.history.redo,ico:"redo",key:"Y",fn:function(){if(i.o.plugins.history._index<i.o.plugins.history._stack.length-1){i.o.plugins.history._index+=1;var o=i.o.plugins.history._index,t=i.o.plugins.history._stack[o];i.execCmd("html",t),i.o.plugins.history._stack[o]=i.$ed.html(),d(),e()}}},n={title:i.lang.history.undo,ico:"undo",key:"Z",fn:function(){if(i.o.plugins.history._index>0){i.o.plugins.history._index-=1;var o=i.o.plugins.history._index,t=i.o.plugins.history._stack[o];i.execCmd("html",t),i.o.plugins.history._stack[o]=i.$ed.html(),d(),e()}}},e=function(){var o=i.o.plugins.history._index,t=i.o.plugins.history._stack.length,n=0!==t&&o!==t-1;s("historyUndo",o>0),s("historyRedo",n)},s=function(o,t){var n=i.$box.find(".trumbowyg-"+o+"-button");t?n.removeClass("trumbowyg-disable"):n.hasClass("trumbowyg-disable")||n.addClass("trumbowyg-disable")},r=function(o,i){if(o===i)return!0;if(null==o||null==i)return!1;if(o.length!==i.length)return!1;for(var t=0;t<o.length;t+=1)if(o[t]!==i[t])return!1;return!0},d=function(){var o=i.doc.getSelection().focusNode,t=i.doc.createRange();o.childNodes.length>0&&(t.setStartAfter(o.childNodes[o.childNodes.length-1]),t.setEndAfter(o.childNodes[o.childNodes.length-1]),i.doc.getSelection().removeAllRanges(),i.doc.getSelection().addRange(t))};i.$c.on("tbwinit tbwchange",(function(){var t,n,s=i.o.plugins.history._index,d=i.o.plugins.history._stack,l=d.slice(-1)[0]||"<p></p>",u=d[s],h=i.$ed.html(),c=i.doc.getSelection().focusNode,a="",g=i.o.plugins.history._focusEl;t=o("<div>"+l+"</div>").find("*").map((function(){return this.localName})),n=o("<div>"+h+"</div>").find("*").map((function(){return this.localName})),c&&(i.o.plugins.history._focusEl=c,a=c.outerHTML||c.textContent),h!==u&&(a.slice(-1).match(/\s/)||!r(t,n)||i.o.plugins.history._index<=0||c!==g?(i.o.plugins.history._index+=1,i.o.plugins.history._stack=d.slice(0,i.o.plugins.history._index),i.o.plugins.history._stack.push(h)):i.o.plugins.history._stack[s]=h,e())})),i.addBtnDef("historyRedo",t),i.addBtnDef("historyUndo",n)}}}})}(jQuery);
|
@@ -0,0 +1,60 @@
|
|
1
|
+
|
2
|
+
/* ===========================================================
|
3
|
+
* trumbowyg.indent.js v1.0
|
4
|
+
* Indent or Outdent plugin for Trumbowyg
|
5
|
+
* http://alex-d.github.com/Trumbowyg
|
6
|
+
* ===========================================================
|
7
|
+
* Author : Fabacks
|
8
|
+
* Website : https://github.com/Fabacks
|
9
|
+
*/
|
10
|
+
|
11
|
+
(function ($) {
|
12
|
+
'use strict';
|
13
|
+
|
14
|
+
$.extend(true, $.trumbowyg, {
|
15
|
+
langs: {
|
16
|
+
en: {
|
17
|
+
indent: 'Indent',
|
18
|
+
outdent: 'Outdent'
|
19
|
+
},
|
20
|
+
et: {
|
21
|
+
indent: 'Taande suurendamine',
|
22
|
+
outdent: 'Taande vähendamine'
|
23
|
+
},
|
24
|
+
fr: {
|
25
|
+
indent: 'Augmenter le retrait',
|
26
|
+
outdent: 'Diminuer le retrait'
|
27
|
+
}
|
28
|
+
}
|
29
|
+
});
|
30
|
+
|
31
|
+
// Adds the extra button definition
|
32
|
+
$.extend(true, $.trumbowyg, {
|
33
|
+
plugins: {
|
34
|
+
paragraph: {
|
35
|
+
init: function (trumbowyg) {
|
36
|
+
var indentBtnDef = {
|
37
|
+
fn: 'indent',
|
38
|
+
title: trumbowyg.lang.indent,
|
39
|
+
isSupported: function () {
|
40
|
+
return !!document.queryCommandSupported && !!document.queryCommandSupported('indent');
|
41
|
+
},
|
42
|
+
ico: 'indent'
|
43
|
+
};
|
44
|
+
|
45
|
+
var outdentBtnDef = {
|
46
|
+
fn: 'outdent',
|
47
|
+
title: trumbowyg.lang.outdent,
|
48
|
+
isSupported: function () {
|
49
|
+
return !!document.queryCommandSupported && !!document.queryCommandSupported('outdent');
|
50
|
+
},
|
51
|
+
ico: 'outdent'
|
52
|
+
};
|
53
|
+
|
54
|
+
trumbowyg.addBtnDef('indent', indentBtnDef);
|
55
|
+
trumbowyg.addBtnDef('outdent', outdentBtnDef);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
});
|
60
|
+
})(jQuery);
|
@@ -0,0 +1 @@
|
|
1
|
+
!function(n){"use strict";n.extend(!0,n.trumbowyg,{langs:{en:{indent:"Indent",outdent:"Outdent"},et:{indent:"Taande suurendamine",outdent:"Taande vähendamine"},fr:{indent:"Augmenter le retrait",outdent:"Diminuer le retrait"}}}),n.extend(!0,n.trumbowyg,{plugins:{paragraph:{init:function(n){var t={fn:"indent",title:n.lang.indent,isSupported:function(){return!!document.queryCommandSupported&&!!document.queryCommandSupported("indent")},ico:"indent"},e={fn:"outdent",title:n.lang.outdent,isSupported:function(){return!!document.queryCommandSupported&&!!document.queryCommandSupported("outdent")},ico:"outdent"};n.addBtnDef("indent",t),n.addBtnDef("outdent",e)}}}})}(jQuery);
|
data/app/assets/javascripts/activeadmin/trumbowyg/plugins/insertaudio/trumbowyg.insertaudio.js
CHANGED
@@ -40,23 +40,29 @@
|
|
40
40
|
da: {
|
41
41
|
insertAudio: 'Indsæt lyd'
|
42
42
|
},
|
43
|
+
et: {
|
44
|
+
insertAudio: 'Lisa helifail'
|
45
|
+
},
|
43
46
|
fr: {
|
44
47
|
insertAudio: 'Insérer un son'
|
45
48
|
},
|
46
|
-
|
47
|
-
insertAudio: '
|
49
|
+
hu: {
|
50
|
+
insertAudio: 'Audio beszúrás'
|
48
51
|
},
|
49
52
|
ja: {
|
50
53
|
insertAudio: '音声の挿入'
|
51
54
|
},
|
52
|
-
|
53
|
-
insertAudio: '
|
55
|
+
ko: {
|
56
|
+
insertAudio: '소리 넣기'
|
54
57
|
},
|
55
58
|
pt_br: {
|
56
59
|
insertAudio: 'Inserir áudio'
|
57
60
|
},
|
58
|
-
|
59
|
-
insertAudio: '
|
61
|
+
ru: {
|
62
|
+
insertAudio: 'Вставить аудио'
|
63
|
+
},
|
64
|
+
tr: {
|
65
|
+
insertAudio: 'Ses Ekle'
|
60
66
|
},
|
61
67
|
// jshint camelcase:true
|
62
68
|
},
|
data/app/assets/javascripts/activeadmin/trumbowyg/plugins/insertaudio/trumbowyg.insertaudio.min.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e){"use strict";var r={src:{label:"URL",required:!0},autoplay:{label:"AutoPlay",required:!1,type:"checkbox"},muted:{label:"Muted",required:!1,type:"checkbox"},preload:{label:"preload options",required:!1}};e.extend(!0,e.trumbowyg,{langs:{en:{insertAudio:"Insert Audio"},da:{insertAudio:"Indsæt lyd"},fr:{insertAudio:"Insérer un son"},
|
1
|
+
!function(e){"use strict";var r={src:{label:"URL",required:!0},autoplay:{label:"AutoPlay",required:!1,type:"checkbox"},muted:{label:"Muted",required:!1,type:"checkbox"},preload:{label:"preload options",required:!1}};e.extend(!0,e.trumbowyg,{langs:{en:{insertAudio:"Insert Audio"},da:{insertAudio:"Indsæt lyd"},et:{insertAudio:"Lisa helifail"},fr:{insertAudio:"Insérer un son"},hu:{insertAudio:"Audio beszúrás"},ja:{insertAudio:"音声の挿入"},ko:{insertAudio:"소리 넣기"},pt_br:{insertAudio:"Inserir áudio"},ru:{insertAudio:"Вставить аудио"},tr:{insertAudio:"Ses Ekle"}},plugins:{insertAudio:{init:function(i){var t={fn:function(){i.openModalInsert(i.lang.insertAudio,r,(function(r){var t="<audio controls";r.src&&(t+=" src='"+r.src+"'"),r.autoplay&&(t+=" autoplay"),r.muted&&(t+=" muted"),r.preload&&(t+=" preload='"+r+"'");var n=e(t+="></audio>")[0];return i.range.deleteContents(),i.range.insertNode(n),!0}))}};i.addBtnDef("insertAudio",t)}}}})}(jQuery);
|
data/app/assets/javascripts/activeadmin/trumbowyg/plugins/lineheight/trumbowyg.lineheight.js
CHANGED
@@ -22,6 +22,15 @@
|
|
22
22
|
'2.0': 'Ekstra stor'
|
23
23
|
}
|
24
24
|
},
|
25
|
+
et: {
|
26
|
+
lineheight: 'Reavahe',
|
27
|
+
lineheights: {
|
28
|
+
'0.9': 'Väike',
|
29
|
+
'normal': 'Tavaline',
|
30
|
+
'1.5': 'Suur',
|
31
|
+
'2.0': 'Väga suur'
|
32
|
+
}
|
33
|
+
},
|
25
34
|
fr: {
|
26
35
|
lineheight: 'Hauteur de ligne',
|
27
36
|
lineheights: {
|
@@ -31,6 +40,33 @@
|
|
31
40
|
'2.0': 'Très grande'
|
32
41
|
}
|
33
42
|
},
|
43
|
+
hu: {
|
44
|
+
lineheight: 'Line height',
|
45
|
+
lineheights: {
|
46
|
+
'0.9': 'Small',
|
47
|
+
'normal': 'Regular',
|
48
|
+
'1.5': 'Large',
|
49
|
+
'2.0': 'Extra large'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
it: {
|
53
|
+
lineheight: 'Altezza linea',
|
54
|
+
lineheights: {
|
55
|
+
'0.9': 'Bassa',
|
56
|
+
'normal': 'Normale',
|
57
|
+
'1.5': 'Alta',
|
58
|
+
'2.0': 'Molto alta'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
ko: {
|
62
|
+
lineheight: '줄 간격',
|
63
|
+
lineheights: {
|
64
|
+
'0.9': '좁게',
|
65
|
+
'normal': '보통',
|
66
|
+
'1.5': '넓게',
|
67
|
+
'2.0': '아주 넓게'
|
68
|
+
}
|
69
|
+
},
|
34
70
|
nl: {
|
35
71
|
lineheight: 'Regelhoogte',
|
36
72
|
lineheights: {
|
@@ -40,6 +76,15 @@
|
|
40
76
|
'2.0': 'Extra groot'
|
41
77
|
}
|
42
78
|
},
|
79
|
+
pt_br: {
|
80
|
+
lineheight: 'Altura de linha',
|
81
|
+
lineheights: {
|
82
|
+
'0.9': 'Pequena',
|
83
|
+
'normal': 'Regular',
|
84
|
+
'1.5': 'Grande',
|
85
|
+
'2.0': 'Extra grande'
|
86
|
+
}
|
87
|
+
},
|
43
88
|
tr: {
|
44
89
|
lineheight: 'Satır yüksekliği',
|
45
90
|
lineheights: {
|
@@ -58,33 +103,6 @@
|
|
58
103
|
'2.0': '特大'
|
59
104
|
}
|
60
105
|
},
|
61
|
-
pt_br: {
|
62
|
-
lineheight: 'Altura de linha',
|
63
|
-
lineheights: {
|
64
|
-
'0.9': 'Pequena',
|
65
|
-
'normal': 'Regular',
|
66
|
-
'1.5': 'Grande',
|
67
|
-
'2.0': 'Extra grande'
|
68
|
-
}
|
69
|
-
},
|
70
|
-
it: {
|
71
|
-
lineheight: 'Altezza linea',
|
72
|
-
lineheights: {
|
73
|
-
'0.9': 'Bassa',
|
74
|
-
'normal': 'Normale',
|
75
|
-
'1.5': 'Alta',
|
76
|
-
'2.0': 'Molto alta'
|
77
|
-
}
|
78
|
-
},
|
79
|
-
ko: {
|
80
|
-
lineheight: '줄 간격',
|
81
|
-
lineheights: {
|
82
|
-
'0.9': '좁게',
|
83
|
-
'normal': '보통',
|
84
|
-
'1.5': '넓게',
|
85
|
-
'2.0': '아주 넓게'
|
86
|
-
}
|
87
|
-
},
|
88
106
|
}
|
89
107
|
});
|
90
108
|
// jshint camelcase:true
|
data/app/assets/javascripts/activeadmin/trumbowyg/plugins/lineheight/trumbowyg.lineheight.min.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e){"use strict";
|
1
|
+
!function(e){"use strict";e.extend(!0,e.trumbowyg,{langs:{en:{lineheight:"Line height",lineheights:{.9:"Small",normal:"Regular",1.5:"Large","2.0":"Extra large"}},da:{lineheight:"Linjehøjde",lineheights:{.9:"Lille",normal:"Normal",1.5:"Stor","2.0":"Ekstra stor"}},et:{lineheight:"Reavahe",lineheights:{.9:"Väike",normal:"Tavaline",1.5:"Suur","2.0":"Väga suur"}},fr:{lineheight:"Hauteur de ligne",lineheights:{.9:"Petite",normal:"Normale",1.5:"Grande","2.0":"Très grande"}},hu:{lineheight:"Line height",lineheights:{.9:"Small",normal:"Regular",1.5:"Large","2.0":"Extra large"}},it:{lineheight:"Altezza linea",lineheights:{.9:"Bassa",normal:"Normale",1.5:"Alta","2.0":"Molto alta"}},ko:{lineheight:"줄 간격",lineheights:{.9:"좁게",normal:"보통",1.5:"넓게","2.0":"아주 넓게"}},nl:{lineheight:"Regelhoogte",lineheights:{.9:"Klein",normal:"Normaal",1.5:"Groot","2.0":"Extra groot"}},pt_br:{lineheight:"Altura de linha",lineheights:{.9:"Pequena",normal:"Regular",1.5:"Grande","2.0":"Extra grande"}},tr:{lineheight:"Satır yüksekliği",lineheights:{.9:"Küçük",normal:"Normal",1.5:"Büyük","2.0":"Çok Büyük"}},zh_tw:{lineheight:"文字間距",lineheights:{.9:"小",normal:"正常",1.5:"大","2.0":"特大"}}}});var n={sizeList:["0.9","normal","1.5","2.0"]};function i(n){var i=[];return e.each(n.o.plugins.lineheight.sizeList,(function(t,l){n.addBtnDef("lineheight_"+l,{text:n.lang.lineheights[l]||l,hasIcon:!1,fn:function(){if(n.saveRange(),""!==n.getRangeText().replace(/\s/g,""))try{var i=function(){var e,n=null;window.getSelection?(e=window.getSelection()).rangeCount&&1!==(n=e.getRangeAt(0).commonAncestorContainer).nodeType&&(n=n.parentNode):(e=document.selection)&&"Control"!==e.type&&(n=e.createRange().parentElement());return n}();e(i).css("lineHeight",l)}catch(e){}}}),i.push("lineheight_"+l)})),i}e.extend(!0,e.trumbowyg,{plugins:{lineheight:{init:function(t){t.o.plugins.lineheight=e.extend({},n,t.o.plugins.lineheight||{}),t.addBtnDef("lineheight",{dropdown:i(t)})}}}})}(jQuery);
|
@@ -22,11 +22,31 @@
|
|
22
22
|
formulas: 'Formler',
|
23
23
|
inline: 'Inline'
|
24
24
|
},
|
25
|
+
et: {
|
26
|
+
mathml: 'Sisesta valem',
|
27
|
+
formulas: 'Valemid',
|
28
|
+
inline: 'Teksti sees'
|
29
|
+
},
|
25
30
|
fr: {
|
26
31
|
mathml: 'Inserer une formule',
|
27
32
|
formulas: 'Formule',
|
28
33
|
inline: 'En ligne'
|
29
34
|
},
|
35
|
+
hu: {
|
36
|
+
mathml: 'Formulák beszúrás',
|
37
|
+
formulas: 'Formulák',
|
38
|
+
inline: 'Inline'
|
39
|
+
},
|
40
|
+
ko: {
|
41
|
+
mathml: '수식 넣기',
|
42
|
+
formulas: '수식',
|
43
|
+
inline: '글 안에 넣기'
|
44
|
+
},
|
45
|
+
pt_br: {
|
46
|
+
mathml: 'Inserir fórmulas',
|
47
|
+
formulas: 'Fórmulas',
|
48
|
+
inline: 'Em linha'
|
49
|
+
},
|
30
50
|
tr: {
|
31
51
|
mathml: 'Formül Ekle',
|
32
52
|
formulas: 'Formüller',
|
@@ -37,16 +57,6 @@
|
|
37
57
|
formulas: '方程式',
|
38
58
|
inline: '內嵌'
|
39
59
|
},
|
40
|
-
pt_br: {
|
41
|
-
mathml: 'Inserir fórmulas',
|
42
|
-
formulas: 'Fórmulas',
|
43
|
-
inline: 'Em linha'
|
44
|
-
},
|
45
|
-
ko: {
|
46
|
-
mathml: '수식 넣기',
|
47
|
-
formulas: '수식',
|
48
|
-
inline: '글 안에 넣기'
|
49
|
-
},
|
50
60
|
},
|
51
61
|
// jshint camelcase:true
|
52
62
|
|
@@ -1 +1 @@
|
|
1
|
-
!function(e){"use strict";e.extend(!0,e.trumbowyg,{langs:{en:{mathml:"Insert Formulas",formulas:"Formulas",inline:"Inline"},da:{mathml:"Indsæt formler",formulas:"Formler",inline:"Inline"},fr:{mathml:"Inserer une formule",formulas:"Formule",inline:"En ligne"},
|
1
|
+
!function(e){"use strict";e.extend(!0,e.trumbowyg,{langs:{en:{mathml:"Insert Formulas",formulas:"Formulas",inline:"Inline"},da:{mathml:"Indsæt formler",formulas:"Formler",inline:"Inline"},et:{mathml:"Sisesta valem",formulas:"Valemid",inline:"Teksti sees"},fr:{mathml:"Inserer une formule",formulas:"Formule",inline:"En ligne"},hu:{mathml:"Formulák beszúrás",formulas:"Formulák",inline:"Inline"},ko:{mathml:"수식 넣기",formulas:"수식",inline:"글 안에 넣기"},pt_br:{mathml:"Inserir fórmulas",formulas:"Fórmulas",inline:"Em linha"},tr:{mathml:"Formül Ekle",formulas:"Formüller",inline:"Satır içi"},zh_tw:{mathml:"插入方程式",formulas:"方程式",inline:"內嵌"}},plugins:{mathml:{init:function(l){var n={fn:function(){l.saveRange();var n={formulas:{label:l.lang.formulas,required:!0,value:""},inline:{label:l.lang.inline,attributes:{checked:!0},type:"checkbox",required:!1}},a=function(t){var r=t.inline?"$":"$$";if(l.currentMathNode)e(l.currentMathNode).html(r+" "+t.formulas+" "+r).attr("formulas",t.formulas).attr("inline",t.inline?"true":"false");else{var i='<span class="mathMlContainer" contenteditable="false" formulas="'+t.formulas+'" inline="'+(t.inline?"true":"false")+'" >'+r+" "+t.formulas+" "+r+"</span>",m=e(i)[0];m.onclick=function(){l.currentMathNode=this,n.formulas.value=e(this).attr("formulas"),"true"===e(this).attr("inline")?n.inline.attributes.checked=!0:delete n.inline.attributes.checked,l.openModalInsert(l.lang.mathml,n,a)},l.range.deleteContents(),l.range.insertNode(m)}return l.currentMathNode=!1,MathJax.Hub.Queue(["Typeset",MathJax.Hub]),!0};n.formulas.value=l.getRangeText(),n.inline.attributes.checked=!0,l.openModalInsert(l.lang.mathml,n,a)}};l.addBtnDef("mathml",n)}}}})}(jQuery);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* Trumbowyg v2.
|
2
|
+
* Trumbowyg v2.25.0 - A lightweight WYSIWYG editor
|
3
3
|
* Trumbowyg plugin stylesheet
|
4
4
|
* ------------------------
|
5
5
|
* @link http://alex-d.github.io/Trumbowyg
|
@@ -24,6 +24,7 @@
|
|
24
24
|
bottom: 0;
|
25
25
|
left: 0;
|
26
26
|
background-color: rgba(255, 255, 255, 0.83);
|
27
|
-
box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.83);
|
27
|
+
-webkit-box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.83);
|
28
|
+
box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.83);
|
28
29
|
cursor: pointer;
|
29
30
|
pointer-events: auto; }
|
data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/ui/trumbowyg.mathml.min.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
/** Trumbowyg v2.
|
2
|
-
.mathMlContainer{position:relative}.mathMlContainer[inline=false]{display:block;width:100%}.mathMlContainer:hover{pointer-events:none}.mathMlContainer:hover::after{content:'\270E';position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(255,255,255,.83);box-shadow:0 0 5px 5px rgba(255,255,255,.83);cursor:pointer;pointer-events:auto}
|
1
|
+
/** Trumbowyg v2.25.0 - A lightweight WYSIWYG editor - alex-d.github.io/Trumbowyg - License MIT - Author : Alexandre Demode (Alex-D) / alex-d.fr */
|
2
|
+
.mathMlContainer{position:relative}.mathMlContainer[inline=false]{display:block;width:100%}.mathMlContainer:hover{pointer-events:none}.mathMlContainer:hover::after{content:'\270E';position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(255,255,255,.83);-webkit-box-shadow:0 0 5px 5px rgba(255,255,255,.83);box-shadow:0 0 5px 5px rgba(255,255,255,.83);cursor:pointer;pointer-events:auto}
|
@@ -26,9 +26,21 @@
|
|
26
26
|
da: {
|
27
27
|
mention: 'Nævn'
|
28
28
|
},
|
29
|
+
et: {
|
30
|
+
mention: 'Maini'
|
31
|
+
},
|
29
32
|
fr: {
|
30
33
|
mention: 'Mentionner'
|
31
34
|
},
|
35
|
+
hu: {
|
36
|
+
mention: 'Említ'
|
37
|
+
},
|
38
|
+
ko: {
|
39
|
+
mention: '언급'
|
40
|
+
},
|
41
|
+
pt_br: {
|
42
|
+
mention: 'Menção'
|
43
|
+
},
|
32
44
|
ru: {
|
33
45
|
mention: 'Упомянуть'
|
34
46
|
},
|
@@ -38,12 +50,6 @@
|
|
38
50
|
zh_tw: {
|
39
51
|
mention: '標記'
|
40
52
|
},
|
41
|
-
pt_br: {
|
42
|
-
mention: 'Menção'
|
43
|
-
},
|
44
|
-
ko: {
|
45
|
-
mention: '언급'
|
46
|
-
},
|
47
53
|
// jshint camelcase:true
|
48
54
|
},
|
49
55
|
|
@@ -1 +1 @@
|
|
1
|
-
!function(n){"use strict";
|
1
|
+
!function(n){"use strict";var t={source:[],formatDropdownItem:function(n){return n.login},formatResult:function(n){return"@"+n.login+" "}};function o(t,o){var e=[];return n.each(t,(function(n,t){var i="mention-"+n,r={hasIcon:!1,text:o.o.plugins.mention.formatDropdownItem(t),fn:function(){return o.execCmd("insertHTML",o.o.plugins.mention.formatResult(t)),!0}};o.addBtnDef(i,r),e.push(i)})),e}n.extend(!0,n.trumbowyg,{langs:{en:{mention:"Mention"},da:{mention:"Nævn"},et:{mention:"Maini"},fr:{mention:"Mentionner"},hu:{mention:"Említ"},ko:{mention:"언급"},pt_br:{mention:"Menção"},ru:{mention:"Упомянуть"},tr:{mention:"Bahset"},zh_tw:{mention:"標記"}},plugins:{mention:{init:function(e){e.o.plugins.mention=n.extend(!0,{},t,e.o.plugins.mention||{});var i={dropdown:o(e.o.plugins.mention.source,e)};e.addBtnDef("mention",i)}}}})}(jQuery);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* Trumbowyg v2.
|
2
|
+
* Trumbowyg v2.25.0 - A lightweight WYSIWYG editor
|
3
3
|
* Trumbowyg plugin stylesheet
|
4
4
|
* ------------------------
|
5
5
|
* @link http://alex-d.github.io/Trumbowyg
|
@@ -19,6 +19,10 @@
|
|
19
19
|
right: 0;
|
20
20
|
width: 15%;
|
21
21
|
height: 100%;
|
22
|
-
background-size: 100%;
|
22
|
+
-webkit-background-size: 100% 100%;
|
23
|
+
background-size: 100%;
|
24
|
+
background-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), color-stop(80%, #ffffff), to(#ffffff));
|
25
|
+
background-image: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, #ffffff 80%, #ffffff 100%);
|
26
|
+
background-image: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, #ffffff 80%, #ffffff 100%);
|
23
27
|
background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #ffffff 80%, #ffffff 100%);
|
24
28
|
pointer-events: none; }
|