Skip to content

Commit 08a7e1c

Browse files
fix(files): Add text-init script to the files sharing listener
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> [skip ci]
1 parent 76d6bbb commit 08a7e1c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/Listeners/FilesSharingLoadAdditionalScriptsListener.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ public function handle(Event $event): void {
3030

3131
Util::addScript('text', 'text-public');
3232
Util::addStyle('text', 'text-public');
33+
Util::addInitScript('text', 'text-init');
34+
Util::addStyle('text', 'text-init');
3335

3436
$this->initialStateProvider->provideState();
3537
$node = $event->getShare()->getNode();

0 commit comments

Comments
 (0)