Realtime inline editor shows wrong position of user icons

Hi.

We decided to activate the realtime editor in XWiki 15.10.13. Currently we are facing a small issue. Normally we can see the position of the current editing users like this:


But if we use the inline editor we are about off by two paragraphs:


Can someone confirm this issue and is there a solution?
Regards, Simpel

PS: Seems to be a displaying issue. The person using the standalone editor sees the right positions regardless whether other people using inline or standalone editors.

PPS: Both icons do have style attributes that are nearly the same:

  • green icon - top: 148px
  • black icon - top: 312px

They must have different anchors.

They have a very different parent. The standalones parent is an embedded html tag not including the grey editor top bar with buttons and realtime editor informations.

The inlines parent is a div including all the buttons etc. So top position of the icons must be different.

Right now it’s off by about -90px (the exact height of #cke_anchor) but I don’t have a good idea how to fix this.

The code that computes the location of the user caret indicator has been updated (and simplified) since 15.10.3. It should work fine in both the standalone and in-place edit mode with the latest versions. Would be great if you can try with 16.10.6 that was recently released.

Thanks,
Marius

Now I remember that we are using the “spared space” plugin for ckeditor. I have to check whether this is the reason for the problem.

I doubt it. Have you recently upgraded to 15.10.13? Can you try to clear the browser cache? Asking because the position of the user care indicator should have been improved by Loading... (in 15.10.12). The code has been recently simplified and improved by Loading... (in 16.10.6).

I’m sure. I could fix it with a new anchor for the ckeditor menu.

1 Like