-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#3081: Make placeholder configurable for mandatory elements
This makes sure that when specifying a default template for a richTextEditor type of field, we can also define a placeholder for the html elements having the class mandatory. This placeholder is being used to prefill the element if this one becomes empty. Both the class attribute and the placeholder attribute of an HTML tag of type h1, h2, h3 or p are being persisted in the database. This in order to be able to still know the mandatory elements and their eventual placeholders when editing an object with rich text content.
- Loading branch information
1 parent
ca227c1
commit ef440b6
Showing
4 changed files
with
73 additions
and
52 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