Hi guys,
With the new Prometheus, I'm hoping that when customers edit their pages, the editor doesn't produce a lot of suporfulous <span> tags. It'd be great to keep the output as clean as possible.
In your demo section, I double clicked on 1 word so it highlighted. I then added a foreground and background color to that word in one go. This is the HTML that was produced:
<span style="COLOR: #663333; BACKGROUND-COLOR: #ff6666">successor</span>
I then double clicked a 2nd word and added underline and foreground color to the word, again at the same time. This is the HTML that was produced:
<span style="COLOR: #ff6666"><span style="TEXT-DECORATION: underline">tight</span></span>
In the latter case, I'm wondering why there are 2 span elements produced? Can it not behave like the first case where style attributes are added together to a single <span> element?
Look forward to your reply.
With the new Prometheus, I'm hoping that when customers edit their pages, the editor doesn't produce a lot of suporfulous <span> tags. It'd be great to keep the output as clean as possible.
In your demo section, I double clicked on 1 word so it highlighted. I then added a foreground and background color to that word in one go. This is the HTML that was produced:
<span style="COLOR: #663333; BACKGROUND-COLOR: #ff6666">successor</span>
I then double clicked a 2nd word and added underline and foreground color to the word, again at the same time. This is the HTML that was produced:
<span style="COLOR: #ff6666"><span style="TEXT-DECORATION: underline">tight</span></span>
In the latter case, I'm wondering why there are 2 span elements produced? Can it not behave like the first case where style attributes are added together to a single <span> element?
Look forward to your reply.