Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with entering new line in RichText on classic pages #538

Open
Mayure5h opened this issue Apr 14, 2020 · 7 comments
Open

Issue with entering new line in RichText on classic pages #538

Mayure5h opened this issue Apr 14, 2020 · 7 comments

Comments

@Mayure5h
Copy link

Category

[ ] Enhancement

[x] Bug

[ ] Question

Version

Please specify what version of the library you are using: [ 1.17.0 ]

Expected / Desired Behavior / Question

If we add RichText control on classic pages, in web part edit mode (not only page edit mode), it should allow user to enter new line in the Rich control.

Observed Behavior

User is not able to enter a new line if web part is in edit mode.

Steps to Reproduce

  1. Add a Richtext web part on classic page
  2. Click on 'Edit Web part' option
  3. Make sure classic property pane (where we can see configure option) is visible.
  4. Start typing text in the Rich text web part and hit Enter button to have a new line added to the Rich text.
  5. You won't be able to hit Enter or new line.

I have below code used:

descriptiveTest.zip

Thanks!

@ghost
Copy link

ghost commented Apr 14, 2020

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label Apr 14, 2020
@github-actions
Copy link

Thank you for submitting your first issue to this project.

@Mayure5h
Copy link
Author

Mayure5h commented Apr 14, 2020

here is a screenshot
Issue with new line in Rich text in classic page

@Mayure5h
Copy link
Author

Hello team, any update on this bug?

@kunj-sangani
Copy link
Contributor

HI @Mayure5h

Without Editing the Webpart it works fine

Instead of editing the webpart edit the page and start typing in the rich text field

@rssilvaba
Copy link

I have the exact same issue.

@kunj-sangani
The problem with leaving the panel closed is that if you are trying to set a prop from the webpartprop pane it will just not set the property. I tried to debug it but I have no idea what can be causing this.

@rssilvaba
Copy link

@Mayure5h

I just switched to draftjs, and it does not cause this issue. implementation is trickier though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants