apostrophe icon indicating copy to clipboard operation
apostrophe copied to clipboard

Widget UI wrapper remains when effectively empty

Open abea opened this issue 5 years ago • 0 comments

To Reproduce Steps to reproduce the behavior:

  • Add an apostrophe-rich-text singleton to a page, with a controls option with movable: false and removable: false. Add the singleton on the live page and hover over.
    {{ apos.singleton(data.page, 'text', 'apostrophe-rich-text', {
      controls: {
        movable: false,
        removable: false
      }
    }) }}

Expected behavior Since there are no controls, there should be no visible controls UI.

Describe the bug A small, empty controls wrapper still appears on hover. This contains a hidden clone-item button.

Server Operating System The server (which might be your dev laptop) on which Apostrophe is running. Linux? MacOS X? Windows? Is Docker involved?

Screen Shot 2019-09-09 at 5 52 29 PM

abea avatar Sep 09 '19 22:09 abea