cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Topaz1981
Regular Visitor

Rich Text Editor - Align right by default and space between lines

Hello

 

  1. I am using in my app the Rich Text Editor and I can't make it to be Aligned to the right by default. You can align to the right with the text editor properties but not to set it to be like that by default and It is Important to the Users.
  2. I have noticed that when pressing the Enter key to create a new line the space between the lines is very large. 

I have checked the HTML after pressing the Enter key and noticed that the Html refers to it as a new paragraph <p>

by pressing Shift and Enter together the space between the lines is normal and the Html behind it is <br>

 

I think that maybe in order to fix the second Issue I have mentioned you should adjust the Html behind the program

 

All the best

              Shai Topaz

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
timl
Super User
Super User

Hi Shai

With regards to the first issue, you can set the default property to empty, right aligned paragraph using the following HTML.

"<p style=""text-align:right""></p>"

 

When a user clicks the text control, it'll select the existing paragraph which will be right aligned.

 

image.png

With regards to your second issue, it is not possible to apply custom CSS, which would be the correct way to resolve the spacing between paragraphs. I would recommend that you raise a suggestion for this in the ideas forum.

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas 

 

 

View solution in original post

Topaz1981
Regular Visitor

Hi timl

 

Thanks for the help 

I actually needed the Command:   "<p dir=""rtl""></p>" 

Capture.PNG

 

 

 

I couldn't have done it without your help

 

Thank you

 

View solution in original post

2 REPLIES 2
timl
Super User
Super User

Hi Shai

With regards to the first issue, you can set the default property to empty, right aligned paragraph using the following HTML.

"<p style=""text-align:right""></p>"

 

When a user clicks the text control, it'll select the existing paragraph which will be right aligned.

 

image.png

With regards to your second issue, it is not possible to apply custom CSS, which would be the correct way to resolve the spacing between paragraphs. I would recommend that you raise a suggestion for this in the ideas forum.

https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas 

 

 

Topaz1981
Regular Visitor

Hi timl

 

Thanks for the help 

I actually needed the Command:   "<p dir=""rtl""></p>" 

Capture.PNG

 

 

 

I couldn't have done it without your help

 

Thank you

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,622)