The following code works: (viewed via the "Source" button in the editor)
I save it to the database and when it shows in the editor, it is still in table format.
The following does not work properly:
and neither does:
The only difference is that I specified
The tr and td elements show on one line.
When clicking the "Source" button, it shows the following:
I have checked my database and the value I entered to save is there and does not contain and p tags.
I'm not sure why the
I have downloaded the latest version of both the javascript and the ASP.Net dll. The only change I've made was adding a TabIndex property to the dll.
Is there a problem with the javascript, or do I need to put the data I'm saving inside a different tag?
Thanks in advance
<table><tbody><tr><td>row 1,column 1</td><td>row 1, column 2</td></tr><tr><td>row 2, column 1</td><td>row 2, column 2</td></tr><tr><td>row 3, column 1</td><td>row 3, column 2</td></tr></tbody></table>
I save it to the database and when it shows in the editor, it is still in table format.
The following does not work properly:
<table border="1"><tbody><tr><td>row 1,column 1</td><td>row 1, column 2</td></tr><tr><td>row 2, column 1</td><td>row 2, column 2</td></tr><tr><td>row 3, column 1</td><td>row 3, column 2</td></tr></tbody></table>
and neither does:
<table ><tbody><tr><td>row 1,column 1</td><td>row 1, column 2</td></tr><tr><td>row 2, column 1</td><td>row 2, column 2</td></tr><tr><td>row 3, column 1</td><td>row 3, column 2</td></tr></tbody></table>
The only difference is that I specified
border="1"or put a space between the e and the > in the opening table element. (e.g.
<table >vs
<table>)
The tr and td elements show on one line.
When clicking the "Source" button, it shows the following:
<p><tbody></tbody><tr></tr><td> </td>row 1,column 1<td> </td>row 1, column 2<tr></tr><td> </td>row 2, column 1<td> </td>row 2, column 2<tr></tr><td> </td>row 3, column 1<td> </td>row 3, column 2</p>
I have checked my database and the value I entered to save is there and does not contain and p tags.
I'm not sure why the
border="1"would cause a problem, and the same error occurs when I've specified cellpadding and/or cellspacing on a table
I have downloaded the latest version of both the javascript and the ASP.Net dll. The only change I've made was adding a TabIndex property to the dll.
Is there a problem with the javascript, or do I need to put the data I'm saving inside a different tag?
Thanks in advance
Re: Saving items with inline styles are not loaded correctly