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 Apps
Unanswered

In-line CSS

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

I created an app where it is possible to use the rich text editor and the text is then patched to a column in SPO. As default I have added some html and CSS in order to make it look a bit nicer. I have also added variables that are filled in earlier stages (uncheck/check). Here is the code:

 

 

If(IsBlank(varTodayMeeting.MeetingMinutes),Concatenate("
<!doctype html>
<html>

 <body>
 <h1 style='border-radius: 5px; background: #ab95b5; color: White; padding: 15px;font-family: Maven Pro;'>Meeting Minutes ",varTodayMeeting.Title,"</h1>","
 <hr>
	<p class='pCSS'><b>Management board: ",Text(varTodayMeeting.StartTime,"[$-en-US]dd/mm/yyy"),"</b></p>
 <hr>
	<p class='pCSS'><Font color='grey'>Attendees: </font>",varAttendeesChecked,"</p>
 <hr>
	<p class='pCSS'><Font color='grey'>Absentees: </font>",varAttendeesUnchecked,"</p>
 <hr>
	<p class='pCSS'><Font color='grey'>Invitees: </font></p>
 <hr>
	<p class='pCSS'><font Color='grey'>Redactor: </font>",User().FullName,"</p>
 <hr>
 <br>",Concat(colTopicsTodayMeeting,"<h4><font color='#e98300'><b>"&Title&"</b></font></h4><br>"),"</body></html>"),varTodayMeeting.MeetingMinutes)

In PowerApps the HTML/CSS does not show everything, but that doesn't matter. Here's what I get:

 


image.png

When I don't write anything into the editor the CSS is well there when I save it to the SPO column:

image.png

Now here's the problem, once I do write something into the rich text editor, my CSS seems to get lost:

image.png

Can anyone explain to me why this is happening? Because I would like to keep my CSS.

 

Thanks in advance,

 

Chris

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Also, when in play mode (not in edit mode, here it works fine), my rich text editors aren't visible.

     

    image.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Bumping for visibility 

     

    @Anonymous 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard