fix: inline doc toolbar tooltip (#14169)

fix #14001

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Style**
* Updated tooltip text from "Edit" to "Edit Description" in link and
toolbar configurations to provide clearer guidance on the edit action's
purpose across the application.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
DarkSky
2025-12-28 02:37:02 +08:00
committed by GitHub
parent 6514614df8
commit 1b532d5c6c
2 changed files with 4 additions and 4 deletions

View File

@@ -439,7 +439,7 @@ function createExternalLinkableToolbarConfig(
},
{
id: 'edit',
tooltip: 'Edit',
tooltip: 'Edit Description',
icon: EditIcon(),
run(ctx) {
const block = ctx.getCurrentBlockByType(klass);
@@ -775,7 +775,7 @@ const embedLinkedDocToolbarConfig = {
},
{
id: 'edit',
tooltip: 'Edit',
tooltip: 'Edit Description',
icon: EditIcon(),
run(ctx) {
const block = ctx.getCurrentBlockByType(
@@ -900,7 +900,7 @@ const inlineReferenceToolbarConfig = {
},
{
id: 'edit',
tooltip: 'Edit',
tooltip: 'Edit Description',
icon: EditIcon(),
run(ctx) {
const target = ctx.message$.peek()?.element;