Skip to content

Commit

Permalink
Merge pull request #260 from WordPress/update/tinymce-single/mock-ups
Browse files Browse the repository at this point in the history
Use paragraph icon
  • Loading branch information
ellatrix authored Mar 13, 2017
2 parents 588157a + 4ae81ba commit 4872b36
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions shared/gridicons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tinymce-single/blocks/elements/paragraph/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ window.wp.blocks.registerBlock( {
elements: [ 'p' ],
type: 'text',
section: 'text',
icon: 'gridicons-posts',
icon: 'gridicons-paragraph',
controls: [
'text-switcher',
'|',
Expand Down
2 changes: 1 addition & 1 deletion tinymce-single/tinymce/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

editor.addButton( 'text-switcher', {
type: 'svglistbox',
icon: 'gridicons-posts',
icon: 'gridicons-paragraph',
values: textBlocks.map( function( settings ) {
return {
text: settings.displayName,
Expand Down

0 comments on commit 4872b36

Please sign in to comment.