Skip to content

Commit

Permalink
Fix docs for 'CKEDITOR.tools.getStyledSpans()'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dumluregn committed Mar 13, 2020
1 parent 8a4f1c6 commit af45bc4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -1188,9 +1188,8 @@
* @since 4.15.0
* @param {String} property CSS property which will be used in query.
* @returns {Array} Returns an array of {@link CKEDITOR.dom.element}s.
* @member CKEDITOR.editor
*/
getStyledSpans : function( property, source ) {
getStyledSpans: function( property, source ) {
var spans = source.find( 'span[style*=' + property + ']' ).toArray();

// This is to filter out spans e.g. with background color when we want text color.
Expand Down

0 comments on commit af45bc4

Please sign in to comment.