Browse Source

Remove plugin icon. This will have a follow-up.

panr 5 years ago
parent
commit
2410ff3586

+ 0 - 5
packages/ckeditor5-image/src/imageresize/ui/imageresizeui.js

@@ -16,9 +16,6 @@ import DropdownButtonView from '@ckeditor/ckeditor5-ui/src/dropdown/button/dropd
 import Model from '@ckeditor/ckeditor5-ui/src/model';
 import Collection from '@ckeditor/ckeditor5-utils/src/collection';
 
-// TODO
-import linkIcon from '../../../theme/icons/image_resize.svg';
-
 /**
  * The `ImageResizeUI` plugin.
  *
@@ -83,7 +80,6 @@ export default class ImageResizeUI extends Plugin {
 			button.set( {
 				label: t( label ),
 				withText: true,
-				icon: linkIcon,
 				tooltip: t( 'Resize image to' ) + ' ' + parsedValue,
 				isToggleable: true,
 				commandValue: parsedValue
@@ -123,7 +119,6 @@ export default class ImageResizeUI extends Plugin {
 
 			dropdownButton.set( {
 				tooltip: t( 'Resize image' ),
-				icon: linkIcon,
 				commandValue: firstOption.value,
 				isToggleable: true,
 				label: firstOption.label,

+ 0 - 6
packages/ckeditor5-image/theme/icons/image_resize.svg

@@ -1,6 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
-  <g fill="none" fill-rule="evenodd">
-    <polygon fill="#000" fill-rule="nonzero" points="7.25 12 8.311 13.061 4.561 16.81 7.75 16.811 7.75 18.311 2 18.311 2 12.561 3.5 12.561 3.5 15.749"/>
-    <polygon fill="#000" fill-rule="nonzero" points="17.25 2 18.311 3.061 14.561 6.81 17.75 6.811 17.75 8.311 12 8.311 12 2.561 13.5 2.561 13.5 5.749" transform="rotate(-180 15.155 5.155)"/>
-  </g>
-</svg>