Actions
Improvements #11249
openImprovements #11272: WTextEdit / TinyMCE improvements
Support Wt::WTextEdit::setPlaceholderText
Start date:
01/16/2023
Due date:
% Done:
0%
Estimated time:
Description
Supporting placeholders should be quite easy: just call the base implementation.
The textarea placeholder is supported from TinyMCE 5.2:
If the editor is initialized on a textarea element, the placeholder attribute can be used instead.
see:
Not sure if we still need to support TinyMCE 4, one possibility is to only throw the error when TinyMCE 4 is used.
Updated by Dries Mys about 2 years ago
Note that the proposed solution only works for setting the placeholder on first render, but TinyMCE does not seem to have an official method to change the placeholder after creation.
Actions