Hello
Using the text editor in Shopware 6 is really frustrating. I pasted clean and simple HTML code into the editor. However, when I switch to editing mode and try to center the text, the editor adds unnecessary styles that create unwanted spacing between the lines.
For example:
<h2>title</h2>
<p>Name<br>
Street 57<br>
1234 city</p>
<p>E-Mail <br>
Phone</p>
After centering the text in the Editor:
<h2 style="text-align: center;">title</h2>
<p><p style="text-align: center;"><span style="letter-spacing: 0px; background-color: rgba(0, 0, 0, 0);">Name</span></p><p style="text-align: center;"><span style="letter-spacing: 0px; background-color: rgba(0, 0, 0, 0);">Street 57</span></p><p style="text-align: center;"><span style="letter-spacing: 0px; background-color: rgba(0, 0, 0, 0);">1234 city</span></p></p>
<p><p style="text-align: center;"><span style="letter-spacing: 0px; background-color: rgba(0, 0, 0, 0);">E-Mail</span></p><p style="text-align: center;"><span style="letter-spacing: 0px; background-color: rgba(0, 0, 0, 0);">Phone</span></p></p>
Where are the letter-spacing and background-color coming from? Why are there more <p>
tags than before?
We are using Shopware 6.6.10.4. Does anyone have a solution for this behavior?
Kind Regards
Miranda Senn