discourse/plugins/discourse-details/assets/javascripts/lib
Renato Atilio 381f6e64e8
FIX: click handler position on rich editor details node (#32268)
`pos` is the exact position of the click in the entire document

`nodePos` is the position of the clicked node itself

The idea is that we want the click to be the first position **within the
node**.

The previous code was checking for the first 2 positions of the entire
document.

I'd love to add a test for this, but it's very tricky.
2025-04-14 14:06:54 -03:00
..
discourse-markdown FIX: allows to use open attribute with details (#29116) 2024-10-08 11:13:44 +09:00
rich-editor-extension.js FIX: click handler position on rich editor details node (#32268) 2025-04-14 14:06:54 -03:00