mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Load tinymce from vendor and set custom language_url
This commit is contained in:
parent
95fe820e30
commit
a33c3a60b7
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
/*egw:uses
|
/*egw:uses
|
||||||
jsapi.jsapi; // Needed for egw_seperateJavaScript
|
jsapi.jsapi; // Needed for egw_seperateJavaScript
|
||||||
/api/js/tinymce/tinymce.min.js;
|
/vendor/tinymce/tinymce/tinymce.min.js;
|
||||||
et2_core_editableWidget;
|
et2_core_editableWidget;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -141,6 +141,7 @@ var et2_htmlarea = (function(){ "use strict"; return et2_editableWidget.extend([
|
|||||||
min_height: 100,
|
min_height: 100,
|
||||||
convert_urls: false,
|
convert_urls: false,
|
||||||
language: et2_htmlarea.LANGUAGE_CODE[egw.preference('lang', 'common')],
|
language: et2_htmlarea.LANGUAGE_CODE[egw.preference('lang', 'common')],
|
||||||
|
language_url: egw.webserverUrl+'/api/js/tinymce/langs/'+et2_htmlarea.LANGUAGE_CODE[egw.preference('lang', 'common')]+'.js',
|
||||||
paste_data_images: true,
|
paste_data_images: true,
|
||||||
browser_spellcheck: true,
|
browser_spellcheck: true,
|
||||||
contextmenu: false,
|
contextmenu: false,
|
||||||
|
@ -1,45 +0,0 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
|
||||||
* Licensed under the LGPL or a commercial license.
|
|
||||||
* For LGPL see License.txt in the project root for license information.
|
|
||||||
* For commercial licenses see https://www.tiny.cloud/
|
|
||||||
*/
|
|
||||||
body {
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
||||||
line-height: 1.4;
|
|
||||||
margin: 1rem;
|
|
||||||
}
|
|
||||||
table {
|
|
||||||
border: 0;
|
|
||||||
border-collapse: collapse;
|
|
||||||
}
|
|
||||||
table th,
|
|
||||||
table td {
|
|
||||||
border: 1px solid #ccc;
|
|
||||||
padding: .4rem;
|
|
||||||
}
|
|
||||||
blockquote {
|
|
||||||
border-left: 2px solid #ccc;
|
|
||||||
margin-left: 1.5rem;
|
|
||||||
padding-left: 1rem;
|
|
||||||
}
|
|
||||||
figure {
|
|
||||||
display: table;
|
|
||||||
margin: 1rem auto;
|
|
||||||
}
|
|
||||||
figure figcaption {
|
|
||||||
color: #999;
|
|
||||||
display: block;
|
|
||||||
margin-top: .25rem;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
hr {
|
|
||||||
border-color: #ccc;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px 0 0 0;
|
|
||||||
}
|
|
||||||
code {
|
|
||||||
background-color: #e8e8e8;
|
|
||||||
border-radius: 3px;
|
|
||||||
padding: .1rem .2rem;
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border:0;border-collapse:collapse}table td,table th{border:1px solid #ccc;padding:.4rem}blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}
|
|
||||||
/*# sourceMappingURL=content.min.css.map */
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"sources":["content/default/content.css"],"names":[],"mappings":"AAMA,KACE,YAAa,aAAa,CAAE,kBAAkB,CAAE,UAAU,CAAE,MAAM,CAAE,MAAM,CAAE,MAAM,CAAE,SAAS,CAAE,WAAW,CAAE,gBAAgB,CAAE,WAC9H,YAAa,IACb,OAAQ,KAEV,MACE,OAAQ,EACR,gBAAiB,SAGnB,SADA,SAEE,OAAQ,IAAI,MAAM,KAClB,QAAS,MAEX,WACE,YAAa,IAAI,MAAM,KACvB,YAAa,OACb,aAAc,KAEhB,OACE,QAAS,MACT,OAAQ,KAAK,KAEf,kBACE,MAAO,KACP,QAAS,MACT,WAAY,OACZ,WAAY,OAEd,GACE,aAAc,KACd,aAAc,MACd,aAAc,IAAI,EAAE,EAAE,EAExB,KACE,iBAAkB,QAClB,cAAe,IACf,QAAS,MAAM","file":"content.min.css","sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n */\nbody {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n line-height: 1.4;\n margin: 1rem;\n}\ntable {\n border: 0;\n border-collapse: collapse;\n}\ntable th,\ntable td {\n border: 1px solid #ccc;\n padding: .4rem;\n}\nblockquote {\n border-left: 2px solid #ccc;\n margin-left: 1.5rem;\n padding-left: 1rem;\n}\nfigure {\n display: table;\n margin: 1rem auto;\n}\nfigure figcaption {\n color: #999;\n display: block;\n margin-top: .25rem;\n text-align: center;\n}\nhr {\n border-color: #ccc;\n border-style: solid;\n border-width: 1px 0 0 0;\n}\ncode {\n background-color: #e8e8e8;\n border-radius: 3px;\n padding: .1rem .2rem;\n}"]}
|
|
@ -1,42 +0,0 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
|
||||||
* Licensed under the LGPL or a commercial license.
|
|
||||||
* For LGPL see License.txt in the project root for license information.
|
|
||||||
* For commercial licenses see https://www.tiny.cloud/
|
|
||||||
*/
|
|
||||||
html {
|
|
||||||
background: #f4f4f4;
|
|
||||||
padding: 1rem;
|
|
||||||
}
|
|
||||||
body {
|
|
||||||
background-color: #fff;
|
|
||||||
box-shadow: 0 16px 16px -10px rgba(0, 0, 0, 0.15), 0 0 40px 1px rgba(0, 0, 0, 0.15);
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
||||||
margin: 1rem auto;
|
|
||||||
max-width: 900px;
|
|
||||||
padding: 4rem 2rem 8rem 8rem;
|
|
||||||
}
|
|
||||||
table {
|
|
||||||
border: 0;
|
|
||||||
border-collapse: collapse;
|
|
||||||
}
|
|
||||||
table th,
|
|
||||||
table td {
|
|
||||||
border: 1px solid #ccc;
|
|
||||||
padding: .4rem;
|
|
||||||
}
|
|
||||||
blockquote {
|
|
||||||
border-left: 2px solid #ccc;
|
|
||||||
margin-left: 1.5rem;
|
|
||||||
padding-left: 1rem;
|
|
||||||
}
|
|
||||||
figure figcaption {
|
|
||||||
color: #999;
|
|
||||||
margin-top: .25rem;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
hr {
|
|
||||||
border-color: #ccc;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px 0 0 0;
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
html{background:#f4f4f4;padding:1rem}body{background-color:#fff;box-shadow:0 16px 16px -10px rgba(0,0,0,.15),0 0 40px 1px rgba(0,0,0,.15);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;margin:1rem auto;max-width:900px;padding:4rem 2rem 8rem 8rem}table{border:0;border-collapse:collapse}table td,table th{border:1px solid #ccc;padding:.4rem}blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}figure figcaption{color:#999;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}
|
|
||||||
/*# sourceMappingURL=content.min.css.map */
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"sources":["content/document/content.css"],"names":[],"mappings":"AAMA,KACE,WAAY,QACZ,QAAS,KAEX,KACE,iBAAkB,KAClB,WAAY,EAAE,KAAK,KAAK,MAAM,eAAmB,CAAE,EAAE,EAAE,KAAK,IAAI,gBAChE,YAAa,aAAa,CAAE,kBAAkB,CAAE,UAAU,CAAE,MAAM,CAAE,MAAM,CAAE,MAAM,CAAE,SAAS,CAAE,WAAW,CAAE,gBAAgB,CAAE,WAC9H,OAAQ,KAAK,KACb,UAAW,MACX,QAAS,KAAK,KAAK,KAAK,KAE1B,MACE,OAAQ,EACR,gBAAiB,SAGnB,SADA,SAEE,OAAQ,IAAI,MAAM,KAClB,QAAS,MAEX,WACE,YAAa,IAAI,MAAM,KACvB,YAAa,OACb,aAAc,KAEhB,kBACE,MAAO,KACP,WAAY,OACZ,WAAY,OAEd,GACE,aAAc,KACd,aAAc,MACd,aAAc,IAAI,EAAE,EAAE","file":"content.min.css","sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n */\nhtml {\n background: #f4f4f4;\n padding: 1rem;\n}\nbody {\n background-color: #fff;\n box-shadow: 0 16px 16px -10px rgba(0, 0, 0, 0.15), 0 0 40px 1px rgba(0, 0, 0, 0.15);\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n margin: 1rem auto;\n max-width: 900px;\n padding: 4rem 2rem 8rem 8rem;\n}\ntable {\n border: 0;\n border-collapse: collapse;\n}\ntable th,\ntable td {\n border: 1px solid #ccc;\n padding: .4rem;\n}\nblockquote {\n border-left: 2px solid #ccc;\n margin-left: 1.5rem;\n padding-left: 1rem;\n}\nfigure figcaption {\n color: #999;\n margin-top: .25rem;\n text-align: center;\n}\nhr {\n border-color: #ccc;\n border-style: solid;\n border-width: 1px 0 0 0;\n}"]}
|
|
@ -1,46 +0,0 @@
|
|||||||
/**
|
|
||||||
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
|
||||||
* Licensed under the LGPL or a commercial license.
|
|
||||||
* For LGPL see License.txt in the project root for license information.
|
|
||||||
* For commercial licenses see https://www.tiny.cloud/
|
|
||||||
*/
|
|
||||||
body {
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
||||||
line-height: 1.4;
|
|
||||||
margin: 1rem auto;
|
|
||||||
max-width: 900px;
|
|
||||||
}
|
|
||||||
table {
|
|
||||||
border: 0;
|
|
||||||
border-collapse: collapse;
|
|
||||||
}
|
|
||||||
table th,
|
|
||||||
table td {
|
|
||||||
border: 1px solid #ccc;
|
|
||||||
padding: .4rem;
|
|
||||||
}
|
|
||||||
blockquote {
|
|
||||||
border-left: 2px solid #ccc;
|
|
||||||
margin-left: 1.5rem;
|
|
||||||
padding-left: 1rem;
|
|
||||||
}
|
|
||||||
figure {
|
|
||||||
display: table;
|
|
||||||
margin: 1rem auto;
|
|
||||||
}
|
|
||||||
figure figcaption {
|
|
||||||
color: #999;
|
|
||||||
display: block;
|
|
||||||
margin-top: .25rem;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
hr {
|
|
||||||
border-color: #ccc;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px 0 0 0;
|
|
||||||
}
|
|
||||||
code {
|
|
||||||
background-color: #e8e8e8;
|
|
||||||
border-radius: 3px;
|
|
||||||
padding: .1rem .2rem;
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem auto;max-width:900px}table{border:0;border-collapse:collapse}table td,table th{border:1px solid #ccc;padding:.4rem}blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}
|
|
||||||
/*# sourceMappingURL=content.min.css.map */
|
|
@ -1 +0,0 @@
|
|||||||
{"version":3,"sources":["content/writer/content.css"],"names":[],"mappings":"AAMA,KACE,YAAa,aAAa,CAAE,kBAAkB,CAAE,UAAU,CAAE,MAAM,CAAE,MAAM,CAAE,MAAM,CAAE,SAAS,CAAE,WAAW,CAAE,gBAAgB,CAAE,WAC9H,YAAa,IACb,OAAQ,KAAK,KACb,UAAW,MAEb,MACE,OAAQ,EACR,gBAAiB,SAGnB,SADA,SAEE,OAAQ,IAAI,MAAM,KAClB,QAAS,MAEX,WACE,YAAa,IAAI,MAAM,KACvB,YAAa,OACb,aAAc,KAEhB,OACE,QAAS,MACT,OAAQ,KAAK,KAEf,kBACE,MAAO,KACP,QAAS,MACT,WAAY,OACZ,WAAY,OAEd,GACE,aAAc,KACd,aAAc,MACd,aAAc,IAAI,EAAE,EAAE,EAExB,KACE,iBAAkB,QAClB,cAAe,IACf,QAAS,MAAM","file":"content.min.css","sourcesContent":["/**\n * Copyright (c) Tiny Technologies, Inc. All rights reserved.\n * Licensed under the LGPL or a commercial license.\n * For LGPL see License.txt in the project root for license information.\n * For commercial licenses see https://www.tiny.cloud/\n */\nbody {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n line-height: 1.4;\n margin: 1rem auto;\n max-width: 900px;\n}\ntable {\n border: 0;\n border-collapse: collapse;\n}\ntable th,\ntable td {\n border: 1px solid #ccc;\n padding: .4rem;\n}\nblockquote {\n border-left: 2px solid #ccc;\n margin-left: 1.5rem;\n padding-left: 1rem;\n}\nfigure {\n display: table;\n margin: 1rem auto;\n}\nfigure figcaption {\n color: #999;\n display: block;\n margin-top: .25rem;\n text-align: center;\n}\nhr {\n border-color: #ccc;\n border-style: solid;\n border-width: 1px 0 0 0;\n}\ncode {\n background-color: #e8e8e8;\n border-radius: 3px;\n padding: .1rem .2rem;\n}"]}
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Before Width: | Height: | Size: 152 B |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
|||||||
.tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{position:absolute;display:inline-block;background-color:green;opacity:.5}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}
|
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 152 B |
2
api/js/tinymce/skins/ui/oxide/skin.min.css
vendored
2
api/js/tinymce/skins/ui/oxide/skin.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
api/js/tinymce/tinymce.min.js
vendored
2
api/js/tinymce/tinymce.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user