mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 23:07:02 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user