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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Unanswered

In-line CSS

(0) ShareShare
ReportReport
Posted on by

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:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard