After I create a table and enter content with boarder="0", the output leaves a top line boarder for the width of the table. I tried using both TinyMCE 3.4.7 and CKEditor and getting the same results.

Has anyone duplicated this scenario?

Any help would be greatly appreciated.

Awesome code!

Comments

TwoD’s picture

Status: Active » Postponed (maintainer needs more info)

I do not get this in either editor if I set border="0" in the table tag. Perhaps there's a style rule in your Drupal theme doing that?
What does the markup look like if you click "Disable rich text"? If the markup does not contain a "style" attribute setting border-top: 1px solid black or similar, I bet this your theme is overriding the styling. You should be able to verify that with Firebug for Firefox or the Developer tools in other browsers if you inspect the table tag inside the editor's iframe.

TwoD’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

There was another issue with a similar problem and they were able to resolve it by setting the border-collapse property to 'none'. I have no idea why that works if there isn't supposed to be a border in the first place though. In that issue I was able to verify that the markup and styling produced by the editors were at least not the cause.
If you do find out what is causing this issue on your site, please report back so I can see if maybe we need to change some default settings or styles.