Project

General

Profile

Actions

Improvements #11249

open

Improvements #11272: WTextEdit / TinyMCE improvements

Support Wt::WTextEdit::setPlaceholderText

Added by Dries Mys over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
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.

Actions #1

Updated by Roel Standaert over 1 year ago

  • Target version set to future
  • Parent task set to #11272
Actions #2

Updated by Dries Mys over 1 year 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

Also available in: Atom PDF