Skip to content

Commit 1e71959

Browse files
committed
Change modal HTML editor icon
1 parent 43f44f1 commit 1e71959

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

custom-html-block-extension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Description: Extend custom HTML blocks to evolve into an advanced code editor.
55
* Requires at least: 5.9
66
* Requires PHP: 7.3
7-
* Version: 3.2.0
7+
* Version: 3.2.1
88
* Author: Aki Hamano
99
* Author URI: https://github.com/t-hamano
1010
* License: GPL2 or later

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: gutenberg, block, html, highlighting, emmet
44
Donate link: https://www.paypal.me/thamanoJP
55
Requires at least: 5.9
66
Tested up to: 6.2
7-
Stable tag: 3.2.0
7+
Stable tag: 3.2.1
88
Requires PHP: 7.3
99
License: GPLv2 or later
1010
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -69,6 +69,9 @@ Source: https://www.marksimonson.com/fonts/view/anonymous-pro
6969

7070
== Changelog ==
7171

72+
= 3.2.1 =
73+
* Enhancement: Change modal HTML editor icon
74+
7275
= 3.2.0 =
7376
* Feature: Add modal HTML editor
7477
* Enhancement: Don't display toolbar buttons when preview mode

src/block-editor/edit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
Modal,
2828
Notice,
2929
} from '@wordpress/components';
30-
import { edit, arrowRight, replace } from '@wordpress/icons';
30+
import { fullscreen, arrowRight, replace } from '@wordpress/icons';
3131

3232
const MIN_HEIGHT = 100;
3333
const MAX_HEIGHT = 1000;
@@ -155,7 +155,7 @@ export default function HTMLEdit( { attributes, isSelected, setAttributes, toggl
155155
{ ! isPreview && (
156156
<ToolbarGroup>
157157
<ToolbarButton
158-
icon={ edit }
158+
icon={ fullscreen }
159159
label={ __( 'Open HTML Editor' ) }
160160
onClick={ () => setIsModalEditorOpen( true ) }
161161
/>

0 commit comments

Comments
 (0)