Changes in [3680:57c79fd7f152:3683:51eaa1079bde]
- Files:
-
- 1 added
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
.hgignore
r3277 r3671 6 6 build-tools/ckeditor/ckbuilder.jar 7 7 syntax: glob 8 csp_report.txt 8 var -
.hgsigs
r3084 r3682 1 1 266ba234e2a5115e47379030e9439b6abcb11e80 0 iQEcBAABCgAGBQJV1WIcAAoJELwJObfmz3HnHHEH/1+ohmFEzHx5M90oAtQN4pQLsPCZ/fCVG5w6OoD56DOPP3IMaTSxlEzoG3mjWv0gzAb4zJjPErBwRy7keq3rjT5SyDs17aHRmCE91+YuGNBDnQHAD68gVZaQQ+L2d5+EHYdGtxcwiFUyRWEv+U/4NW0UexuJDVqzS6ztUC45D1a2Qt9Q4bbEsywmE5Bl7IP7hjxKlICJNo3fclpCgdryPeB7gatOJz4uw/T6tbJVzvD2ETA/9kp+hg2yFNWBhS0zgK/BKcinqlh2AW4fPDsrOvr7LnIQUt5KwdJmbNA3A8moF2EU9/PiF76tWF5IHtnk9x/bQjCgukZSZ383eUzlY58= 2 ee065bfd6458b8fab13c8adf7649f8f988deb8e1 0 iQEzBAABCgAdFiEEl+7zWgi24VqTXSmqvAk5t+bPcecFAlprnkcACgkQvAk5t+bPcefsjQf/XYGUwwbDjOlWLdBRpGrnANElA1I8It6vlFJhMCBxlKm2USHMcQ0soOD4qFBUNioFBffPFLaD9wYHgU9oDfRzyKO09ntu0zO8jxetGrKItJJJqY9RUCKi5lYxvFICVwk3F7u8dU2Z5QxNI4g6rqlidxjzzBh9SprwcHi5kV33yLaShcvGjpU/23CstGRbfDy/rIBlC+xWEb8F8P+xQpPlzv7Ex7PBEAU3l3cdlwZic7gZM8c9rEf4fenH7WmWTAybeaga2RK5N2D6r4NB3+4zfr/AkwB7LCiLvNC+10RwoRHPwIZTe0pIf7AQG6YCXbWboEsbDD5bzJxpuTDjFJTTcA== -
.hgtags
r3574 r3681 36 36 4c17ef251f93345c0d52fa865cc9e2207af9668a 2.11.2 37 37 9000f35951d874b538b936f6b0d26e83b6d616b3 2.12.1 38 57c79fd7f152a9d954c85f0b58cfdccd8b1ed8eb 2.13.1 -
admin/style/default.css
r3639 r3678 1791 1791 background: #fff; 1792 1792 border-bottom-color: #fff; } 1793 .part-tabs li a:link { 1794 transition: unset; } 1793 1795 .part-tabs li.part-tabs-active a { 1794 1796 background: #fff; … … 3282 3284 border-top: none; } } 3283 3285 /** -------------------------------------------------- 3286 Plugins 3287 --------------------------------------------------- */ 3288 /* dcLegacyEditor */ 3289 /* WYSIWYG Document */ 3290 body.wysiwygDoc { 3291 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; } 3292 3293 .wysiwygDoc pre, .wysiwygDoc code, .wysiwygDoc kbd, .wysiwygDoc samp { 3294 font-family: "Andale Mono", AndaleMono, Consolas, Monaco, "Courier New", monospace; } 3295 3296 /* dcCKEditor */ 3297 .cke textarea.cke_source { 3298 font-family: "Andale Mono", AndaleMono, Consolas, Monaco, "Courier New", monospace; 3299 font-size: 100%; } 3300 3301 /** -------------------------------------------------- 3284 3302 3rd parties 3285 3303 --------------------------------------------------- */ … … 3632 3650 padding-left: 6px; 3633 3651 padding-right: 6px; } } 3652 /* CodeMirror CSS */ 3653 .CodeMirror { 3654 /* Set height, width, borders, and global font properties here */ 3655 font-family: "Andale Mono", AndaleMono, Consolas, Monaco, "Courier New", monospace !important; } 3656 3634 3657 /** -------------------------------------------------- 3635 3658 Debug -
admin/style/scss/default.scss
r3389 r3669 78 78 79 79 /** -------------------------------------------------- 80 Plugins 81 --------------------------------------------------- */ 82 @import "partials/editors"; 83 84 /** -------------------------------------------------- 80 85 3rd parties 81 86 --------------------------------------------------- */ 82 87 @import "vendor/magnific-popup"; 88 @import "vendor/codemirror"; 83 89 84 90 /** -------------------------------------------------- -
admin/style/scss/partials/_content.scss
r3439 r3678 30 30 border-bottom-color: #fff; 31 31 } 32 &:link { 33 transition: unset; 34 } 32 35 } 33 36 &.part-tabs-active a { -
composer.json
r3618 r3675 2 2 "name": "dotclear/dotclear", 3 3 "description": "Dotclear is an open-source web publishing software.", 4 "license": "GPL- V2",4 "license": "GPL-2.0-only", 5 5 "authors": [ 6 6 { -
inc/prepend.php
r3680 r3683 144 144 # Constants 145 145 define('DC_ROOT',path::real(dirname(__FILE__).'/..')); 146 define('DC_VERSION','2.1 3.1');146 define('DC_VERSION','2.14-dev'); 147 147 define('DC_DIGESTS',dirname(__FILE__).'/digests'); 148 148 define('DC_L10N_ROOT',dirname(__FILE__).'/../locales'); -
plugins/dcCKEditor/_post_config.php
r3641 r3670 251 251 } 252 252 } 253 253 254 }); 254 255 255 256 CKEDITOR.on('instanceReady',function(e) { 257 if (typeof dotclear_htmlFontSize !== 'undefined') { 258 e.editor.document.$.documentElement.style.setProperty('--html-font-size',dotclear_htmlFontSize); 259 } 256 260 257 261 if ($('label[for="post_excerpt"] a img').attr('src') == dotclear.img_minus_src) { -
plugins/dcCKEditor/inc/dc.ckeditor.behaviors.php
r3421 r3669 32 32 } 33 33 34 return34 $res = 35 35 '<script type="text/javascript">'."\n". 36 36 dcPage::jsVar('dotclear.ckeditor_context', $context). … … 58 58 dcPage::jsLoad(self::$p_url.'/js/ckeditor/adapters/jquery.js'). 59 59 dcPage::jsLoad($config_js); 60 61 if ($GLOBALS['core']->auth->user_prefs->interface->htmlfontsize) { 62 $res .= 63 '<script type="text/javascript">'."\n". 64 dcPage::jsVar('dotclear_htmlFontSize',$GLOBALS['core']->auth->user_prefs->interface->htmlfontsize)."\n". 65 "</script>\n"; 66 } 67 68 return $res; 60 69 } 61 70 -
plugins/dcCKEditor/js/ckeditor/contents.css
r3616 r3669 27 27 word-wrap: break-word; 28 28 } 29 30 /* Dotclear */ 31 :root { 32 --html-font-size: 62.5%; } 33 34 html { 35 font-size: 62.5%; 36 font-size: var(--html-font-size); } 37 38 body { 39 font-size: 1.4rem; 40 line-height: 1.5; 41 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; 42 } 43 .cke_editable 44 { 45 font-size: 1.4rem; 46 } 47 /* End Dotclear */ 29 48 30 49 blockquote -
plugins/dcLegacyEditor/css/jsToolBar/jsToolBar.css
r3602 r3669 168 168 /* WYSIWYG Document */ 169 169 body.wysiwygDoc { 170 font: 12px "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;171 170 color : #000; 172 171 background: #f9f9f9; … … 174 173 padding : 2px; 175 174 border: none; 176 }177 .wysiwygDoc pre, .wysiwygDoc code, .wysiwygDoc kbd, .wysiwygDoc samp {178 font-family:"Courier New",Courier,monospace;179 font-size : 1.1em;180 175 } 181 176 .wysiwygDoc code { -
plugins/dcLegacyEditor/inc/dc.legacy.editor.behaviors.php
r3421 r3669 69 69 "jsToolBar.prototype.iframe_css = '". 70 70 'body {'. 71 ' font: 12px "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;'.72 71 ' color: #000;'. 73 72 ' background: #f9f9f9;'. … … 76 75 ' border: none;'. 77 76 (l10n::getTextDirection($GLOBALS['_lang']) == 'rtl' ? ' direction: rtl;' : ''). 78 '}'.79 'pre, code, kbd, samp {'.80 ' font-family: "Courier New",Courier,monospace;'.81 ' font-size: 1.1em;'.82 77 '}'. 83 78 'code {'. … … 140 135 "</script>\n"; 141 136 137 if ($GLOBALS['core']->auth->user_prefs->interface->htmlfontsize) { 138 $res .= 139 '<script type="text/javascript">'."\n". 140 dcPage::jsVar('dotclear_htmlFontSize',$GLOBALS['core']->auth->user_prefs->interface->htmlfontsize)."\n". 141 "</script>\n"; 142 } 143 142 144 return $res; 143 145 } -
plugins/dcLegacyEditor/js/jsToolBar/jsToolBar.wysiwyg.js
r3258 r3669 165 165 '<html>\n'+ 166 166 '<head>\n'+ 167 '<link rel="stylesheet" href="style/default.css" type="text/css" media="screen" />' 167 168 '<style type="text/css">'+This.iframe_css+'</style>\n'+ 168 169 (This.base_url != '' ? '<base href="'+This.base_url+'" />' : '')+ … … 177 178 doc.designMode = 'on'; 178 179 // warning : doc is now inaccessible for IE6 sp1 180 } 181 182 if (typeof dotclear_htmlFontSize !== 'undefined') { 183 doc.documentElement.style.setProperty('--html-font-size',dotclear_htmlFontSize); 179 184 } 180 185
Note: See TracChangeset
for help on using the changeset viewer.