Title: Comment Edit Link block
Author: Femy Praseeth
Published: August 17, 2022
Last modified: June 6, 2024

---

# Comment Edit Link block

## In this article

 * [Block toolbar](https://wordpress.org/documentation/article/comment-edit-link-block/?output_format=md#block-toolbar)
 * [Block settings](https://wordpress.org/documentation/article/comment-edit-link-block/?output_format=md#block-settings)
    - [Link](https://wordpress.org/documentation/article/comment-edit-link-block/?output_format=md#link)
    - [Color](https://wordpress.org/documentation/article/comment-edit-link-block/?output_format=md#color)
    - [Typography](https://wordpress.org/documentation/article/comment-edit-link-block/?output_format=md#typography)
 * [Changelog](https://wordpress.org/documentation/article/comment-edit-link-block/?output_format=md#changelog)

[ Back to top](https://wordpress.org/documentation/article/comment-edit-link-block/?output_format=md#wp--skip-link--target)

[Go back to the list of **Blocks**](https://wordpress.org/documentation/article/blocks/)

The _Comment Edit Link_ block_ _displays a link to edit the comment in the WordPress
Dashboard. This block is located inside a Comment Query Loop block and lets you 
customize the appearance of the _Edit_ link. The Edit link is only visible to users
who have permission to edit the comments.

![Comment Edit Link Block](https://lh4.googleusercontent.com/Etn_Cdnm_ZqltESNqnhwzEgs2ciR4963Z2Z_mGsAMJ3gBIgHziRpaFGz50hp1YND2012SWa2esensjMgu8WbmHfi-
DQUo1h7zEjIFmV9ueOirM_xYaXZU-wS1rbILCyaD4KNky87uTo42U7hxhYlAvM)

You can only insert the _Comment Edit Link _block inside a Comment Template block
within the Comment Query Loop block. 

Click the (+) icon inside the comment template block to open the block inserter 
pop-up window and search for the _Comment Edit Link_ block.

You can also use the keyboard shortcut /comment-edit-link to quickly insert a _Comment
Edit Link _block inside a Comment Template block.

![How to quickly add Comment Edit Link Block](https://lh4.googleusercontent.com/
9i0Qm7O0PH2pmIspNc1-riYInA2dIYY2FXUX-g3lzahToaO58fkcbg4Q-7RTvYJrd_GpEDuRYW4aaHr-
8oThNBRYPiQa4RU0JjPPJVbpvHtuZjMFiEJEi949XcJ-lvsjW3Jr6IknbY7Ayew6bkmq8H4)

[Detailed instructions on adding blocks](https://wordpress.org/documentation/article/adding-a-new-block/)

## 󠀁[Block toolbar](https://wordpress.org/documentation/article/comment-edit-link-block/?output_format=md#block-toolbar)󠁿

![Block toolbar in the Comment Edit Link Block](https://lh6.googleusercontent.com/
JiTw2U4ihM-oYWUCzSmRGAnXORmMeJrJPOoAQigl-AIyKRAXZgZFq7WbW9IcdFn7-8BaYo4aQ_7poTIhBT6vuThuHbkJjKZU_MivwTdp70roKQeaHYfGmkf1sn7mXn_tHhm-
90YKyPbJsd0qSWj_Xes)

The block toolbar contains the tools to customize each block. The _Comment Edit 
Link_ block’s toolbar consists of the following tools:

**Transform to**

You can transform a _Comment Edit Link_ block into a Columns block, or a Group block.

![Transform tool in the Comment Edit Link Block](https://lh5.googleusercontent.com/
_S0k29y0Jml0J0lbegtBGx1O592x8hz4zviRDnip27li6j3ZwLfPZSFPPUmevdME8FPA4iHnsr9M1VOYRJltB1TKvPyNhXJR0dOQntUkB7HHroYTKllUV_XL3BbSs2xXS5ejfnkm3jafqGXph7AtTI4)

**Block-moving tools**

![Block moving tool in the Comment Edit Link Block](https://lh6.googleusercontent.
com/2INT3sQI5ucaBnGfcka60CaNHv_9E_XB83tSE8QOgI0rNpuh1evCA_o5f9Ys2_zWso4O8mxH7bxoHOxZ68wbq3QIO1XE1AXKlcqrhGIRbsfTNUvGWHAem8APjeTSg5OrKD5Xum7qETw7o4-
zTY-lrdM)

[Get more information about moving a block within the editor.](https://wordpress.org/documentation/article/moving-blocks/)

Use the block-moving tools to move the block up and down inside the editor. Use 
the six dots icon to drag and drop the _Comment Edit Link_ block and reposition 
it anywhere on the editor. Alternatively, click on the up and down arrows to move
the block up or down the editor.

**Change text alignment**

![Change test alignment in the Comment Edit Link Block](https://lh5.googleusercontent.
com/vU6R-1ERLgGvB6ge4VWxviFFxUTNz5z2STAVfNU4WreWxLTg1Shvoqwr8t8NkBcv-ksDTgNJLOoHpYV9SDpzN2bEPGY9RKm23gC6v1JNJh7uhW43YnOpna3PWo1bIpcgeliG8nTIJfZCJwKz6bH0Jqw)

Text alignment options let you align the Edit button towards the left, center, or
right.

**More options**

The [More Options menu](https://wordpress.org/documentation/article/more-options)
represented by **three vertical dots on the far right of the toolbar** gives you
more features such as the ability to duplicate, remove, or edit your block as HTML.

[[[Read about these and other settings.](https://wordpress.org/documentation/article/more-options/)

## 󠀁[Block settings](https://wordpress.org/documentation/article/comment-edit-link-block/?output_format=md#block-settings)󠁿

The block settings panel contains customization options specific to the block. To
open it, select the block and click the cog icon next to the Publish button.

![The cog icon in the Comment Edit Link Block to show the Block settings](https://
lh4.googleusercontent.com/sSMTBA3_o6Epdt04MxDbEhH6GGCry5XMczTjrk2d9c6_SS1YTfC6koOgjIrrRCWI4iFMVHeJcfFOo5FZNAECdYqu-
WEQBLwr2Fmv8XM9eWQx1p9YokxXhpaZ-M_PLqvut4NIRiUBemVmyvbkn1S9wWk)

Here are the options for the _Comment Edit Link_ block:

### 󠀁[Link](https://wordpress.org/documentation/article/comment-edit-link-block/?output_format=md#link)󠁿

![Link settings in the Comment Edit Link Block](https://lh5.googleusercontent.com/
GB8DUreZ0U2QeMREMvH5Ie35YD8p-Pbfiscm1WsSum-lNd2do0PSS8tqgtgrt3bx1tgl9QOUwtsVMQ9TRC6UfHLf4Gqi1dOwnlSjnRoPpTwQ9mvDVsYphVxhlODyYk29rZ8Gd-
jYzqwmPI7y8Mifi_c)

In the Link Settings section, you can enable the _open in new tab_ option, and if
enabled, will open the link editing page in a new tab. 

### 󠀁[Color](https://wordpress.org/documentation/article/comment-edit-link-block/?output_format=md#color)󠁿

The Comment Edit Link block lets you customize the background and link color. 

Click on any of the options to change the color. Choose from the default color or
click the upper rectangle area to pick a custom color using the color picker.

![Color settings in the Comment Edit Link Block](https://lh5.googleusercontent.com/
GtRXsjbMRTO6BdBGAYKtqsbJgLkAbODDg_H3eb4gYti7xUADJo-5QNE2eyMuZEH3tOtv8haERkT7C-r0HKFtOQ2IuoOjq2QMuk-
lNozU6CT5z-NaVqRFD_FdDhIqxd3mTKSoQF7fcfVU5dF4fa5Mo5o)

[[[[[See this guide for more information about changing colors.](https://wordpress.org/documentation/article/colors-settings-overview/)

### 󠀁[Typography](https://wordpress.org/documentation/article/comment-edit-link-block/?output_format=md#typography)󠁿

Typography settings allow you to change a block’s font size, appearance, line height,
letter casing, and spacing.

![Typography settings in the Comment Edit Link Block](https://lh5.googleusercontent.
com/4CtOEYvzro1vUIM76cwJ4HrVVbso67QPopgXC1pmfcWy3FLOI8jOHufiY_0QHzOvBFh_0CTSe7MRmXwdYo9Jwrr6l5uonKsbLVIlFHVq6_VI3golex0N7vIzUrnW1pXCWVM9CsAdzaC3gfSF2h5Udcw)

[[[[[Get more details about changing typography settings.](https://wordpress.org/documentation/article/typography-settings-overview/)

**Advanced settings**

The “Advanced” tab lets you add CSS class(es) to your block. This will allow you
to write custom CSS and styles to the block.

![Advance settings in the Comment Edit Link Block](https://lh4.googleusercontent.
com/Jr-mF6xUU5zInmiQUD9AbqdU21aZK5xSbxLbw72MlqkHhYZxs8MR54v_ihX9q6mWDXBC1uBEybi7CvOUWI0DdmLDqfNE0vaMVQVpeyGdrk1rf-
knIf7i3G4hb2Ov_X7TWQ70rksIoncXm6y5dFL4vE8)

## 󠀁[Changelog](https://wordpress.org/documentation/article/comment-edit-link-block/?output_format=md#changelog)󠁿

 * Created 2022-08-17

## Was this article helpful? How could it be improved? 󠀁[Cancel reply](https://wordpress.org/documentation/article/comment-edit-link-block/?output_format=md#respond)󠁿

[Log in to submit feedback](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fdocumentation%2Farticle%2Fcomment-edit-link-block%2F&locale=en_US).
If you need support with something that wasn't covered by this article, please post
your question in the [support forums](https://wordpress.org/support/forums/).

First published

August 17, 2022

Last updated

June 6, 2024