pnp / pnp/sp-dev-fx-controls-react
Issue with entering new line in RichText on classic pages
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 433
- Forks
- 418
- Avg merge
- 5d 6m
- Merged PRs (30d)
- 19
Description
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
- Add a Richtext web part on classic page
- Click on 'Edit Web part' option
- Make sure classic property pane (where we can see configure option) is visible.
- Start typing text in the Rich text web part and hit Enter button to have a new line added to the Rich text.
- You won't be able to hit Enter or new line.
I have below code used:
Thanks!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the RichText control and the attached descriptiveTest.zip, then follow the listed reproduction steps on a classic page with the web part property pane open. Compare Enter-key behavior in web-part edit mode with page edit mode; done means Enter inserts a new line in the RichText control.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100