Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit aa9861b

Browse files
chore: tweaks
1 parent 44b8927 commit aa9861b

File tree

3 files changed

+22
-25
lines changed

3 files changed

+22
-25
lines changed

assets/js/.babelrc

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
{
2-
"presets": [
3-
[
4-
"@babel/preset-env",
5-
{
6-
"targets": {
7-
"ie": 11
8-
}
9-
}
10-
]
11-
],
12-
"plugins": [
13-
[
14-
"@babel/plugin-transform-react-jsx",
15-
{
16-
"pragma": "wp.element.createElement"
17-
}
18-
]
19-
]
20-
}
1+
{
2+
"presets": [
3+
[
4+
"@babel/preset-env",
5+
{
6+
"targets": {
7+
"ie": 11
8+
}
9+
}
10+
]
11+
],
12+
"plugins": [
13+
[
14+
"@babel/plugin-transform-react-jsx",
15+
{
16+
"pragma": "wp.element.createElement"
17+
}
18+
]
19+
]
20+
}

assets/js/src/gutenberg/utils/component.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export const getDefaultFormatGroupProps = () => ([
7979
title: translate('Marker Animation (detail setting)'),
8080
initialOpen: true,
8181
},
82+
className: 'marker-animation-button',
8283
menuClassName: 'marker-animation-menu marker-animation-menu-default',
8384
},
8485
]);
@@ -92,6 +93,7 @@ export const getSettingFormatGroupProps = () => ([
9293
toolbarGroup: getName('toolbar'),
9394
label: translate('Marker Animation'),
9495
icon: getIcon(),
96+
className: 'marker-animation-button',
9597
menuClassName: 'marker-animation-menu marker-animation-menu-setting',
9698
},
9799
]);

bin/gh-pages/plugin.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
.playground__content__screenshot {
22
max-width: 500px;
33
}
4-
5-
.block-editor-block-toolbar .components-button.is-pressed,
6-
.block-editor-format-toolbar .components-button.is-pressed {
7-
background: #1e1e1e;
8-
}

0 commit comments

Comments
 (0)