Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image resizing is not disabled in readonly mode. #1483

Open
S-Najim-S opened this issue Aug 26, 2024 · 0 comments
Open

Image resizing is not disabled in readonly mode. #1483

S-Najim-S opened this issue Aug 26, 2024 · 0 comments

Comments

@S-Najim-S
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant