@@ -45,16 +45,19 @@ define([
45
45
/**
46
46
* Add button to the editor toolbar.
47
47
*/
48
- editor . ui . registry . addIcon ( 'magentovariable' ,
48
+ editor . ui . registry . addIcon (
49
+ 'magentovariable' ,
49
50
'<svg width="24" height="24" viewBox="0 0 32.000000 32.000000" ' +
50
51
'preserveAspectRatio="xMidYMid meet"><g transform="translate(0.000000,32.000000) ' +
51
- 'scale(0.100000,-0.100000)" fill="#000000" stroke="none"> <path d="M68 250 c-56 -44 -75 -136 ' +
52
- '-37 -184 27 -34 42 -33 23 2 -26 50 -9 129 38 179 26 28 10 30 -24 3z"/> <path d="M266 253 c5 -10' +
53
- '9 -41 9 -70 0 -42 -6 -60 -32 -97 -36 -51 -35 -56 7 -26 54 39 78 139 44 188 -18 26 -40 30 ' +
54
- '-28 5z"/> <path d="M128 223 c-15 -4 -15 -6 0 -33 16 -28 16 -30 -11 -58 -30 -31 -34 -42 -13 ' +
55
- '-42 8 0 17 11 20 25 4 14 11 25 16 25 5 0 12 -11 16 -25 6 -25 37 -35 49 -15 3 5 2 10 -3 10 -23 0 ' +
56
- '-20 44 5 76 25 34 25 34 4 34 -12 0 -20 -4 -17 -8 2 -4 0 -14 -5 -22 -7 -10 -12 -11 -15 -4 -10 25' +
57
- ' -30 40 -46 37z"/> </g> </svg>' ) ;
52
+ 'scale(0.100000,-0.100000)" fill="#000000" stroke="none"><path d="M68 250 c-56 -44 -75 -136 -37 ' +
53
+ '-184 27 -34 42 -33 23 2 -26 50 -9 129 38 179 26 28 10 30 -24 3z"/><path d="M266 253 c5 -10 9 ' +
54
+ '-41 9 -70 0 -42 -6 -60 -32 -97 -36 -51 -35 -56 7 -26 54 39 78 139 44 188 -18 26 -40 30 -28 5z"/>' +
55
+ '<path d="M128 223 c-15 -4 -15 -6 0 -33 16 -28 16 -30 -11 -58 -30 -31 -34 -42 -13 -42 8 0 17 11 ' +
56
+ '20 25 4 14 11 25 16 25 5 0 12 -11 16 -25 6 -25 37 -35 49 -15 3 5 2 10 -3 10 -23 0 -20 44 5 76 ' +
57
+ '25 34 25 34 4 34 -12 0 -20 -4 -17 -8 2 -4 0 -14 -5 -22 -7 -10 -12 -11 -15 -4 -10 25 -30 40 ' +
58
+ '-46 37z"/></g>' +
59
+ '</svg>'
60
+ ) ;
58
61
editor . ui . registry . addToggleButton ( 'magentovariable' , {
59
62
icon : 'magentovariable' ,
60
63
tooltip : jQuery . mage . __ ( 'Insert Variable' ) ,
0 commit comments