Skip to content

Commit

Permalink
[fix] tagName="div" multiline="p" --> tagName="p"
Browse files Browse the repository at this point in the history
  • Loading branch information
rosamaggi committed Nov 29, 2024
1 parent 99b3546 commit d50145d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/epfl-contact/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,26 +145,23 @@ registerBlockType( 'epfl/contact', {
<label><strong>Information</strong></label>
<hr />
<RichText
tagName="div"
multiline="p"
tagName="p"
placeholder={ __( 'An email ?', 'epfl' ) }
value={ attributes.information1 }
className="information1"
onChange={ information1 => setAttributes( { information1 } ) }
/>
<hr />
<RichText
tagName="div"
multiline="p"
tagName="p"
placeholder={ __( 'A phone number ?', 'epfl' ) }
value={ attributes.information2 }
className="information2"
onChange={ information2 => setAttributes( { information2 } ) }
/>
<hr />
<RichText
tagName="div"
multiline="p"
tagName="p"
placeholder={ __( 'An address ?', 'epfl' ) }
value={ attributes.information3 }
className="information3"
Expand Down

0 comments on commit d50145d

Please sign in to comment.