Opened 7 years ago

Closed 7 years ago

#8616 closed Bug (expired)

Empty tables cells/rows with missing closing tags

Reported by: chhain Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.2
Keywords: Cc: christian_hain01@…

Description

I created a table using the ckeditor interface. I took 3 rows each with 2 cells I filled some text into the 2 cells of the first row .. the other rows i left blank. I took the data from the editor by using the function

CKEDITOR.instances.editorname.getData()

the source code i got looked like thos

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

as you can see, the last tr and td tags were not closed. this leads to some serious problems on the webpage because this code isn't valid and my webpage gets "broken" (div containers which contain the source code generated by ckeditor get broken)

Change History (3)

comment:1 Changed 7 years ago by chhain

Cc: christian_hain01@… added

comment:2 Changed 7 years ago by Jakub Ś

Status: newpending

I have just checked the issue in one of our samples - Basic usage of the API in http://nightly.ckeditor.com/7352/_samples/api.html.

I see no problem there.

In which browser are you getting this issue?
Are you sure you have implemented everything correctly - maybe your data buffer is to small, or regex for getting this data is invalid (just guessing).

comment:3 Changed 7 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy