Skip to content

Conversation

@mejo-
Copy link
Member

@mejo- mejo- commented Nov 22, 2023

Fixes images always being displayed as editable, even in readonly editor.

Also set contenteditable to false in readonly mode. This fixes image captions being editable in readonly editor without session.

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits

Fixes images always being displayed as editable, even in readonly
editor.

Also set `contenteditable` to false in readonly mode. This fixes
image captions being editable in readonly editor without session.

Signed-off-by: Jonas <[email protected]>
@mejo- mejo- added bug Something isn't working ux labels Nov 22, 2023
@mejo-
Copy link
Member Author

mejo- commented Nov 22, 2023

/backport to stable27

@mejo- mejo- merged commit 5d0f647 into main Nov 22, 2023
@mejo- mejo- deleted the fix/readonly_image branch November 22, 2023 15:06
@blizzz blizzz mentioned this pull request Nov 23, 2023
5 tasks
@mejo-
Copy link
Member Author

mejo- commented Nov 28, 2023

/backport b99c810 to stable27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ux

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants