If anyone is interested - here's an addition that will "Zoom" the text size in the editor:
1. In toolbaritems.js add:
TBI.prototype.DoZoom = new TBCombo( "DoZoom", "doZoom(this)", "Zoom", "100%;50%;75%;100%;125%;150%;175%;200%", "100;50;75;100;125;150;175;200") ;
2. In actions.js add this function:
function doZoom(size) {
if (size.value != null || size.value != "")
objContent.DOM.body.runtimeStyle.zoom = size.value + "%" ;
}
3. In config.js - add the toolbar item anywhere in your toolbarsets. For me, I updated the "default" toolbarset and added it to the second toolbar (the one that starts with ['Bold'.... ] The end of this line of code looks like:
.... ,'ShowDetails','-','DoZoom'] ,
Hope this helps!
1. In toolbaritems.js add:
TBI.prototype.DoZoom = new TBCombo( "DoZoom", "doZoom(this)", "Zoom", "100%;50%;75%;100%;125%;150%;175%;200%", "100;50;75;100;125;150;175;200") ;
2. In actions.js add this function:
function doZoom(size) {
if (size.value != null || size.value != "")
objContent.DOM.body.runtimeStyle.zoom = size.value + "%" ;
}
3. In config.js - add the toolbar item anywhere in your toolbarsets. For me, I updated the "default" toolbarset and added it to the second toolbar (the one that starts with ['Bold'.... ] The end of this line of code looks like:
.... ,'ShowDetails','-','DoZoom'] ,
Hope this helps!
RE: Zoom text added to toolbar
RE: Zoom text added to toolbar