Open gaurav-jo1 opened 1 year ago
@Gaurav-jo1 are you interested in fixing this one?
The code containing the bug is embedded in the CodeSandbox and is not present in the repository. As a beginner in CodeSandbox, I am unsure of how to notify the owner that I have successfully resolved the bug in the CodeSandbox environment.
Ah, got it. Fair.
Identified a bug on the Demos page of project website in the "Plugin examples > embed plugins > Figma plugin example in codeSandbox" section. Specifically, the issue occurs when clicking on the "Insert Figma File" button.
Normally, a warning message should pop up asking users to paste the link for their Figma file. However, we have found that the warning message is currently displaying an incorrect instruction. Instead of asking users to paste the link to their Figma file, it states to paste the link for a YouTube video. This can be confusing for users.
Lexical version: v0.10.0
Steps To Reproduce
Code example:
Link of the CodeSandbox
To fix for the issue. In the
FigmaToolbar.tsx
file located in the plugins folder of the CodeSandbox example, there is a line of code that is causing the issue.const text = prompt("Enter the URL of the Youtube video:", "");
The corrected code should look like this:
const text = prompt("Enter the URL of the Figma file:", "");
The current behavior
The expected behavior