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

Rich Text: Text disappear after copy/paste text or adding image #877

Closed
pk091990 opened this issue Apr 15, 2021 · 6 comments
Closed

Rich Text: Text disappear after copy/paste text or adding image #877

pk091990 opened this issue Apr 15, 2021 · 6 comments
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:bug
Milestone

Comments

@pk091990
Copy link

Category

[ ] Enhancement

[x] Bug

[ ] Question

Version

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

Expected / Desired Behavior / Question

When using a rich text control, copy/paste text and image doesn't work.

Observed Behavior

Console error occurred when copy/paste any content or add a image.

Steps to Reproduce

1: Add Rich text webpart
2: Copy paste any text and click outside of your webpart.
3: Text will disappear with below error in console.
image
Debug
image

4: Its working fine if I'm manually writing any text instead of copy/paste.

@ghost
Copy link

ghost commented Apr 15, 2021

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 15, 2021
@AJIXuMuK AJIXuMuK added status:fixed-next-drop Issue will be fixed in upcoming release. type:bug and removed Needs: Triage 🔍 labels Apr 17, 2021
@AJIXuMuK AJIXuMuK added this to the 2.7.0 milestone Apr 17, 2021
@AJIXuMuK
Copy link
Collaborator

Thank you @pk091990 for reporting the issue!
It has been fixed and the fix will be included in the next release.

@AnandhaprabhuSp
Copy link

@AJIXuMuK Approx when we can expect the next release? since this is kind of blocking us from choosing the editor.

@AJIXuMuK
Copy link
Collaborator

@AnandhaprabhuSp - I would expect new release in the next 2 weeks.
But you can install beta version from npm right away if that's a blocker. V2 beta already contains the needed changes.

@joelfmrodrigues
Copy link
Collaborator

@pk091990 this should now be fixed as part of the last release. Please update to the latest release and open a new issue if you still experience problems.
Many thanks for your contribution

@njabsDI
Copy link

njabsDI commented May 31, 2021

Hi I installed "@pnp/pnpjs": "^2.5.0-beta2" where as previosly I had pnp version 2.5.0 but still copy and paste does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:bug
Projects
None yet
Development

No branches or pull requests

5 participants