Support cell formatting

Created on 2 January 2020, over 5 years ago
Updated 13 May 2025, 1 day ago

Problem/Motivation

I had to migrate content from a spreadsheet including basic formatting (bold and italic) for a project. I didn't have much time to build it to be contributed but I found a way in a couple hours. It would be nice if it was built-in.

I put my code in a gist so it can be used if someone needs it or has a bit more time than me to improve (I suppose bold and italic won't be enough) it and make a patch from it.
https://gist.github.com/DuaelFr/f66cdd2c822f238228ef47c38f9bba26

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France duaelfr Montpellier, France

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
  • Pipeline finished with Failed
    about 7 hours ago
    Total: 136s
    #496925
  • πŸ‡ΊπŸ‡ΈUnited States sonfd Portland, ME

    This needs more work.

    1. We'll need documentation of the new option
    2. We may want to preserve more cell formatting other than just strong and em
    3. We'll need tests

    Also, the reason I got interested in this issue is because I wanted to preserve links in cell content, but I could not figure it out. :sigh: I suspect that might need work in the upstream PHP spreadsheet package.

  • Pipeline finished with Failed
    about 7 hours ago
    Total: 744s
    #496939
  • Pipeline finished with Failed
    about 7 hours ago
    Total: 145s
    #496987
  • Pipeline finished with Failed
    about 6 hours ago
    Total: 146s
    #497011
Production build 0.71.5 2024