X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Felementspath%2Fplugin.js;h=eaab6f8403c787e8e70087f9ec537bf84e1c069a;hb=refs%2Ftags%2Fv3.2;hp=30c72c99db31d713b773ecaf7b69ac00caea1314;hpb=c6e377a02b54abc07129d72b632763c727476a15;p=ckeditor.git diff --git a/_source/plugins/elementspath/plugin.js b/_source/plugins/elementspath/plugin.js index 30c72c9..eaab6f8 100644 --- a/_source/plugins/elementspath/plugin.js +++ b/_source/plugins/elementspath/plugin.js @@ -49,7 +49,11 @@ For licensing, see LICENSE.html or http://ckeditor.com/license editor.on( 'themeSpace', function( event ) { if ( event.data.space == 'bottom' ) - event.data.html += '
' + emptyHtml + '
'; + { + event.data.html += + '' + editor.lang.elementsPath.eleLabel + '' + + '
' + emptyHtml + '
'; + } }); editor.on( 'selectionChange', function( ev ) @@ -86,19 +90,22 @@ For licensing, see LICENSE.html or http://ckeditor.com/license if ( env.gecko ) extra += ' onblur="this.style.cssText = this.style.cssText;"'; + var label = editor.lang.elementsPath.eleTitle.replace( /%1/, name ); html.unshift( '', + ' onclick="return CKEDITOR._.elementsPath.click(\'', this.name, '\',', index, ');"', + ' role="button" aria-labelledby="' + idBase + index + '_label">', name, + '' + label + '', '' ); if ( name == 'body' )