Opened 15 years ago
Closed 15 years ago
#6067 closed Bug (fixed)
FF: copy & paste lists from OpenOffice or StarOffice = empty POST-Data
| Reported by: | radioking | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | Core : Pasting | Version: | 3.3.1 |
| Keywords: | Cc: |
Description (last modified by )
As testcase I use:
<?php
if(!isset($_POST['send']))
{?>
<html>
<head>
<title>Sample - CKEditor</title>
<script type="text/javascript" src="ckeditor/3.3.1/ckeditor.js"></script>
</head>
<body>
<form method="post" action="ckeditor_test.php">
<p>
My Editor:<br />
<textarea name="editor1"><p>Initial value.</p></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'editor1' );
</script>
</p>
<p>
<input type="submit" name="send" />
</p>
</form>
</body>
</html>
<?php
}
else
{
print_r($_POST['editor1']);
}
If I copy a list from OpenOffice or StarOffice into CKEditor Textfield, the list is displayed correctly.
But clicking the submission-button leads to empty POST-Data for this textfield with Firefox.
The method of copy & pasting is irrelevant- it doesn't work for either method.
Environment:
Windows XP Professional Version 2002 SP3 (same on Linux)
Firefox 3.6.6
CKEditor 3.3.1
OpenOffice 3.2.1
StarOffice 8 (Product Update 12)
With Apple MAC we also get an empty POST-Field and _surplus_ this text within the Editor-Textfield instead of a correct list:
Version:1.0 StartHTML:0000000167 EndHTML:0000000654 StartFragment:0000000454 EndFragment:0000000638
Enviroment in this case:
Mac OS X V.10.5.8
Firefox 3.6.8
OpenOffice 3.2.0
Change History (5)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
the section
<script type="text/javascript"> var editor_data = CKEDITOR.instances.editor1.getData(); </script>
in the testcase may be removed- it was inserted for another test.
comment:3 Changed 15 years ago by
Seems resolved with nightly build (d/l some minutes ago) apart from
comment:4 Changed 15 years ago by
| Component: | General → Core : Pasting |
|---|---|
| Description: | modified (diff) |
| Keywords: | copy paste list OO FF Firefox OpenOffice Open Office POST empty removed |
Fixed the tc code, as you've described.
comment:5 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |

Testcase as code-block =)
<?php if(!isset($_POST['send'])) {?> <html> <head> <title>Sample - CKEditor</title> <script type="text/javascript" src="ckeditor/3.3.1/ckeditor.js"></script> </head> <body> <form method="post" action="ckeditor_test.php"> <p> My Editor:<br /> <textarea name="editor1"><p>Initial value.</p></textarea> <script type="text/javascript"> CKEDITOR.replace( 'editor1' ); </script> </p> <p> <input type="submit" name="send" /> </p> </form> <script type="text/javascript"> var editor_data = CKEDITOR.instances.editor1.getData(); </script> </body> </html> <?php } else { print_r($_POST['editor1']); }