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

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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