Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Moving fieldset in Bard deletes text #1714
Steps to reproduce
I don't have a strong opinion on if the text should be possible to split like that (I tend to think 'no'), but its contents should definitely not be deleted.
If I make the text field a H2 and then back to a regular text, then the problem disappears because the content is now wrapped in
I suppose the content of the text should get wrapped in a paragraph from the start, if it is a top-level text fieldset?
Operating System: Ubuntu 17.10
I see now that the docs say that the text fields are saved as HTML, so I guess my above comment is correct. So I guess that when the CP form is initialized, it should check if there are p tags around the text and add them.
In a related vein, would it be possible to save the text as Markdown, with an option?
Originally there was no HTML, just a text string.
Sorry, I expressed myself wrong: I meant, use markdown and keep the toolbar and rendered formatting. So a