Skip to content

Commit

Permalink
DOC-2578: Added placeholder support for context form input fields. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kemister85 authored Dec 10, 2024
1 parent 50e87a4 commit 1e2665b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions modules/ROOT/pages/7.6.0-release-notes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,24 @@ For more information on the `+disabled+` option, see xref:editor-important-optio

// CCFR here.

=== Added placeholder support for context form input fields
// #TINY-11459

A new `placeholder` option has been introduced to the context form API, addressing the need for inline guidance within input fields. This feature enables developers to specify placeholder text that appears inside input fields until the field is focused or a value is entered. By providing contextual hints, this enhancement improves usability and enhances the user experience.

.Example: Using a placeholder in a context form input field
[source,js]
----
editor.ui.registry.addContextForm('upload-url', {
launch: {
type: 'contextformtogglebutton',
icon: 'link',
tooltip: 'Upload from URL'
},
placeholder: 'Enter URL here...', ....
});
----


[[changes]]
== Changes
Expand Down

0 comments on commit 1e2665b

Please sign in to comment.