-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3641 from ckeditor/t/3586
Fix for incorrect recognition of Excel content
- Loading branch information
Showing
6 changed files
with
57 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
11 changes: 11 additions & 0 deletions
11
tests/plugins/pastefromword/manual/preserveexcelstyles.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div id="editor"> | ||
<p>Paste things here</p> | ||
</div> | ||
|
||
<script> | ||
if ( CKEDITOR.env.safari || ( CKEDITOR.env.ie && CKEDITOR.env.version < 9 ) ) { | ||
bender.ignore(); | ||
} | ||
|
||
CKEDITOR.replace( 'editor' ); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@bender-tags: bug, 4.13.1, 3586 | ||
@bender-ui: collapsed | ||
@bender-ckeditor-plugins: wysiwygarea, toolbar, undo, basicstyles, pastefromword, elementspath, tabletools, justify, colorbutton | ||
|
||
1. Open [sample Excel file](_assets/3586.xlsx). | ||
1. Copy the blue table. | ||
1. Paste into the editor. | ||
|
||
## Expected | ||
|
||
Formatting is preserved. | ||
|
||
## Unexpected | ||
|
||
Formatting (especially background color) is not preserved. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters