Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC-2578: Added placeholder support for context form input fields. #3549

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -238,6 +238,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
Loading