-
Notifications
You must be signed in to change notification settings - Fork 0
[$100] Better format to input table and copy table from excel to forum #526
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
Comments
Challenge https://www.topcoder.com/challenges/a06b9b28-4ff1-4079-8b4e-2f6983c11ff1 has been created for this ticket. |
Challenge https://www.topcoder.com/challenges/a06b9b28-4ff1-4079-8b4e-2f6983c11ff1 has been assigned to obog. |
@jmgasper Yes, it's possible with Clipboard API. Clipboard API provides the ability to respond to clipboard commands (cut, copy, and paste). |
@atelomycterus - Ok, let's do it, thanks! |
@jmgasper Implemented. Please apply PR-topcoder-platform/forums-topcoder-editor-plugin#23. Thanks! The algorithm for determining when to format as a table is very simple. This is done to allow the user to paste text into the editor. TestingPlease clear browser cache before testig. With the PR: View Mode: Formatting tables (JFYI)Colons can be used to align columns.
We can also improve the formatting of the table. In view mode, data is displayed as html. CSS styles might be applied. Copy-paste image feature (JFYI)I've noticed a copy-paste image feature in EasyMDE. If user is allowed to upload a file then it generates an png image of a selected area/data. |
Payment task has been updated: https://www.topcoder.com/challenges/a06b9b28-4ff1-4079-8b4e-2f6983c11ff1 |
@atelomycterus I verified this after clearing browser cache, but I don't see the background colors and line formatting being copied from excel, and in Firefox even the table structure is not rendered. Screencast.2021-04-22.mp4 |
@jmgasper Please apply PR- topcoder-platform/forums-topcoder-editor-plugin#24. Thanks! @sdgun Thanks for testing! Fixed the issue in Firefox. I've tested it with Opera/Chrome/Firefox. Let me know if you observe any issues.
Not supported. When copying cells from Excel and other spreadsheet applications, this data is stored in your browser clipboard. The official Markdown does not provide any special syntax for tables. We are using GFM Markdown (Github Flavored Markdown) . This table syntax is quite simple. No styles (background, border), etc.
|
Verified in Firefox/Chrome/Edge in Dev. |
@atelomycterus - I'm assuming this is something that will need investigation and may not be possible. Let me know if we need to adjust anything or bump the payment here, thanks!
The text was updated successfully, but these errors were encountered: