[wp-hackers] TinyMCE stripping name tag out of PRE elements
Jason Webster
jason at intraffic.net
Sat Nov 1 16:22:37 GMT 2008
Of course not. I was just pointing out that it was _not_ a TinyMCE bug
as many suggested.
Ryan McCue wrote:
> Jason Webster wrote:
>
>> This is not really a bug per se, though.
>> It is possible to allow the name attribute of pre tags through
>> TinyMCE's code cleanup filter.
>>
>> The "extended_valid_elements" option of the TinyMCE init object needs
>> to include the following:
>> pre[name]
>>
>
> It doesn't change the fact it's not a valid attribute. You should be
> using "id" instead.
>
>
More information about the wp-hackers
mailing list