intercellular / cell

A self-driving web app framework
https://www.celljs.org
MIT License
1.51k stars 94 forks source link

Distinguish between SVG <text> elements and normal text #166

Closed nthcolumn closed 6 years ago

nthcolumn commented 6 years ago

$text needs to render node when it is svg and a html text node otherwise.

gliechtenstein commented 6 years ago

This has been fixed with https://github.com/intercellular/cell/pull/164

Nice example by @nthcolumn https://jsfiddle.net/o4bck4eh/ thanks for reporting and coming up with the example!