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:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2016-12-08 17:22:14 +0300
committerGitHub <noreply@github.com>2016-12-08 17:22:14 +0300
commit4b36bb90afb1cd39d3441ac42f22c4aca0b1abb8 (patch)
tree43838e972df21176c08aee78499b1ab083d18d82 /appinfo/app.php
parent99b4735a22bf1c35746c6a5eac7398702a94a1f2 (diff)
parent1c5a53d5f8b29aab0c0aea971e4b93c2d5e2758e (diff)
Merge pull request #19 from nextcloud/sidebare-previewv11.0RC2v11.0.0
rich code preview in the sidebar
Diffstat (limited to 'appinfo/app.php')
-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();