The Rich Text Editor DOES NOT support read only. #17531
Replies: 5 comments 8 replies
-
Hi there @markadrake! Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better. We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.
We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions. Thanks, from your friendly Umbraco GitHub bot 🤖 🙂 |
Beta Was this translation helpful? Give feedback.
-
Is there any reason you want a readonly rich text editor? Why don't you use the Label property editor? |
Beta Was this translation helpful? Give feedback.
-
Yes. Thanks for responding. The content only becomes read-only after publishing. The content should not change after publication, as it is a record of something that has happened. Think if you write a social media post, an email, or a note in a CRM system.
While we will need to hack around this today, it would be ideal if all property editors had a read only option and could be toggled either by 1st-party code (worst case) or through conditional arguments (best case). (Umbraco 10/13/15) Please let me know what the team decides and if they want to review a PR to enable read-only status on the current RTE. (Umbraco 10/13) |
Beta Was this translation helpful? Give feedback.
-
It sets the property to but when I check some Codepen demos and docs https://www.tiny.cloud/docs/tinymce/6/editor-important-options/#readonly the value should be |
Beta Was this translation helpful? Give feedback.
-
Based on this discussion, @bjarnef discovered that it was, in fact, a bug. I have, therefore, created issue #17561, which has been resolved with PR #17551. |
Beta Was this translation helpful? Give feedback.
-
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
13.5.2
Bug summary
Specifics
No response
Steps to reproduce
All you need to do is set
readonly
totrue
on any rich text editor property.Because the property
supportsReadOnly
istrue
already, I expected to togglereadonly
and for this to just work.Expected result / actual result
Beta Was this translation helpful? Give feedback.
All reactions