axmol icon indicating copy to clipboard operation
axmol copied to clipboard

RichElementImage - Add support for scaling

Open theunwisewolf opened this issue 3 years ago • 2 comments

THIS PROJECT IS IN DEVELOPMENT MODE. Any pull requests should merge to branch dev, otherwise will be rejected immediately.

Describe your changes

Added support for "scaleX", "scaleY" and "scale" tags for rich text tag. Added support for width/height in percentage. E.g. <img width="150%" /> Also fixed a bug with the url attribute. Even if you didn't put a url in your img, it will still call openUrl() for some reason.

Checklist before requesting a review

  • [x] I have performed a self-review of my code
  • [x] If it is a core feature, I have added thorough tests.

theunwisewolf avatar Aug 11 '22 22:08 theunwisewolf

What about implement html standard width="150%"

halx99 avatar Aug 14 '22 13:08 halx99

Check @halx99

theunwisewolf avatar Aug 16 '22 06:08 theunwisewolf