edemaine / cocreate

Cocreate Shared Whiteboard/Drawing
MIT License
209 stars 27 forks source link

Smarter text rerendering #79

Closed edemaine closed 3 years ago

edemaine commented 3 years ago

Currently we use innerHTML to do the initial text render (including <tspan>s), and then augment things after a render cycle. This is ugly when we have already rendered LaTeX components but can't even set the width of the relevant <tspan> until after we see a rendered version.