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.47k stars 2.69k forks source link

Markdown doesn't render in block list item labels when using inline editing mode #17313

Open dmiller21283 opened 1 week ago

dmiller21283 commented 1 week ago

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

14.3.0

Bug summary

Umbraco Flavored Markdown does not render in block list item labels when using inline editing mode. The markdown does render correctly if inline editing mode is not enabled.

Specifics

No response

Steps to reproduce

  1. Create a document type
  2. Add a block list property editor
  3. Select an element as an available block
  4. Under Block appearance, in the Label field, add markdown to display a field value in the label (ex: {= title }
  5. In content, create a document with the block list editor
  6. Add an item to the block list providing a value for the field used in the label
  7. Save it to see that the label is not rendered

Expected result / actual result

Expected result: Markdown should render in the label. (the following screenshot is the block list with inline editing disabled) image

Actual result Markdown is not rendered in the label (the following screenshot is the block list with inline editing enabled) umbraco results

github-actions[bot] commented 1 week ago

Hi there @dmiller21283!

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:

IbrahimMNada commented 1 week ago

I will release a package For this specifically

And i will mention it here when uploaded

IbrahimMNada commented 1 week ago

kindly check this url for the packages that will help you achieve what you wanted

https://github.com/IbrahimMNada/Umbraco.Markdowns/blob/main/Umbraco.Markdowns.BlockList.DyanmicLabels/README.md

dmiller21283 commented 4 days ago

I installed the latest package and it's working with the properties from a link picker {> category[0].name}

However, when use it with a child property of the element, it doesn't work. {> heading}

image

IbrahimMNada commented 4 days ago

Can you please open an issue with enough context , pretty sure i will figure something out

IbrahimMNada commented 4 days ago

I installed the latest package and it's working with the properties from a link picker {> category[0].name}

However, when use it with a child property of the element, it doesn't work. {> heading}

image

seeing this renderd row like this , gives me the feeling the umbraco markdown is not working for this section so i wanna know more details about it