• onlionentertainment

    (@onlionentertainment)


    Hello,

    I am using generatepress theme. In gutenberg editor when i paste the data it should create gutenberg block table and should be populated with data i pasted.

    for ex: data is in below format. column separator is comma and next row is new line.

    fruite , apple & banana
    vegetable, tomato & carrot
    Shifts, Night & morning & afternoon
    travel, flight& train& bus&ship

    Since every time creating a table and filling the data in row and cell is taking lots of time. so it save my time because In all my posts table is necessary. So that i can create more posts.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Import your CSV data into a spreadsheet application (LibreOffice Calc, Google Sheets, Microsoft Excel, Apple Numbers, etc).

    Then you can copy any range of cells into the block editor, which will turn it into a table (sometimes even the formatting/styling is retained).

    Asking the editor itself to turn pasted CSV into a table is a bit too much, as not everyone wants that — unless there’s a plugin that does that (and I couldn’t find anything that works with the native table block — only 3rd-party Gutenberg block plugins).

    Good luck!

    Thread Starter onlionentertainment

    (@onlionentertainment)

    @gappiah presently I am doing that way only. ok understood it seems bit complex and not everyone wants this feature.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Create and Fill gutenberg table when data is pasted in wordpress editor’ is closed to new replies.