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.36k stars 2.63k forks source link

Form Disappearing #15587

Open ThomasGrant08 opened 5 months ago

ThomasGrant08 commented 5 months ago

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

13.0.3

Bug summary

When you try and add some space between some rich text and an umbraco form macro, it removes the form on save. To resolve this, you have to leave the content node and re-enter.

Specifics

No response

Steps to reproduce

Prerequisites: Utilise Umbraco Forms

  1. Create a new form
  2. Create a new page with a rich text editor
  3. Write some filler text ("description")
  4. Press enter to start a new line
  5. Insert the form macro

Expected result / actual result

Expected Result: The form macro saves as part of the rich text. Actual Result: The form macro is removed from the rich text.


This item has been added to our backlog AB#36972

github-actions[bot] commented 5 months ago

Hi there @ThomasGrant08!

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:

andr317c commented 5 months ago

Hey! Thanks a lot for taking the time to create this issue. I was able to reproduce this issue on version 13.0.3. The Classic editing mode for the RTE(Rich Text Editor) does not save the form macro if you add anything else to the RTE. It also happens to Embeds. But if you are using the Inline editing mode there are no issues adding forms or embeds. So this is an actual bug. I will go ahead and mark this issue as a sprint candidate. 😄

palmem29 commented 3 months ago

@andr317c, where can I find updates on this issue?

BjornFridal commented 3 months ago

@andr317c, where can I find updates on this issue?

For anyone who hasn't seen this announcement "Macros will be removed in Umbraco 14" it may be worth considering replacing your current RTE macros with RTE block items since they will stop working in v14 anyways.