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:
@@ -72,7 +72,7 @@ export const builtinInlineLinkToolbarConfig = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'edit',
|
id: 'edit',
|
||||||
tooltip: 'Edit',
|
tooltip: 'Edit Description',
|
||||||
icon: EditIcon(),
|
icon: EditIcon(),
|
||||||
run(ctx) {
|
run(ctx) {
|
||||||
const target = ctx.message$.peek()?.element;
|
const target = ctx.message$.peek()?.element;
|
||||||
|
|||||||
@@ -439,7 +439,7 @@ function createExternalLinkableToolbarConfig(
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'edit',
|
id: 'edit',
|
||||||
tooltip: 'Edit',
|
tooltip: 'Edit Description',
|
||||||
icon: EditIcon(),
|
icon: EditIcon(),
|
||||||
run(ctx) {
|
run(ctx) {
|
||||||
const block = ctx.getCurrentBlockByType(klass);
|
const block = ctx.getCurrentBlockByType(klass);
|
||||||
@@ -775,7 +775,7 @@ const embedLinkedDocToolbarConfig = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'edit',
|
id: 'edit',
|
||||||
tooltip: 'Edit',
|
tooltip: 'Edit Description',
|
||||||
icon: EditIcon(),
|
icon: EditIcon(),
|
||||||
run(ctx) {
|
run(ctx) {
|
||||||
const block = ctx.getCurrentBlockByType(
|
const block = ctx.getCurrentBlockByType(
|
||||||
@@ -900,7 +900,7 @@ const inlineReferenceToolbarConfig = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'edit',
|
id: 'edit',
|
||||||
tooltip: 'Edit',
|
tooltip: 'Edit Description',
|
||||||
icon: EditIcon(),
|
icon: EditIcon(),
|
||||||
run(ctx) {
|
run(ctx) {
|
||||||
const target = ctx.message$.peek()?.element;
|
const target = ctx.message$.peek()?.element;
|
||||||
|
|||||||
Reference in New Issue
Block a user