From f239c71648dcf2820f34304da29fa77dd05a25f3 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 11 Oct 2016 00:55:22 +0000 Subject: [PATCH] TinyMCE: add support for custom dashicon for wp.mce.View.setLoader(). Props procodewp. Fixes #37900. git-svn-id: https://develop.svn.wordpress.org/trunk@38774 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/mce-view.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/js/mce-view.js b/src/wp-includes/js/mce-view.js index 3d2616d785..048387d3dd 100644 --- a/src/wp-includes/js/mce-view.js +++ b/src/wp-includes/js/mce-view.js @@ -636,10 +636,10 @@ /** * Sets a loader for all view nodes tied to this view instance. */ - setLoader: function() { + setLoader: function( dashicon ) { this.setContent( '
' + - '
' + + '
' + '
' + '
' );