6

I'm saving rich texts from my custom component. It uses wysiwyg editor. Therefore there are html codes also.

<table>
<tbody>
<!-- More here -->
<tr>
<td colspan="5"> </td>
</tr>
<!-- More here -->    
</tbody>
</table>

After saving and viewing them again I can see 'replacement character-U+FFFD' in empty td tag. I tried to add nbsp html entity. But it is replaced with empty character.

I want to save this td tag empty. Is there any way around to do that?

Thanks.

5
  • Which editor you use? If Tiny Editor go in Plugins -> Editors -> Tiny Editor and change the Entity Encoding setting to raw, or try all 3 options and see if that makes any difference.
    – FFrewin
    Commented Oct 22, 2014 at 8:06
  • And also: are you copying/pasting your code in the editor field ? Try again by only typing your code directly.
    – FFrewin
    Commented Oct 22, 2014 at 8:12
  • Why are you inserting whitespace in the empty <td> anyway? If it is empty, leave it empty, don't insert a space. Commented Oct 22, 2014 at 8:29
  • I'm using Tiny editor. Encoding is raw
    – cha
    Commented Oct 22, 2014 at 8:36
  • Please see Farahmand's answer.It works for me. Thanks for help.
    – cha
    Commented Oct 22, 2014 at 8:42

1 Answer 1

4

In your admin side, go to "Extensions" -> "Plug-in Manager". Then click on "Editor - TinyMCE".

Now enter the td[*] for "Extended Valid Elements" and save it.

Joomla TinyMCE empty tags

1
  • 1
    You're welcome! Glad it helped.
    – Farahmand
    Commented Oct 22, 2014 at 8:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.