#16864 closed Bug (invalid)
A issue with paste table from Excel and plugin pastebin64
Reported by: | Edson | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Steps to reproduce
- Download a preset full CKEditor plus "Paste image as base64" plugin
- Enable pastebase64 plugin at config:
CKEDITOR.replace( 'editor', { extraPlugins: 'pastebase64', } );
- Open it with Chrome (56.0.2924.87) and at editable area, paste a simple table from Excel
Expected result
A table converted into html:
<table border="0" cellpadding="0" cellspacing="0" style="width:192px"> <tbody> <tr> <td>1</td> <td>2</td> <td>3</td> </tr> <tr> <td>4</td> <td>5</td> <td>6</td> </tr> <tr> <td>7</td> <td>8</td> <td>9</td> </tr> </tbody> </table>
Actual result
A table converted into html plus in the last cell a table converted into base64 image:
<table border="0" cellpadding="0" cellspacing="0" style="width:192px"> <tbody> <tr> <td>1</td> <td>2</td> <td>3</td> </tr> <tr> <td>4</td> <td>5</td> <td>6</td> </tr> <tr> <td>7</td> <td>8</td> <td>9<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMEAAAA0CAYAAAAzHVw2AAAFZ0lEQVR4Ae1dPW/iQBB9Pt1PwSkQv8AUqc01qWjpTGk3dJR0aUxpd7RUNLHbpMC/AFHE/i972jUG/IEh0im6zMxJ0WHWJLw3M7uz3nm71vv7u4L8EwYYM/BbY39+fmZLwcfHh+Bnbv9fbL1fgAsDJwYkCMQV2DPAJwiKNcbWHCk3kxvcFiyr/JlzIyCdn7Fb1hjrou0ATIIgxdwOkLXxE3+nxD1KFJRSUImHeNLtCCSJ0B3A5IAwr/CPENjtjpB8EBTrMSxrgoPnwSFp6R5Q6Q6xE2Lhnu5xFwidDMe85zOUmgY+9moPf1Dhf4GHAz4bowH5IMDTErlS2C+GlMz7GBY3gtr7qHwAyHHkNxyeuSrWK8TOFH8uhJg284j0fBfBFwO36gYJgvsipNIJQuTcKNFpkUmHHYT5dadQEkh/JPiio1C9XaeFdjBCUhsZqKJt4DJpkZ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Txjh0gmYjhDtM9t4BEHxhm1H9SDtANDoUswtG9vpVU7M6hhbF1Ee4nAqp59hibDj9EYWQVC8bZF5L63qQfJB0JUTd5zeSJoHUzhZltTvfeCYORjadcQsgiA/ZnCayOs8yBUHBkyn0BbeMwgCveMCMLq35QBFJzhNjCtRSZkTt52AIvQSk04HL2sjZu+pjoyAgZ5A77jQHgLpGv4a2QD+JsTWrkQleg8eRo+I4SJKdrBsC0ZT44TI9w1ZGQAGQaBllm3g165C+nWn2J404jo4s2Daf1wPg3SozolcCQNNBiQImozINTsGRFTDzuQCuMnAX+LhAGoo6Ln5AAAAAElFTkSuQmCC" /></td> </tr> </tbody> </table>
Other details (browser, OS, CKEditor version, installed plugins)
Browser Chrome 56.0.2924.87, CKEditor 4.6.2, plugin 'Paste image as base 64' JSFiddle: https://jsfiddle.net/58n84403/1/
Change History (3)
comment:1 Changed 8 years ago by
Keywords: | Excel base64 pastebase64 removed |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Version: | 4.6.2 |
comment:2 Changed 8 years ago by
Thanks j.swiderski. Please, take more um moment for this ticket and see that there problem yet in Firefox Version 51 and CK 4.6.2(without plugin pastebin64, just a full instal of CK) when paste a table from Excel. in this case, the table is pasted as a image and not as a html code. You can check using this jsfiddle: https://jsfiddle.net/nq35eptw/
comment:3 Changed 8 years ago by
@edsonperotoni thank you for your comment. I have reported new issue here #16900 so that no custom plugins are mentioned.
The pastebase64 has not been created by CKSource thus we can't provide any support for that plugin. If you are having problems with it, please report the problem to pastebase64 author.
Please also note there might be some issues with pasting from Excel (styles might be lost) as we don't full support it - #13623.