cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Topaz1981
Level: Powered On

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

Topaz1981
Level: Powered On

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

Topaz1981
Level: Powered On

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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,065)