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

Fix some JS console errors #6597

Merged
merged 2 commits into from
Nov 5, 2024
Merged

Fix some JS console errors #6597

merged 2 commits into from
Nov 5, 2024

Conversation

mejo-
Copy link
Member

@mejo- mejo- commented Nov 4, 2024

Fix some JS console errors

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits

The property `isEmbedded` only gets provided in `ViewerComponent.vue`.
When the editor gets created though other means, e.g. via editor API
(`editor.js`), `isEmbedded` is not provided and thus produces an error:

> Injection "isEmbedded" not found

Signed-off-by: Jonas <[email protected]>
@mejo- mejo- added bug Something isn't working 3. to review labels Nov 4, 2024
@mejo- mejo- requested review from elzody and enjeck November 4, 2024 14:39
@mejo- mejo- self-assigned this Nov 4, 2024
@mejo-
Copy link
Member Author

mejo- commented Nov 4, 2024

/backport to stable30

@mejo-
Copy link
Member Author

mejo- commented Nov 4, 2024

/backport to stable29

@juliusknorr juliusknorr merged commit 93a1563 into main Nov 5, 2024
59 of 61 checks passed
@juliusknorr juliusknorr deleted the fix/console_errors branch November 5, 2024 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug Something isn't working
Projects
Status: ☑️ Done
Development

Successfully merging this pull request may close these issues.

3 participants