Hi.
We’re currently looking into upgrading from 6.5 to 6.6.1, but we’ve run into a major problem with Ephox. In our 6.6.1 FastForward reference installation (i.e. with no customisations at all except for the RX-15408 patch and PSOToolkit66), Ephox strips <p> tags from single paragraphs that are nested within a surrounding <div>, so this:
<div class="rxbodyfield">
<p>Text</p>
</div>
gets changed to this (when switching between the Design and Code tabs):
<div class="rxbodyfield">
Text
</div>
and more annoyingly, this:
<div class="rxbodyfield">
<p>First paragraph</p>
<div>...inline variant...</div>
<p>Second paragraph</p>
</div>
gets changed to this:
<div class="rxbodyfield">
First paragraph
<div>...inline variant...</div>
Second paragraph
</div>
If there is more than one paragraph together, Ephox leaves it alone, so this code doesn’t get changed:
<div class="rxbodyfield">
<p>First paragraph</p>
<p>Second paragraph</p>
<div>...inline variant...</div>
<p>Third paragraph</p>
<p>Fourth paragraph</p>
</div>
Even if there isn’t a surrounding
<p>Text</p>
then when you click Insert or Update, it gets changed into this:
<div class="rxbodyfield">Text</div>
presumably because Rhythmyx surrounds the content with <div class=“rxbodyfield”>…</div> and Ephox then decides to strip out the <p> tags.
Exactly the same effect occurs in Ephox’s online product demo, so it looks like this is a ‘feature’ of Ephox, rather than anything to do with Rhythmyx. The problem does not affect a patched 6.5.2 installation, so it looks like it’s been introduced between Ephox versions 6.3.8.111 and 6.5.4.14.
The problem is that this paragraph stripping changes the way the website looks, as the correct CSS styles no longer get applied (and the semantic correctness of the content is broken, too, as lone paragraphs are no longer paragraphs).
I appreciate that Percussion isn’t reponsible for the Ephox control, but this issue will prevent us from upgrading, which is not good. So, I wondered:
[ul]
[li]Are you (Percussion) aware of this, and do you think it’s a problem?
[/li][li]Is there any way that we can fix this?
[/li][li]Has anyone else come across this issue?
[/li][/ul]
Thanks!
Mark