Skip to content

Commit 4decdb2

Browse files
rtibblesclaude
andcommitted
Enable the safe_html5_viewer plugin by default
KPUB_ZIP content has no renderer otherwise. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WAmANyoPp3rQdCNRdQt4k6
1 parent e9654c7 commit 4decdb2

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

kolibri/utils/build_config/default_plugins.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"kolibri.plugins.learn",
99
"kolibri.plugins.media_player",
1010
"kolibri.plugins.pdf_viewer",
11+
"kolibri.plugins.safe_html5_viewer",
1112
"kolibri.plugins.perseus_viewer",
1213
"kolibri.plugins.qti_viewer",
1314
"kolibri.plugins.setup_wizard",

packages/kolibri/components/internal/filePresetStrings.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const filePresetStrings = {
2424
slideshow_manifest: 'Slideshow ({fileSize})',
2525
slideshow_image: 'Slideshow image ({fileSize})',
2626
bloompub: 'Bloom Pub Document ({fileSize})',
27+
kpub: 'Kolibri Article ({fileSize})',
2728
};
2829

2930
const filePresetTranslator = createTranslator('FilePresetStrings', filePresetStrings);

0 commit comments

Comments
 (0)