Skip to content

Commit cd9039a

Browse files
committed
--amend
1 parent 270a871 commit cd9039a

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

build/index.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => '224d62f0a042c813cb160fa2ef901571');
1+
<?php return array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => '41b094641298ce176dc6219c6509b7f4');

build/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/components/ButtonGroup/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { __ } = wp.i18n;
2-
const { Tooltip, Button, ButtonGroup } = wp.components;
2+
const { Tooltip, Button, ButtonGroup, Dashicon } = wp.components;
33
import './editor.scss';
44
import classnames from 'classnames';
55

dev/components/InlineControls/Format.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { compose } = wp.compose;
44
const { Component, Fragment } = wp.element
55
const { toggleFormat, applyFormat, getActiveFormat, removeFormat, __experimentalRichText } = wp.richText;
66
const { RichTextToolbarButton } = wp.blockEditor;
7-
const { registerFormatType } = wp.richText;
7+
const { registerFormatType, unregisterFormatType } = wp.richText;
88
const { Toolbar, Button, Dashicon, Tooltip, Popover } = wp.components;
99
const { createRef } = wp.element;
1010
import { InspectorModal, InsepectorPanel } from '../Modal';
@@ -170,6 +170,7 @@ registerFormatType( GUTENGEEK_RICH_TEXT_BOLD, {
170170

171171
// Underline
172172
const GUTENGEEK_RICH_TEXT_UNDERLINE = 'gutengeek/rich-text-underline';
173+
unregisterFormatType( GUTENGEEK_RICH_TEXT_UNDERLINE );
173174
registerFormatType( GUTENGEEK_RICH_TEXT_UNDERLINE, {
174175
name: GUTENGEEK_RICH_TEXT_UNDERLINE,
175176
title: __( 'Underline' ),
@@ -199,6 +200,7 @@ registerFormatType( GUTENGEEK_RICH_TEXT_UNDERLINE, {
199200

200201
// Italic
201202
const GUTENGEEK_RICH_TEXT_ITALIC = 'gutengeek/rich-text-italic';
203+
unregisterFormatType( GUTENGEEK_RICH_TEXT_ITALIC );
202204
registerFormatType( GUTENGEEK_RICH_TEXT_ITALIC, {
203205
name: GUTENGEEK_RICH_TEXT_ITALIC,
204206
title: __( 'Italic' ),
@@ -282,6 +284,8 @@ class InlineColor extends Component {
282284

283285
}
284286

287+
288+
unregisterFormatType( GUTENGEEK_RICH_TEXT_COLOR );
285289
registerFormatType( GUTENGEEK_RICH_TEXT_COLOR, {
286290
name: GUTENGEEK_RICH_TEXT_COLOR,
287291
title: __( 'Color' ),
@@ -383,6 +387,7 @@ class InlineBackgroundColor extends Component {
383387
}
384388
// End Inline Background Color
385389

390+
unregisterFormatType( GUTENGEEK_RICH_TEXT_BACKGROUND_COLOR );
386391
registerFormatType( GUTENGEEK_RICH_TEXT_BACKGROUND_COLOR, {
387392
name: GUTENGEEK_RICH_TEXT_BACKGROUND_COLOR,
388393
title: __( 'Background Color' ),
@@ -427,6 +432,7 @@ registerFormatType( GUTENGEEK_RICH_TEXT_BACKGROUND_COLOR, {
427432

428433
// Remove Format
429434
const GUTENGEEK_RICH_TEXT_CLEAR_FORAMT = 'gutengeek/rich-text-remove-format';
435+
unregisterFormatType( GUTENGEEK_RICH_TEXT_CLEAR_FORAMT );
430436
registerFormatType( GUTENGEEK_RICH_TEXT_CLEAR_FORAMT, {
431437
name: GUTENGEEK_RICH_TEXT_CLEAR_FORAMT,
432438
title: __( 'Clear Format' ),

dev/components/Url/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const URL = props => {
3434
</Tooltip>
3535
</div>
3636
{isToggle && (
37-
<div className="gutengeek-url-advanced-options">
37+
<div className="gutengeek-url-advanced-options gutengeek-mt-15">
3838
<CheckboxControl
3939
className="gutengeek-checked"
4040
label={__( 'Open in new window' )}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gutengeek/components",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "Gutengeek Components Advanced Controls for GutenBerg",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)