News for hackers. Stuff that matters.
Re:Google Docs will now use canvas based rendering by woah on Wednesday May 12, 2021 @11:06AM (#27131216)
Look at the Google docs generated html markup some time. It’s not making nice neat <p>’s and <h1>’s.
Re:Google Docs will now use canvas based rendering by kaliszad on Wednesday May 12, 2021 @11:17AM (#27131326)
Yes, at OrgPad, we are writing our own rich text editor and if you want to use the DOM approach, you don't have much choice than to do it like this. You can see the WIP demo here (in Czech but it is quite visual): https://www.youtube.com/watch?v=SkFJ1zcRjQY It is also written in ClojureScript. Some of the reasoning is here (in English, but 3 hours long): https://www.youtube.com/watch?v=4UoIfeb31UU
Re:Google Docs will now use canvas based rendering by m0dest on Wednesday May 12, 2021 @06:31PM (#27135959)
How? I thought they blocked access to the native underlying document format. Or do you mean the HTML export?
Re:Google Docs will now use canvas based rendering by Gaelan on Wednesday May 12, 2021 @08:19PM (#27136868)
I assume your parent means the result of clicking inspect element in the (pre-canvas) editor.