Home › Forums › General XMetaL Discussion › Request: CSS extensions to insert line breaks › Reply To: Request: CSS extensions to insert line breaks
Reply to: Request: CSS extensions to insert line breaks
September 8, 2010 at 9:49 pmIf you could work code similar to the following into your XFT it might not need any further adjustment in the future. Run this code after placing your selection inside an element to see a list of attributes with values.
[code]//XMetaL Script Language JScript:
var rng = ActiveDocument.Range;
var msg = “”;
var attrs = rng.ContainerNode.attributes;
for(i=0;i
}
Application.Alert(msg);[/code]