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

improve table copy pasting into editor3 #4252

Merged

Conversation

petrjasek
Copy link
Member

when there is no editor instance, like from different instance or different window.

SDNTB-814

when there is no editor instance, like from different
instance or different window.

SDNTB-814
@petrjasek petrjasek added this to the 2.6.3 milestone May 24, 2023
@petrjasek petrjasek requested a review from tomaskikutis May 24, 2023 08:46
@tomaskikutis
Copy link
Member

When copy&pasting between windows without editor instance

I forgot when is that the case and why wouldn't we be able to get editor3 instance?

@petrjasek
Copy link
Member Author

I forgot when is that the case and why wouldn't we be able to get editor3 instance?

it's when you open the item for editing in a new tab, copy something there, then you got back to the other tab and paste it

@petrjasek petrjasek merged commit 3dc4662 into superdesk:hotfix/2.6.3 May 25, 2023
@petrjasek petrjasek deleted the fix-editor3-paste-without-editor branch May 25, 2023 14:29
@tomaskikutis
Copy link
Member

and we aren't able to paste from other tab, because clipboard stores not draftjs state, but internal draft-js markup which isn't even HTML we generate right?

@petrjasek
Copy link
Member Author

yep that's right

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

Successfully merging this pull request may close these issues.

2 participants