Resize handler is not created for images in read-only mode #2874
Labels
good first issue
Relatively easy to fix. This is a perfect issue if you are willing to create a Pull Request.
plugin:image2
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
target:minor
Any docs related issue that can be merged into a master or major branch.
type:bug
A bug.
Milestone
Type of report
Bug
Provide detailed reproduction steps (if any)
Expected result
Actual result
Other details
#719 made resize handler disabled if editor is created in read-only mode. However it is not initialised at all, so after manually leaving read-only mode resize handler still does not show up.
Note that this is an issue only for images loaded with editor. If you add a new image afterwards (i.e. after leaving read-only mode), the problem does not exist.
The text was updated successfully, but these errors were encountered: