Skip to content

Commit

Permalink
feat(ui): re-added custom h5p styles (#1138)
Browse files Browse the repository at this point in the history
  • Loading branch information
sr258 committed Jan 7, 2021
1 parent 1e95e3c commit d4e8f34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
File renamed without changes.
10 changes: 9 additions & 1 deletion server/src/boot/createH5PEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,15 @@ export default async function createH5PEditor(
new H5P.fsImplementations.DirectoryTemporaryFileStorage(
localTemporaryPath
),
translationCallback
translationCallback,
undefined,
{
customization: {
global: {
styles: ['/assets/h5p/h5p-editor-overrides.css']
}
}
}
);

return h5pEditor;
Expand Down

0 comments on commit d4e8f34

Please sign in to comment.