umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
MIT License
4.49k stars 2.69k forks source link

TinyMce in a block throws console error #15900

Open JamieT-Shout opened 7 months ago

JamieT-Shout commented 7 months ago

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

13.2.0

Bug summary

Seems to be a bug introduced in the latest update 13.2.0. When adding an element which has an RTE property into a Block Grid or Block List throws a console error below:

angular.js:15697 TypeError: Cannot read properties of undefined (reading 'classList') at umbraco.directives.m…5600000000:1:185920

image

Specifics

No response

Steps to reproduce

  1. Create a doc type as element which has a RTE property
  2. Create a doc type with a Block List or Block Grid property which allows the element above
  3. Create a new content node using the doc type containing the Block List/Grid
  4. Attempt to add the RTE element
  5. Console errors are thrown

Expected result / actual result

No console errors to be thrown

github-actions[bot] commented 7 months ago

Hi there @JamieT-Shout!

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 :robot: :slightly_smiling_face:

Migaroez commented 4 months ago

Hey @JamieT-Shout Thank you for the great reproduction steps, I was able to reproduce this on 13.4.0

It seems to have something to do with setting focus and does not seem like breaking behavior thus I will mark this as up for grabs.

github-actions[bot] commented 4 months ago

Hi @JamieT-Shout,

We're writing to let you know that we would love some help with this issue. We feel that this issue is ideal to flag for a community member to work on it. Once flagged here, folk looking for issues to work on will know to look at yours. Of course, please feel free work on this yourself ;-). If there are any changes to this status, we'll be sure to let you know.

For more information about issues and states, have a look at this blog post.

Thanks muchly, from your friendly Umbraco GitHub bot :-)