benbro

Results 110 comments of benbro

I don't see the 0.12.0 release on github.

Requiring {{From, To}, {true, true}} instead of {From, To} might be fine.

Is there a workaround? We are stuck with shaka-player 3.0.5 in angular 11 project.

You can convert Quill Delta to HTML on the server with node.js and jsdom without using a real browser. Demo: https://runkit.com/57e6d4ebaaf7d01400559d04/57e6d4ebc63d1e1400b586fc jsdom is a javascript implementation of the DOM. MutationObserver...

Just a thought. Maybe it's possible to get the HTML element from the pixel position with [Document.elementFromPoint()](https://developer.mozilla.org/en-US/docs/Web/API/Document/elementFromPoint) and than get the index from the element?

I'm not familiar with this part of the code but this is probably a good starting point: https://github.com/quilljs/quill/blob/develop/core/selection.js#L165

A naive implementation without binary search: http://codepen.io/anon/pen/dWXBwd

Related: https://github.com/quilljs/quill/issues/90 https://github.com/quilljs/quill/pull/995