You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please do not submit support requests or "How to" questions here. For that, go to StackOverflow.
What you were expecting:
Expected no extra
markup to be inserted on each save.
What happened instead:
Each time I save the vacancy with RichTextInput as one of the fields an extra
tag appears between one
and
that follows it.
Steps to reproduce:
Type some usual text and then write a list of 2-3 items on the next paragraph.
Thus you will have something like this: <p>We are looking for a skilled and passionate <strong>Embedded Linux Developer</strong>, who is ready to join one of our IoT-focused teams:</p><ul><li>the one is on a mission to transform modern ways of mobility and energy consumption. You will be involved in the development of applications for cloud connected devices and smart electric vehicle chargers on an embedded Linux platform running on an ARM processor;</li><li>another one is at the heart of next-gen automotive solution enabling smarter logistics and advanced telematics for one of the world's leaders in self-driving cars market;</li><li>alternatively, you could pioneer with us in productizing wearable devices which lie at the intersection of IoT, Social data management, Big Data integration and advanced analytics;</li></ul>
Save the post. Enter the edit component again and you will see an extra paragraph inserted between first <p> and the <ul>
Add some text to the 1st item on the list and do not remove the extra paragraph (for reproducing).
Save and open the edit component again. You will see a second empty paragraph being added. And so on and so forth.
If one does not touch the list (does not add or remove something from it) the number of empty paragraphs does not increase. The same single empty <p> remains after each save. Trying to remove that empty <p> is fruitless: it reappears when you next enter the edit component.
Environment
React-admin version: ^2.1.1
Last version that did not exhibit the issue (if applicable):
React version: ^16.4.1
Browser: Chrome, Opera
The text was updated successfully, but these errors were encountered:
I can confirm that this resolves the issue, but it changes the clipboard behaviour so we might want to reset the config after the clipboard has been used to set the content on form load.
Please do not submit support requests or "How to" questions here. For that, go to StackOverflow.
What you were expecting:
Expected no extra
markup to be inserted on each save.
What happened instead:
Each time I save the vacancy with RichTextInput as one of the fields an extra
tag appears between one
and
that follows it.- Type some usual text and then write a list of 2-3 items on the next paragraph.
- Save the post. Enter the edit component again and you will see an extra paragraph inserted between first
- Add some text to the 1st item on the list and do not remove the extra paragraph (for reproducing).
- Save and open the edit component again. You will see a second empty paragraph being added. And so on and so forth.
- React-admin version: ^2.1.1
- Last version that did not exhibit the issue (if applicable):
- React version: ^16.4.1
- Browser: Chrome, Opera
Steps to reproduce:
Thus you will have something like this:
<p>We are looking for a skilled and passionate <strong>Embedded Linux Developer</strong>, who is ready to join one of our IoT-focused teams:</p><ul><li>the one is on a mission to transform modern ways of mobility and energy consumption. You will be involved in the development of applications for cloud connected devices and smart electric vehicle chargers on an embedded Linux platform running on an ARM processor;</li><li>another one is at the heart of next-gen automotive solution enabling smarter logistics and advanced telematics for one of the world's leaders in self-driving cars market;</li><li>alternatively, you could pioneer with us in productizing wearable devices which lie at the intersection of IoT, Social data management, Big Data integration and advanced analytics;</li></ul>
<p>
and the<ul>
If one does not touch the list (does not add or remove something from it) the number of empty paragraphs does not increase. The same single empty
<p>
remains after each save. Trying to remove that empty<p>
is fruitless: it reappears when you next enter the edit component.Environment
The text was updated successfully, but these errors were encountered: