newsdev / ai2html

A script for Adobe Illustrator that converts your Illustrator artwork into an html page.
http://ai2html.org
Other
898 stars 146 forks source link

Override html text output on a per-artboard basis #34

Closed dwtkns closed 7 years ago

dwtkns commented 8 years ago

Especially for mobile sizes on short deadlines, it would sometimes be preferable to just have a flag that bakes all text into a responsive image instead of worrying about alignment, text wrapping, etc.

mbloch commented 7 years ago

I added this feature by way of an optional annotation appended to the artboard name, which is consistent with how we are currently annotating artboard width. Example: Artboard 1:image_only You would specify multiple artboard-specific settings using a comma delimiter, like this: Artboard 1:600,image_only (to specify 600px breakpoint width and set the image_only flag).