]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6076 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 26 Jun 2023 15:54:55 +0000 (17:54 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 26 Jun 2023 15:54:55 +0000 (17:54 +0200)
app/Fields/FluidbookLinkEditor/Layer.php
app/SubForms/Link/Image.php

index 1b142a6867dfed3d1d953a17ff9322623a7bd7c9..cb1051af4037a4552dcfc387cc7e075aa5b1fca2 100644 (file)
@@ -15,6 +15,7 @@ class Layer extends SelectFromArray
         return [
             'both' => __('Texte et image'),
             'text' => __('Texte'),
+            'onlytext' => __('Texte seul'),
             'image' => __('Image'),
         ];
     }
index 6345ea5f9592e021a68320305838d05a2cf5ce40..197b17b62250bfea13958240e660df16283d76f6 100644 (file)
@@ -13,7 +13,7 @@ class Image extends Animated
 
     public function addDestinationField()
     {
-        $this->addField('to', FilesOrURL::class, __('Image'), $this->getFilesOrURLEntry() + ['accept' => self::$_acceptImage]);
+        $this->addField('to', FilesOrURL::class, __('Image'), $this->getFilesOrURLEntry() + ['accept' => self::$_acceptImageAndZip]);
         parent::addDestinationField();
     }
 }