4 ms·
Look at the Google docs generated html markup some time. It’s not making nice neat <p>’s and <h1>’s.
by woah 5y ago
Look at the Google docs generated html markup some time. It’s not making nice neat <p>’s and <h1>’s.
- kaliszad 5y agoYes, 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 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 https://www.youtube.com/watch?v=4UoIfeb31UU
- m0dest 5y agoHow? I thought they blocked access to the native underlying document format. Or do you mean the HTML export?
- Gaelan 5y agoI assume your parent means the result of clicking inspect element in the (pre-canvas) editor.