Opened 9 years ago

Last modified 9 years ago

#12539 confirmed Bug

Two CKEditors within the same fieldset will overflow on resize in Chrome/Safari.

Reported by: Seth Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.3
Keywords: Chrome Webkit Cc:

Description

Inside the same fieldset, two ckeditors will overflow the container on resize in Chrome/Safari.

Code that reproduces the bug:

<!DOCTYPE html>
<html>
	<head>
		<title>CKEditor</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<style>
			html {
				background-color: lightgray;
			}
			textarea {
				width: 100%;
			}
		</style>
	</head>
	<body>
		<div id="content">
			<fieldset>
				<textarea name="editor1" id="editor1">&lt;p&gt;Foo foo!&lt;/p&gt;</textarea>	
				<textarea name="editor2" id="editor2">&lt;p&gt;Foo foo!&lt;/p&gt;</textarea>
			</fieldset>
		</div>
		<script type="text/javascript" src="http://ckeditor.com/apps/ckeditor/4.4.5/ckeditor.js"></script>
		<script>
			CKEDITOR.replace('editor1');
			CKEDITOR.replace('editor2');
		</script>
	</body>
</html>

Change History (2)

comment:1 Changed 9 years ago by Seth

From my initial investigation, when two editors are within the same fieldset, the width of the iframe isn't being set to 100% but rather a calculated width.

comment:2 Changed 9 years ago by Jakub Ś

Keywords: Chrome Webkit added
Status: newconfirmed
Version: 4.4.6 (GitHub - master)3.6.3

Problem can be reproduced in Chrome and Safari from CKEditor 3.6.3 rev. [7387].

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