Skip to content

Commit

Permalink
Ajout de « style » pour les attribut autoriser au SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Banvillet committed May 5, 2020
1 parent ba40274 commit 5d1f941
Show file tree
Hide file tree
Showing 3 changed files with 2,798 additions and 1,818 deletions.
3 changes: 2 additions & 1 deletion matiere-noire-block-icon-svg.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Plugin Name: Matiere Noire SVG icons block
* Plugin URI: https://github.com/matiere-noire/svg-icons-block
* Description: Ajout d'un block Icon SVG
* Version: 1.0.0
* Version: 1.1.0
* Author: Matiere Noire
* Author URI: https://www.matierenoire.io/
* License: MIT
Expand Down Expand Up @@ -83,6 +83,7 @@ function allowed_html($allowedposttags, $context)
'focusable' => true,
'width' => true,
'height' => true,
'style' => true,
];
$allowedposttags['path'] = [
'd' => true,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"license": "MIT",
"private": false,
"devDependencies": {
"@wordpress/scripts": "^7.1.0",
"css-loader": "^3.4.2",
"@wordpress/scripts": "^9.0.0",
"css-loader": "^3.5.3",
"mini-css-extract-plugin": "^0.9.0",
"svg-spritemap-webpack-plugin": "^3.5.3"
"svg-spritemap-webpack-plugin": "^3.5.5"
},
"dependencies": {
"classnames": "^2.2.6"
Expand Down
Loading

0 comments on commit 5d1f941

Please sign in to comment.