diff --git a/blocks.js b/blocks.js index c67a8804d1ea5c..5365021ed5e88d 100644 --- a/blocks.js +++ b/blocks.js @@ -40,58 +40,181 @@ var config = { 'default': [] }, blockCategories: [ - { id: 'frequent', label: 'Frequently Used' }, - { id: 'media', label: 'Media' } + { id: 'common', label: 'Common' }, + { id: 'media', label: 'Media' }, + { id: 'embeds', label: 'Embeds' }, + { id: 'other', label: 'Other' }, + { id: 'layout', label: 'Layout' } ], blocks: [ - { - id: 'paragraph', - label: 'Paragraph', - icon: '', - category: 'frequent' - }, - { - id: 'heading', - label: 'Heading', - icon: 'Heading', - category: 'frequent' - }, - { - id: 'image', - label: 'Image', - icon: 'Image', - category: 'frequent' - }, - { - id: 'quote', - label: 'Quote', - icon: '', - category: 'frequent' - }, - { - id: 'gallery', - label: 'Gallery', - icon: '', - category: 'media' - }, - { - id: 'unordered-list', - label: 'Unordered List', - icon: '', - category: 'frequent' - }, - { - id: 'ordered-list', - label: 'Ordered List', - icon: '', - category: 'frequent' - }, - { - id: 'embed', - label: 'Embed', - icon: '', - category: 'media' - } + { + id: 'paragraph', + label: 'Paragraph', + icon: '', + category: 'common' + }, + { + id: 'heading', + label: 'Heading', + icon: 'Heading', + category: 'common' + }, + { + id: 'image', + label: 'Image', + icon: 'Image', + category: 'common' + }, + { + id: 'quote', + label: 'Quote', + icon: '', + category: 'common' + }, + { + id: 'gallery', + label: 'Gallery', + icon: '', + category: 'media' + }, + { + id: 'unordered-list', + label: 'Unordered List', + icon: '', + category: 'common' + }, + { + id: 'ordered-list', + label: 'Ordered List', + icon: '', + category: 'common' + }, + { + id: 'embed', + label: 'Embed', + icon: '', + category: 'embeds' + }, + { + id: 'separator', + label: 'Separator', + icon: 'Minus Small', + category: 'common' + }, + { + id: 'map', + label: 'Map', + icon: 'Custom Post Type', + category: 'embeds' + }, + { + id: 'google-map', + label: 'Google Map', + icon: 'Custom Post Type', + category: 'other' + }, + { + id: 'openstreet-map', + label: 'OpenStreet Map', + icon: 'Custom Post Type', + category: 'other' + }, + { + id: 'tweet', + label: 'Tweet', + icon: '', + category: 'other' + }, + { + id: 'video', + label: 'Video', + icon: 'Video', + category: 'media' + }, + { + id: 'youtube', + label: 'YouTube', + icon: '', + category: 'media' + }, + { + id: 'vimeo', + label: 'Vimeo', + icon: '', + category: 'media' + }, + { + id: 'audio', + label: 'Audio', + icon: 'Audio', + category: 'media' + }, + { + id: 'form', + label: 'Form', + icon: 'Custom Post Type', + category: 'other' + }, + { + id: 'survey', + label: 'Survey', + icon: 'Custom Post Type', + category: 'other' + }, + { + id: 'toc', + label: 'Table of Contents', + icon: 'Pages', + category: 'layout' + }, + { + id: 'wordpress-post', + label: 'WordPress Post', + icon: 'My Sites', + category: 'other' + }, + { + id: 'facebook-post', + label: 'Facebook Post', + icon: '', + category: 'other' + }, + { + id: 'opengraph-link', + label: 'OpenGraph Link', + icon: 'Link', + category: 'other' + }, + { + id: 'playlist', + label: 'Playlist', + icon: 'Audio', + category: 'media' + }, + { + id: 'spotify-playlist', + label: 'Spotify Playlist', + icon: '', + category: 'media' + }, + { + id: 'poet', + label: 'Poet', + icon: 'Pencil', + category: 'layout' + }, + { + id: 'custom-field', + label: 'Custom Field', + icon: 'Layout Blocks', + category: 'layout' + }, + { + id: 'gist', + label: 'Gist', + icon: 'Code', + category: 'other' + } ] }; diff --git a/style.css b/style.css index ba214c76182099..5dcd07a6377722 100644 --- a/style.css +++ b/style.css @@ -461,6 +461,11 @@ img.is-selected { fill: #191e23; } +.insert-block__block svg { + widows: 24px; + height: 24px; +} + /* * Text actions */