-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy/paste table from Excel does not retain border value #1490
Comments
Hello, currently we are not supporting retaining border values on paste from Excel. As I checked we could provide this feature because Excel gives us information about border values (you can use this codepen to verify). We are always listing to our community and you can be sure we will deeply examine this feature request. You can follow this issue for more information about ongoing process. |
When pasting from Excel we receive border style with We cannot just remove this property from the applied style - in that case table cells will use user agent stylesheet which is The second option is easier to implement thus we will go with it. But with that we are forcing default color as |
Yes, this feature should cover preserving border colors. |
#2295 |
@zhangqhzz I believe you're trying to answer #2295 (comment) - so your comment shuold be placed in #2295 rather than in this issue. |
Similar problems concern pasting from MS Word. Please have a look at attached Word file and try to paste the table into editor (for simplicity, you can set
|
From what I have checked the pull request works very well with document attached in previous comment. The only problem is with Chrome which doesn't see cell widths in one table properly however from what I have checked, the HTML and styling are the same. It is Chrome which calculates it incorrectly (you can take HTML from FF, save it on page in |
The feature is available for early preview at https://ckeditor4-preview.ckeditor.com/t/1490/samples/index.html |
Moving the issue to 4.11.3 - @jacekbogdanski is off and can't conclude the pull request. And we need to make a development cut to release 4.11.2. |
Do you have this issue fixed in a release ? Is this a fix to the pastefromword plugin? |
I am trying to paste the Bordered content from excel to text box , and the content got pasted but not the border. |
Are you reporting a feature request or a bug?
Feature request
Provide detailed reproduction steps (if any)
Expected result
After pasting the table in CKEditor, it should retail the border properties.
Actual result
Table is pasted with cell values and cell background color, but the cell border is not retained correctly.
Other details
The text was updated successfully, but these errors were encountered: