Skip to content

Image resizing is not disabled in readonly mode.  #1483

Open
@S-Najim-S

Description

@S-Najim-S

image-resizing not being disabled when the editor is in readonly mode. Despite the editor being set to prevent content modifications, users can still interact with images and adjust their size. This behavior is inconsistent with the expected functionality of readonly mode, where all editing capabilities, including resizing elements like images

Description

  • OS -> Windows 10
  • Browser + version => Microsoft Edge for Business
  • Version 127.0.2651.105 (Official build) (64-bit)

How to reproduce?

To reproduce the problem where image resizing is not disabled in readonly mode in the Trumbowyg library, follow these steps:

  1. Set the disabled property of Trumbowyg to true to enable readonly mode.
  2. Add the imageresizing plugin to your Trumbowyg editor configuration.
  3. Insert an image into the editor.
  4. Click on the image.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions