cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User
Super User

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

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

Highlighted
Regular Visitor

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

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
Highlighted
Super User
Super User

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

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

Highlighted
Regular Visitor

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

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

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (8,465)