Skip to content

Bug in the HTML field popovers #138

@xmijo

Description

@xmijo

Prerequisites

Description

Closing the HTML field popovers, by clicking the X, will instead exit the whole record, without saving. This is reproducible.

(Clicking outside the popover box will result in the expected behavior of only the popover closing).

Environment

Tested on latest version Chrome for macOS. I don't think the debug logs are relevant to this issue but can be added if needed. I imagine the bug is due to a faulty js link (in summernote?) and probably easily fixed considering the expected behavior is produced when clicking outside of the popover.

Steps to Reproduce

  1. Create a new record.
  2. Add a new field: HTML.
  3. Spend an hour typing in code ;)
  4. Click the corresponding button in the field toolbar to add a Link, Image, or Video.
  5. Close the popover by clicking on the X in the top-right corner of the popover.
  6. !!!

Expected behavior:

The popover closes, editing can continue.

Actual behavior:

The whole record closes, without saving.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions