@@ -45,16 +45,19 @@ define([
4545 /**
4646 * Add button to the editor toolbar.
4747 */
48- editor . ui . registry . addIcon ( 'magentovariable' ,
48+ editor . ui . registry . addIcon (
49+ 'magentovariable' ,
4950 '<svg width="24" height="24" viewBox="0 0 32.000000 32.000000" ' +
5051 '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+ ) ;
5861 editor . ui . registry . addToggleButton ( 'magentovariable' , {
5962 icon : 'magentovariable' ,
6063 tooltip : jQuery . mage . __ ( 'Insert Variable' ) ,
0 commit comments