diff --git a/docs/03-plugins/remove-viewbox.mdx b/docs/03-plugins/remove-viewbox.mdx index ea85ba8e6..d8d21bc61 100644 --- a/docs/03-plugins/remove-viewbox.mdx +++ b/docs/03-plugins/remove-viewbox.mdx @@ -2,7 +2,6 @@ title: Remove ViewBox svgo: pluginId: removeViewBox - defaultPlugin: true --- Removes the [`viewBox`](https://developer.mozilla.org/docs/Web/SVG/Attribute/viewBox) attribute where it matches the documents width and height. diff --git a/plugins/preset-default.js b/plugins/preset-default.js index 86516fd72..878969785 100644 --- a/plugins/preset-default.js +++ b/plugins/preset-default.js @@ -18,7 +18,6 @@ const convertColors = require('./convertColors.js'); const removeUnknownsAndDefaults = require('./removeUnknownsAndDefaults.js'); const removeNonInheritableGroupAttrs = require('./removeNonInheritableGroupAttrs.js'); const removeUselessStrokeAndFill = require('./removeUselessStrokeAndFill.js'); -const removeViewBox = require('./removeViewBox.js'); const cleanupEnableBackground = require('./cleanupEnableBackground.js'); const removeHiddenElems = require('./removeHiddenElems.js'); const removeEmptyText = require('./removeEmptyText.js'); @@ -57,7 +56,6 @@ const presetDefault = createPreset({ removeUnknownsAndDefaults, removeNonInheritableGroupAttrs, removeUselessStrokeAndFill, - removeViewBox, cleanupEnableBackground, removeHiddenElems, removeEmptyText, diff --git a/plugins/removeDimensions.js b/plugins/removeDimensions.js index 4f4f39840..ee88d5bb7 100644 --- a/plugins/removeDimensions.js +++ b/plugins/removeDimensions.js @@ -2,7 +2,7 @@ exports.name = 'removeDimensions'; exports.description = - 'removes width and height in presence of viewBox (opposite to removeViewBox, disable it first)'; + 'removes width and height in presence of viewBox (opposite to removeViewBox)'; /** * Remove width/height attributes and add the viewBox attribute if it's missing