Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Johann Heyne

    (@jonua)

    I still researching on different content formating per column and per cell and maybe calculation. I have to be carefully because it should be simple first. There is another idea about optional predefining columns and rows and their content formats. But all this is stuff of a pro version.

    Thread Starter 100wunder

    (@100wunder)

    Thanks Johann.
    In my case I solved the issue with the linebreaks in a quick way for now:

    • within template use echo nl2br($td['c'])
    • add some admin-css .acf-table-body-cont{white-space:pre-wrap;}

    for sure.. it would be cooler without it ??

    Plugin Author Johann Heyne

    (@jonua)

    Well done.

    Just for understanding. The reason, why the line breaks in the blue content editor are not representing a <br> tag is because the blue content editor is a pure HTML editor. You can write HTML that will be rendered as HTML in the backend table. I should not mix rich text formatting and HTML editing here. So there is a need for a rich text formatting option that will influence the backend table content and the blue content editor. But this is a part of a more komplex table column format option. I have it on my list.

    Thread Starter 100wunder

    (@100wunder)

    Ah, now I see! I didn’t even try html tags there before. That’s okay for me, but not so good for the editor… It would be really nice, if you could implement that rich text feature in future versions.

    Anyway, I’ll mark this post as solved and wish you all the best with further development of your plugin.

    Thanks and cheers,
    Daniel

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘rich text within table cell’ is closed to new replies.