Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
Ensure editable content fields are transparent in the editor
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejolley committed Feb 3, 2023
1 parent 1cd21df commit 1c146ff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const Edit = ( {
onChange={ ( value ) =>
setAttributes( { content: value } )
}
style={ { backgroundColor: 'transparent' } }
/>
</Title>
</div>
Expand Down
2 changes: 2 additions & 0 deletions assets/js/blocks/checkout/form-step/form-step-block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const FormStepBlock = ( {
className={ '' }
value={ title }
onChange={ ( value ) => setAttributes( { title: value } ) }
style={ { backgroundColor: 'transparent' } }
/>
</FormStepHeading>
<div className="wc-block-components-checkout-step__container">
Expand All @@ -86,6 +87,7 @@ export const FormStepBlock = ( {
description: value,
} )
}
style={ { backgroundColor: 'transparent' } }
/>
</p>
<div className="wc-block-components-checkout-step__content">
Expand Down
1 change: 1 addition & 0 deletions assets/js/blocks/product-search/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ const Edit = ( {
onChange={ ( value ) =>
setAttributes( { label: value } )
}
style={ { backgroundColor: 'transparent' } }
/>
</>
) }
Expand Down
1 change: 1 addition & 0 deletions assets/js/editor-components/block-title/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const BlockTitle = ( {
className="wc-block-editor-components-title"
value={ heading }
onChange={ onChange }
style={ { backgroundColor: 'transparent' } }
/>
</TagName>
);
Expand Down

0 comments on commit 1c146ff

Please sign in to comment.