Aug 18 2017 06:07 AM
Hey,
Does anyone know of a way to insert a table into a modern page? The current Text web part only seems to support limited formatting of text (bold, underline, bullet lists etc.). I was hoping to insert a table to show opening times for an office so don't need anything like a SharePoint list etc.
The only way I can see at the moment is to build a custom SPFx web part to insert a HTML table, but that is tad overkill...
Cheers.
James.
Aug 18 2017 06:22 AM
SolutionAug 18 2017 07:11 AM
Thanks Ivan, copying from Word does indeed work but you end up with black formatting around the table. Better than nothing though :)
Thanks again.
James.
Oct 23 2017 09:34 AM
Oct 24 2017 10:52 AM
Hi @James Brennan,
I recently submitted a SPFX sample showing how to use the Textbox.io third party editor instead of the SharePoint default one. This editor allows you to create dynamic tables plus different very cool features like Word copy/paste, images, videos, etc.
You can get the solution here:
https://github.com/FranckyC/sp-dev-fx-webparts/tree/react-textboxio/samples/react-textboxio
Also, I've made the same integration, but with collapsible sections:
For information, the two samples are currently submitted as PR in the official PnP SPFx webparts repository.
Hope this help.
Oct 25 2017 12:27 AM
I too would appreciate an update to this - tables are important to the way we present information and simple tools to manage the look would be much appreciated.
Preferably, native to share point without add-ins or scripts. I note that copying a formatted table from Word / Excel into Office 365 Email retains the formatting - whereas SharePoint Modern Pages drop all the formatting...
Aug 18 2017 06:22 AM
Solution