visual-space/visual-editor

Highlights - Multiple fixes

Opened this issue · 0 comments

VE Highlights - Highlights pulsate when inserting text quickly #200, #221

In the limited headings length page, the highlight pulsates every time a char is inserted.

Pulsating.highlight.mp4

VE Highlights - Set the cursor as pointer when hovering highlights #179

VE Highlights - Cursor pointer on hover, Clear on hover outside, Hover flickering #179

  • Currently when hovering highlights and markers we see the text selection cursor. However we want to see the pointer, similar to web links.
  • Extra task: Detect when exiting the editor and disable all hovered highlights. Right now they remain stuck on the last known state. We could add some event listener for exiting the editor and then we can flush the hovered highlights.
  • Extra task: Markers - Tiny Flickering happening one hover because there's a tiny gap between the rectangles. We need to increase slightly the row height when computing the rectangles. Not sure how it's done, but I know for headings it appears the rectangles are bigger.

VE Highlights - Highlight the beginning selected, empty lines

VE Highlights - Clear highlights by id controller method #178

  • We need a method to clear all highlights with a certain id from the controller.
  • It is useful when we need to remove more highlights which has the same purpose (eg. search matches, headers exceeded)
  • Docs, Demo, Test