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

juliushaertl
Copy link
Contributor

@juliushaertl juliushaertl 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

@juliushaertl juliushaertl changed the base branch from master to stable4 September 14, 2023 10:33
@juliushaertl juliushaertl added the bug Something isn't working label Sep 14, 2023
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliushaertl juliushaertl changed the title bugfix/noid/error on choose Avoid error when not using any custom buttons Sep 14, 2023
@juliushaertl juliushaertl 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
6 checks passed
@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.

None yet

2 participants