Ticket #8748 (confirmed Bug)

Opened 3 years ago

Last modified 3 years ago

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

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

Description (last modified by j.swiderski) (diff)

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

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

Change History

Changed 3 years ago by phil_hawthorne

A sample e-mail template which replicates the issue

comment:1 Changed 3 years ago by j.swiderski

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

Temporary workaround - don't use comments.

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