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

[stable4] Avoid error when not using any custom buttons #1000

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

juliusknorr
Copy link
Contributor

@juliusknorr juliusknorr commented Sep 14, 2023

Avoid logging a console error if no buttons are provided and the default Choose type is used, e.g. when calling in text:

https://github.com/nextcloud/text/blob/22318ffc88100d6912f586cf2594b65200f4f063/src/components/Editor/MediaHandler.vue#L162-L165

@juliusknorr juliusknorr changed the base branch from master to stable4 September 14, 2023 10:33
@juliusknorr juliusknorr added the bug Something isn't working label Sep 14, 2023
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr juliusknorr force-pushed the bugfix/noid/error-on-choose branch from f4b111d to 8d547d8 Compare September 14, 2023 10:34
@juliusknorr juliusknorr changed the title bugfix/noid/error on choose Avoid error when not using any custom buttons Sep 14, 2023
@juliusknorr juliusknorr changed the title Avoid error when not using any custom buttons [stable4] Avoid error when not using any custom buttons Sep 14, 2023
@susnux susnux added this to the 4.2.1 milestone Sep 14, 2023
@susnux susnux merged commit 424c21e into stable4 Sep 14, 2023
@susnux susnux deleted the bugfix/noid/error-on-choose branch September 14, 2023 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants