From: Vincent Vanwaelscappel Date: Thu, 16 Mar 2023 12:43:15 +0000 (+0100) Subject: wait #5811 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f85618edface2143dd7a8fde21df06f7b25316af;p=fluidbook-toolbox.git wait #5811 @0.25 --- diff --git a/app/Models/ToolSVGSprite.php b/app/Models/ToolSVGSprite.php index fa22a7f2e..ed0787f78 100644 --- a/app/Models/ToolSVGSprite.php +++ b/app/Models/ToolSVGSprite.php @@ -57,6 +57,7 @@ class ToolSVGSprite extends ToolboxModel if ($this->convertColorsToCurrentColor) { $svg = preg_replace('/#[0-9a-fA-F]{6}/', 'currentColor', $svg); $svg = preg_replace('/rgba?\([^)]+\)/', 'currentColor', $svg); + $svg = str_replace(['transparent', 'black'], ['currentColor', 'currentColor'], $svg); } $res .= '' . $svg . ''; } diff --git a/resources/views/fluidbook_publication/link_editor_icons.blade.php b/resources/views/fluidbook_publication/link_editor_icons.blade.php index 2c0ed3a2f..5154aedf9 100644 --- a/resources/views/fluidbook_publication/link_editor_icons.blade.php +++ b/resources/views/fluidbook_publication/link_editor_icons.blade.php @@ -1,74 +1,5 @@ {{-- __('!! Editeur de liens') --}} - + @push('linkeditor_scripts')