web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Insert a HTML in SPL m...
Power Apps
Unanswered

Insert a HTML in SPL multi line with rich text

(0) ShareShare
ReportReport
Posted on by 3,276

Hi there,

I was wondering if this is possible:

I have a sharepoint list "Multiple lines of text" with the option of Rich text. 

 

I have copy / paste a table from W3 Schools, hoping that I can see the same table in my power app either in a HTML rich editor or control or in a HTML TEXT. 

sajarac_1-1668175892481.png

 

sajarac_0-1668175745631.png

 

But this is the result:

sajarac_2-1668175993895.png

 

Any idea how I can get this done?

 

Thanks in advance

 

Categories:
I have the same question (0)
  • TylerPA Profile Picture
    201 on at

    What is the full html you've tested with? 

     

    I think there are some limitations with html. There are containers restricting some aspects. But some basic things should still show up

     

    <!DOCTYPE html>
    <html>
    <head>
    <style>
    table {
     font-family: arial, sans-serif;
     border-collapse: collapse;
     width: 100%;
    }
    
    td, th {
     border: 1px solid #dddddd;
     text-align: left;
     padding: 8px;
    }
    
    tr:nth-child(even) {
     background-color: #dddddd;
    }
    </style>
    </head>
    <body>
    
    <h2>HTML Table</h2>
    
    <table>
     <tr>
     <th>Company</th>
     <th>Contact</th>
     <th>Country</th>
     </tr>
     <tr>
     <td>Alfreds Futterkiste</td>
     <td>Maria Anders</td>
     <td>Germany</td>
     </tr>
     <tr>
     <td>Centro comercial Moctezuma</td>
     <td>Francisco Chang</td>
     <td>Mexico</td>
     </tr>
     <tr>
     <td>Ernst Handel</td>
     <td>Roland Mendel</td>
     <td>Austria</td>
     </tr>
     <tr>
     <td>Island Trading</td>
     <td>Helen Bennett</td>
     <td>UK</td>
     </tr>
     <tr>
     <td>Laughing Bacchus Winecellars</td>
     <td>Yoshi Tannamuri</td>
     <td>Canada</td>
     </tr>
     <tr>
     <td>Magazzini Alimentari Riuniti</td>
     <td>Giovanni Rovelli</td>
     <td>Italy</td>
     </tr>
    </table>
    
    </body>
    </html>

     

    Here, can see the styling won't display. But it still roughly displays

    TylerPA_0-1668179913210.png

     

    TylerPA_1-1668179948341.png

     

     

  • Sajarac Profile Picture
    3,276 on at

    Hey @TylerPA , thank you very much for your prompt response.

    I was playing and found this:

    I save the table code in my power apps a simple table:

     

    Than, back to share point the edit function in the column turns into this:

     

    Now I am able to edit add rows etc

    sajarac_0-1668180193836.png

     

  • RusselThomas Profile Picture
    4,014 on at

    Out of interest, <Style> tags are ignored for the most part with Rich Text and HTML Text controls - however, inline styling still seems to work...

    So

    <style>
    table, th, td {
     border:1px solid black;
    }
    </style>

    won't work - but

    <table style='border:1px solid black;'>
    <th style='border:1px solid black;'>
    <td style='border:1px solid black;'>

    does...

    RT

  • Sajarac Profile Picture
    3,276 on at

    Great! this is a hope!

    🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard