You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

  Saturday, 20 January 2018
  2 Replies
  2.3K Visits
Hi Ryan,

there is a problem, when setting a style via selecting an entry in the "style dropdown-list" of JCE.
https://www.dropbox.com/s/0ddclwz76wqcetx/2018-01-20_05h15_58.png?dl=0

That behavior can also be reproduced in the DEMO-environment! - may be it looks like being a bug in tinymce ?

Senario:
I have a html-table with one tr-tag and some td-tags. In one td-tag there is text witch is p-tagged. When trying to set a class - in this case: "hgh_info_kasten" - to this text to show up an "i"-pic, the class entry is set to the td-tag, but not to the p-tag, where it should be.

<table border="0" style="width: 100%;">
<tbody>
<tr>
<td style="width: 5px;"> </td>
<td class="hgh_info_kasten">
<p style="text-align: justify;">.... text 1 .....</p>
</td>
<td style="width: 5px;"> </td>
</tr>
</tbody>
</table>

See attachment-1 to show it in live. The "i"-pic is set outside the p-tag, as the little broken frame around the p-tag shows.

This happens only, when there is only one p-tag in the td-tag. When having more p-tags the class is always set to the corresponding p-tag in the right way.

<table border="0" style="width: 100%;">
<tbody>
<tr>
<td style="width: 5px;"> </td>
<td>
<p class="hgh_info_kasten" style="text-align: justify;">.... text 1 .....</p>
<p style="text-align: justify;">.... text 2 .....</p>
<p class="hgh_info_kasten" style="text-align: justify;">.... text 3 .....</p>
</td>
<td style="width: 5px;"> </td>
</tr>
</tbody>
</table>

The attachment-2 shows it in live. The "i"-pic is set inside the p-tag, as the little broken frame around the p-tag shows.

So what would I say:
When there are more .. p-tagged texts inside a td-tag, the class is set to the p-tag - that's ok.
When there is only one p-tagged text . inside a td-tag, the class is set to the td-tag - that's not ok.

regards ... HGH

more than a month ago
·
#94789
Accepted Answer

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#94789
Accepted Answer

Just because you're not paranoid doesn't mean everybody isn't out to get you.

more than a month ago
·
#94792
hey ...it looks good now.

regards ... HGH

  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!