Skip to content

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

mejo- added 2 commits November 4, 2024 15:06
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- mejo- requested a review from max-nextcloud as a code owner November 4, 2024 14:39
@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

@mejo- mejo- requested a review from juliusknorr November 4, 2024 15:31
@juliusknorr juliusknorr merged commit 93a1563 into main Nov 5, 2024
@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

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants