Project

General

Profile

Actions

Improvements #11249

open

Improvements #11272: WTextEdit / TinyMCE improvements

Support Wt::WTextEdit::setPlaceholderText

Added by Dries Mys almost 2 years ago. Updated about 1 month ago.

Status:
Review
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 almost 2 years ago

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

Updated by Dries Mys almost 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 #3

Updated by Matthias Van Ceulebroeck 3 months ago

  • Assignee set to Romain Mardulyn
  • Target version changed from future to 4.11.1
Actions #4

Updated by Romain Mardulyn 3 months ago

  • Status changed from New to InProgress
Actions #5

Updated by Romain Mardulyn 3 months ago

  • Status changed from InProgress to Review
Actions #6

Updated by Romain Mardulyn 3 months ago

  • Status changed from Review to InProgress
Actions #7

Updated by Romain Mardulyn 3 months ago

  • Status changed from InProgress to Review
  • Assignee deleted (Romain Mardulyn)
Actions #8

Updated by Matthias Van Ceulebroeck about 1 month ago

  • Target version changed from 4.11.1 to 4.11.2
Actions

Also available in: Atom PDF