Skip to content

Extra line break inserted after image #414

@Serranosoft

Description

@Serranosoft

When inserting an image, there is an extra <br> inserted after the image due to this line: exec('insertHTML', "<br/>");

This causes:

  • Difficulty in placing images side by side.
  • A degraded user experience when inserting multiple images consecutively.
  • Therefore, the extra <br> is redundant and produces unwanted line breaks.

Expected behavior:

  • Images should be inserted without adding extra line breaks.
  • The cursor should remain correctly after each image.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions