Changeset 3915:a57821ba9ef1 for plugins/dcLegacyEditor
- Timestamp:
- 11/05/18 16:40:40 (7 years ago)
- Branch:
- default
- Location:
- plugins/dcLegacyEditor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/dcLegacyEditor/inc/dc.legacy.editor.behaviors.php
r3874 r3915 139 139 "</script>\n"; 140 140 141 if ($GLOBALS['core']->auth->user_prefs->interface->htmlfontsize) {142 $res .=143 '<script type="text/javascript">' . "\n" .144 dcPage::jsVar('dotclear_htmlFontSize', $GLOBALS['core']->auth->user_prefs->interface->htmlfontsize) . "\n" .145 "</script>\n";146 }147 148 141 return $res; 149 142 } -
plugins/dcLegacyEditor/js/jsToolBar/jsToolBar.wysiwyg.js
r3897 r3915 1 /*global jsToolBar, dotclear _htmlFontSize, chainHandler */1 /*global jsToolBar, dotclear, chainHandler */ 2 2 'use strict'; 3 3 … … 184 184 } 185 185 186 if ( typeof dotclear_htmlFontSize !== 'undefined') {187 doc.documentElement.style.setProperty('--html-font-size', dotclear _htmlFontSize);186 if (dotclear && dotclear.data && dotclear.data.htmlFontSize) { 187 doc.documentElement.style.setProperty('--html-font-size', dotclear.data.htmlFontSize); 188 188 } 189 189
Note: See TracChangeset
for help on using the changeset viewer.