Skip to content Skip to sidebar Skip to footer

Tinymce - Allow Table Cell Element As A Valid Html

I have found the answer which could help to add table cell as a valid html element of a body, but it doesn't help for some reason. The reason I need this is that I would like to us

Solution 1:

After spending couple hours and digging into core of TinyMce realized that the problem is not TinyMce. The table cell element cannot be direct child of a body as of html specs.

So because TinyMce wraps content into iframe, which is another HTML page on the current page, the <td>'s are stripped out.

Instead of doing suggested steps in comments I have added another textarea which is loaded without wrapping it with TinyMce. I think doing this way is better in my case as I have multiple textareas on a page and don't want to affect them all by manipulating with javascript.

Post a Comment for "Tinymce - Allow Table Cell Element As A Valid Html"