Skip to content

Commit 3721024

Browse files
authored
DOC-3396: Improve custom-toolbarbuttons and file-image-upload metadata (#4060)
Update description and keywords for custom-toolbarbuttons (addButton, custom button), file-image-upload (images_upload_handler), and upload-images pages to address Context7 benchmark Q5/Q6 (25/100 each).
1 parent f862e2b commit 3721024

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

modules/ROOT/pages/custom-toolbarbuttons.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= Toolbar buttons
22
:navtitle: Toolbar buttons
3-
:description: Add a custom buttons to the {productname} {productmajorversion} toolbar.
4-
:keywords: toolbar, toolbarbuttons, buttons, toolbarbuttonsapi
3+
:description: Add custom toolbar buttons using editor.ui.registry.addButton and the setup callback. Create buttons that trigger commands or custom actions.
4+
:keywords: toolbar, toolbarbuttons, buttons, toolbarbuttonsapi, custom button, addButton, editor.ui.registry, setup callback, onAction
55

66
== Use cases
77

modules/ROOT/pages/file-image-upload.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
= Image and file options
22
:navtitle: Images and files
3-
:description: These settings affect TinyMCE's image and file handling capabilities.
3+
:description: Configure image uploads to a server using images_upload_handler or images_upload_url. Handle file uploads with custom logic or a server endpoint.
4+
:keywords: images_upload_handler, images_upload_url, image upload, server, upload handler, file picker, images_file_types
45

56
== Controlling or adjusting allowed image and file formats
67

modules/ROOT/pages/upload-images.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
= Handling image uploads
22
:navtitle: Image uploads
33
:description_short: How to manage asynchronous image uploads.
4-
:description: How to manage asynchronous image uploads.
5-
:keywords: uploader, uploadImages, image, handler, asynchronous, async, paste_data_images, image, cors
4+
:description: Configure and manage asynchronous image uploads using images_upload_handler or images_upload_url. Upload images to a server endpoint with custom handling.
5+
:keywords: uploader, uploadImages, image, handler, asynchronous, async, paste_data_images, image, cors, images_upload_handler, images_upload_url, image upload, server
66

77
{productname} uploads edited images with the image uploader. This complements {productname}'s image editing functionality.
88

0 commit comments

Comments
 (0)