Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Block: Post comment author]: Add link settings and block supports (#…
…35595) * Update post comment author icon * Update post comment author with new options * Refactor to move the link wrapper outside the select function * Fix linter comma trailing on php * Fixed some comments * Add p tag inside, renamed icon * Unify removing p tag on both editor and frontend * Reset p to previous status Co-authored-by: Carlos Bravo <carlos@ticloop.com>
- Loading branch information
1 parent
9799046
commit fac0447
Showing
7 changed files
with
109 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* WordPress dependencies | ||
*/ | ||
import { SVG, Path, Circle } from '@wordpress/primitives'; | ||
|
||
const commentAuthor = ( | ||
<SVG viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="#FFFFFF"> | ||
<Path | ||
d="M18 4H6c-1.1 0-2 .9-2 2v12.9c0 .6.5 1.1 1.1 1.1.3 0 .5-.1.8-.3L8.5 17H18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm.5 11c0 .3-.2.5-.5.5H7.9l-2.4 2.4V6c0-.3.2-.5.5-.5h12c.3 0 .5.2.5.5v9z" | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
/> | ||
<Path | ||
d="M15 15V15C15 13.8954 14.1046 13 13 13L11 13C9.89543 13 9 13.8954 9 15V15" | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
/> | ||
<Circle cx="12" cy="9" r="2" fillRule="evenodd" clipRule="evenodd" /> | ||
</SVG> | ||
); | ||
|
||
export default commentAuthor; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters