Skip to content

Commit

Permalink
Change insert_editor_css to insert_global_admin_css (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbiggs authored Aug 1, 2023
1 parent a469ce2 commit 8007157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wagtailmedia/wagtail_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class MediaAdminURLFinder(ModelAdminURLFinder):
register_admin_url_finder(get_media_model(), MediaAdminURLFinder)


@hooks.register("insert_editor_css")
@hooks.register("insert_global_admin_css")
def add_media_css_tweaks():
return format_html(
'<link rel="stylesheet" href="{}">',
Expand Down

0 comments on commit 8007157

Please sign in to comment.