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

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-12-01 17:34:39 +0300
committerRobin Appelman <robin@icewind.nl>2016-12-02 00:14:19 +0300
commit1c5a53d5f8b29aab0c0aea971e4b93c2d5e2758e (patch)
tree43838e972df21176c08aee78499b1ab083d18d82 /appinfo
parent99b4735a22bf1c35746c6a5eac7398702a94a1f2 (diff)
rich code preview in the sidebar
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index e2f851f..d235eda 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -8,6 +8,7 @@ if (\OCP\User::isLoggedIn()) {
OCP\Util::addStyle('files_texteditor', 'style');
OCP\Util::addStyle('files_texteditor', 'mobile');
OCP\Util::addscript('files_texteditor', 'editor');
+ OCP\Util::addscript('files_texteditor', 'sidebarpreview');
OCP\Util::addscript('files_texteditor', 'core/vendor/ace-builds/src-noconflict/ace');
$cspManager = \OC::$server->getContentSecurityPolicyManager();