Issue #495💬 AnsweredOpened November 8, 2017by telliott220 reactions

Highlighter and toolbar in the wrong place

快速解答by artf

I'm aware of the toolbar "jump" when the content inside it changes (by adding or removing buttons) but not with the highlighter. Do you use the editor inside a scrolled page?

Read full answer below ↓

Question

Hi,

From time to time, on my canvas the highlighter and toolbar appear in the wrong place. Is this a known bug? Do I have to manually refresh the canvas?

It seems that the top css property on gjs-highlighter and gjs-badge aren't being calculated properly, they still line up horizontally just not vertically. Any ideas?

I've attached screenshots below.

Thanks, T

screen shot 2017-11-08 at 16 44 30 screen shot 2017-11-08 at 16 44 51 screen shot 2017-11-08 at 16 45 05

Answers (3)

artfNovember 8, 2017

I'm aware of the toolbar "jump" when the content inside it changes (by adding or removing buttons) but not with the highlighter. Do you use the editor inside a scrolled page?

telliott22November 8, 2017

Any way to stop the jumping when the content changes?

Yes, the page is scrolled. Should I limit the height of the editor to the browsers height?

artfNovember 9, 2017

Yeah, unfortunately, there is a bug which doesn't get a correct dimension of the scrolled page

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.