Hi everyone, I've been struggling last night with TinyMCE. I've added some custom elements by editing tiny_mce_config.php adding some elements to the $initArray:
'extended_valid_elements' => 'fila[tip|val]',
the thing is working... pretty much, because when I go to visual mode and then go back to html, the code is changed from
<fila tip="this is tip" val="and this is val" />
to
<fila tip="this is tip" val="and this is val"></fila>
is there any way to prevent this? I just want it to be an empty element like img or br. Thanks in advance.