Actions
Feature #43950
openAdd support for pasting spreadsheet tables as CommonMark/Textile tables in wiki textareas
Status:
New
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Resolution:
Description
I think Redmine is often used alongside spreadsheet applications such as Microsoft Excel and Google Sheets. In such cases, it would be useful to paste tables from those applications directly into Redmine issues, wiki pages, and other wiki textareas as CommonMark or Textile tables. A similar feature has long been available on GitHub.
This issue adds support for converting pasted spreadsheet tables into CommonMark/Textile table syntax when they are pasted into wiki textareas.
- Convert
tableelements contained in pastedtext/htmlclipboard data into CommonMark/Textile table syntax - Support both CommonMark and Textile
- Text and cell styles are not preserved
- Confirmed to work with Microsoft Excel, Excel for the web, Google Sheets, and Numbers
- As implemented, this also ends up supporting pasted HTML tables
- Confirmed that all tests and lint checks pass: https://github.com/hidakatsuya/redmine/pull/37
Google Sheets:

CommonMark:


Textile:


About patch 0001:
Automatic list marker insertion was added to the search field in #43095, but that feature is unnecessary that field. Patch 0001 removes that unnecessary implementation.
Files
No data to display
Actions