Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Fix bug upload image from clipboard #44

Merged

Conversation

nhvu1988
Copy link
Contributor

@nhvu1988 nhvu1988 commented May 5, 2022

This fixes 2 issues

  • The pluginId in server API is editorjs only but in admin it's recognized as react-editorjs so it causes some issues with upload and link preview as 43, 38, 36
  • The user token could be retrieved from sessionStorage or localStorage (see auth.getToken from @strapi/helper-plugin) (depends on user browser?) that also causes the bug 36

@melishev melishev self-requested a review May 5, 2022 10:29
package.json Outdated Show resolved Hide resolved
@nhvu1988 nhvu1988 force-pushed the fix-bug-upload-image-from-clipboard branch from 15517f5 to 5d368c2 Compare May 5, 2022 14:41
@melishev melishev merged commit fd67756 into melishev:master May 5, 2022
github-actions bot pushed a commit that referenced this pull request May 5, 2022
## [2.0.1](v2.0.0...v2.0.1) (2022-05-05)

### Bug Fixes

* bug upload image from clipboard ([#44](#44)) ([fd67756](fd67756))
@melishev
Copy link
Owner

melishev commented May 5, 2022

🎉 This PR is included in version 2.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@melishev melishev linked an issue May 5, 2022 that may be closed by this pull request
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken Link / Embed in Strapi EditorJS
2 participants