X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fpagebreak%2Fplugin.js;h=242b9fa73d475dadbb09bae17ce3505fdeb3dc5f;hb=48b1db88210b4160dce439c6e3e32e14af8c106b;hp=e3e05d56addae60512f15723b9e3a598212496cd;hpb=c9fdde67e6384bd5a66adc2b3bba5c4ce9db56c7;p=ckeditor.git diff --git a/_source/plugins/pagebreak/plugin.js b/_source/plugins/pagebreak/plugin.js index e3e05d5..242b9fa 100644 --- a/_source/plugins/pagebreak/plugin.js +++ b/_source/plugins/pagebreak/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -88,8 +88,7 @@ CKEDITOR.plugins.pagebreakCmd = // Creates the fake image used for this element. breakObject = editor.createFakeElement( breakObject, 'cke_pagebreak', 'div' ); - breakObject.setAttribute( 'alt', label ); - breakObject.setAttribute( 'aria-label', label ); + breakObject.setAttributes( { alt : label, 'aria-label' : label, title : label } ); var ranges = editor.getSelection().getRanges( true );