Opened 12 years ago

Last modified 12 years ago

#8748 confirmed Bug

Unable to apply any inline style to text inside first block element inside td when there is a comment before

Reported by: Phil Owned by:
Priority: Normal Milestone:
Component: General Version: 3.5.1
Keywords: Cc:

Description (last modified by Jakub Ś)

To reproduce paste in the below code: 1.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head><!-- Facebook sharing information tags -->
		<meta content=" " property="og:title">
		<title></title>		
	</head>
	<body leftmargin="0" marginheight="0" marginwidth="0" offset="0" topmargin="0">
		<table border="0" cellpadding="20" cellspacing="0" width="100%">
			<tbody>
				<tr>
					<td valign="top"><!--Begin Module Standard Content-->
							<h1 class="h1">Heading 1</h1>
							<h2 class="h2">Heading 2</h2>
							mollis a.
					</td>
				</tr>
			</tbody>
		</table>				
	</body>
</html>
  1. Try to apply font-size or font color to text in heading one
  2. Because of the comment above there will be no change and result will look like
    <span id="cke_bm_111S" style="display: none;">&nbsp;</span>Heading 1<span id="cke_bm_111E" style="display: none;">&nbsp;</span></h1>
    

Attachments (1)

emailTemplate.html (8.5 KB) - added by Phil 12 years ago.
A sample e-mail template which replicates the issue

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by Phil

Attachment: emailTemplate.html added

A sample e-mail template which replicates the issue

comment:1 Changed 12 years ago by Jakub Ś

Description: modified (diff)
Status: newconfirmed
Summary: Unable to edit text inside <td> elements if there is no preceding block level elementUnable to apply any inline style to text inside first block element inside td when there is a comment before
Version: 3.6.3 (SVN - trunk)3.5.1

Temporary workaround - don't use comments.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy