Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_markdown.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-03-21 17:37:20 +0300
committerRobin Appelman <robin@icewind.nl>2018-03-21 17:37:20 +0300
commitb3b03c208b72559577848c385be362e622626582 (patch)
treee724015d287376f8a4f4e56937dcd54b0f6cdde9
parent4febdda5960d63b523e02859c573745fb1c8c37a (diff)
Load all stylesheets for public preview
fixes #88 Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r--appinfo/app.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 55317c0..d2b997d 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -24,5 +24,6 @@ $eventDispatcher->addListener(
'OCA\Files_Sharing::loadAdditionalScripts',
function () {
OCP\Util::addScript('files_markdown', '../build/editor');
+ OCP\Util::addStyle('files_markdown', '../build/styles');
OCP\Util::addStyle('files_markdown', 'preview');
});