It has been almost 12 years, and we still don't have working word wrap with svg
You can embed HTML within SVG via SVG's foreignObject, and use HTML/CSS text flow layout within embedded HTML. But it works only on rectangular shapes, and not on IE.
SVG can do that?
31–40 of 202 posts
Re: SVG can do that?
#32Re: SVG can do that?
#33SVG works so fantastically well with React -- it's just part of the DOM, after all. Unless there are performance concerns, that reason alone would make me choose it over Canvas every time. Shameless plug, one of my first experiments with SVG+react (+cljs): https://polymeris.github.io/carlos/ Done in one day, without knowing the tech.
Re: SVG can do that?
#34It's nice that we've got the most valuable part of Flash: a vector rendering engine. I do miss Flash's editor for these types of content, though.
I just spent all day trying to manually wrangle SVG in the browser. I'd be happy with a good static SVG editor to be honest.
Re: SVG can do that?
#35Earlier quoted context omitted.
I just spent all day trying to manually wrangle SVG in the browser. I'd be happy with a good static SVG editor to be honest.
Inkscape?
Re: SVG can do that?
#36Re: SVG can do that?
#37It's nice that we've got the most valuable part of Flash: a vector rendering engine. I do miss Flash's editor for these types of content, though.
> I do miss Flash's editor for these types of content, though. It's still here! It's now branded Animate CC[1], and (naturally) focuses on other output formats. [1] http://www.adobe.com/products/animate.html
Re: SVG can do that?
#38Re: SVG can do that?
#39It's nice that we've got the most valuable part of Flash: a vector rendering engine. I do miss Flash's editor for these types of content, though.
I just spent all day trying to manually wrangle SVG in the browser. I'd be happy with a good static SVG editor to be honest.
Re: SVG can do that?
#40SVG works so fantastically well with React -- it's just part of the DOM, after all. Unless there are performance concerns, that reason alone would make me choose it over Canvas every time. Shameless plug, one of my first experiments with SVG+react (+cljs): https://polymeris.github.io/carlos/ Done in one day, without knowing the tech.
[core.cljs] https://github.com/polymeris/carlos/blob/master/src/carlos/c... and [svg.cljs] https://github.com/polymeris/carlos/blob/master/src/carlos/s...
Look clear enough for me to follow. Thank you.
Will work on this, too:
(:require [carlos.core :as core]))
* edit: clearer even unrendered