GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.06k stars 407 forks source link

[Bug]: tinymce html editor: scroll bar focus moves cursor #1333

Open atomGit opened 4 months ago

atomGit commented 4 months ago

Operating system

manjaro linux

Publii version

0.44.4 (build 16557)

Post editor

WYSIWYG editor

Bug description

clicking on the scroll bar in the html editor of tinymce moves the cursor - this can result in selecting (and deleting) text that was not intended to be selected, such as by shitf+click

this occurs regardless of the wide scroll bar pref

Steps to reproduce

  1. add enough lines of text in the visual editor so that a scroll bar is present in the html editor
  2. switch to the html editor scroll down a bit
  3. place the cursor anywhere in one of the lines
  4. click the scroll bar and observe that the cursor moves

Relevant log output

No response