diff options
author | Robin Appelman <robin@icewind.nl> | 2016-12-01 17:34:39 +0300 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2016-12-02 00:14:19 +0300 |
commit | 1c5a53d5f8b29aab0c0aea971e4b93c2d5e2758e (patch) | |
tree | 43838e972df21176c08aee78499b1ab083d18d82 /appinfo/app.php | |
parent | 99b4735a22bf1c35746c6a5eac7398702a94a1f2 (diff) |
rich code preview in the sidebar
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'appinfo/app.php')
-rw-r--r-- | appinfo/app.php | 1 |
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(); |