Hi,

When I try to create table, it looks fine with edit mode, however, when I save the post, the table becomes a single column of entries.

Any ideas why?

Thanks

Comments

mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)

Please write which version of CKEditor library do you use and on which browser ?
After save in browser source is this table correctly ? Can you check this behaviour on http://nightly.ckeditor.com/6989/_samples/tableresize.html , please use your table there and check after submit if your table look ok or no .

foredoc’s picture

My CKEditor library: 3.4.2
My Browser: Firefox

The source of my test table :

q q
q q
q q
foredoc’s picture

When I paste the source of my test table here, it is correctly converted to a table as shown above. So I guess it has nothing to do with browser then.

dczepierga’s picture

Pls update your CKEditor library to last version (3.6) and then check again.

Pasting your code here nothing change because i don't see CKEditor here.

As @michal_cksource said:

Can you check this behaviour on http://nightly.ckeditor.com/6989/_samples/tableresize.html , please use your table there and check after submit if your table look ok or no .

When u do this pls report here your result.

Greetings

foredoc’s picture

Please find following the results.

One thing strange is that: I have two test sites set up locally, and both of them are using the same version of ckeditor. However, only one of them has this problem.

Could this be some configuration issue?

Thanks.

<table border="1" cellpadding="1" cellspacing="1" style="width: 500px;">
    <tbody>
        <tr>
            <td>
                q</td>
            <td>
                q</td>
        </tr>
        <tr>
            <td>
                q</td>
            <td>
                q</td>
        </tr>
        <tr>
            <td>
                q</td>
            <td>
                q</td>
        </tr>
    </tbody>
</table>

foredoc’s picture

Status: Postponed (maintainer needs more info) » Fixed

The problem is solved by allowing the HTML Tags: table,tr,td tags in my input html filter.

Thanks.

dczepierga’s picture

Status: Fixed » Closed (works as designed)