teleport-code-generators
teleport-code-generators copied to clipboard
Add width and height html attr in img tag
Whenever we have width and height in pixels set in styles on element node, add the values to the width and height attributes in image tag without unit.
Hey @Utwo, to implement this we have to add attributes here https://github.com/teleporthq/teleport-code-generators/blob/development/packages/teleport-uidl-resolver/src/html-mapping.ts#L21, and anywhere else we have to work?
Hey @chavda-bhavik this is kind of core thing, needs little more changes and primarily some investigation of the best way to handle. I got your invitation for fixing #545 issue. I will set things for you there :)