This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Currently it's not possible to have draft-js *not* emit an `aria-describedby` attribute. This diff allows the developer to remove it. This attribute points to the generated DOM id of the placeholder. Currently even if no placeholder was specified **[minor bug]**. I will need this in order to complete T67720986. It will also resolve this [GitHub issue](#1739). Fixing the GitHub issue meant that I needed a way to have the generated placeholder ID as well as a second specified one. The special token "{{PLACEHOLDER}}" can be used inside the prop to be replaced with that generated ID. Fixes #1739 Reviewed By: claudiopro Differential Revision: D21808668 fbshipit-source-id: c27fe0fa8237518f1e2b6830cc8a3e13b3a9d8c7
- Loading branch information
1 parent
1dc7863
commit 8b8b9c0
Showing
4 changed files
with
118 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters