Project

General

Profile

Actions

Improvements #11272

open

WTextEdit / TinyMCE improvements

Added by Roel Standaert 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:
(Total: 0:00 h)

Description

There have been some requests for improvements to TinyMCE (#11249 and #11267), so I'm creating this overarching issue to take a closer look at WTextEdit to see if it can be modernized a bit.

This could include:

  • Verifying that WTextEdit works properly with all versions of TinyMCE >= 3? We know that 3 and 4 work, but I'm not 100% sure about the state of 5 and 6 support.
  • Bundle TinyMCE 6 (MIT License) with Windows releases and JWt? JWt currently bundles 3 and 4, and Windows releases include TinyMCE 3.
  • Breaking change: change the default TinyMCE version to 6? Alternatively, can we detect which version is being used?
  • Have the deployed widget gallery (https://www.webtoolkit.eu/widgets/forms/line_text-editor and http://jwt.emweb.be/jwt-gallery/gallery/forms/line_text-editor) use TinyMCE 6
  • Issue #11249: Support Wt::WTextEdit::setPlaceholderText
  • Issue #11267: Support changing readonly state after editor is rendered.

Subtasks 2 (2 open0 closed)

Improvements #11249: Support Wt::WTextEdit::setPlaceholderTextReview01/16/2023

Actions
Improvements #11267: Support changing readonly state after editor is rendered.Review01/19/2023

Actions
Actions #1

Updated by Dries Mys almost 2 years ago

TinyMCE 5 seems to work properly.

+1 for switching to a new version by default. TinyMCE 3 and 4 our both End of Support (see https://www.tiny.cloud/docs/enterprise/system-requirements/#supportedtinymceversions).

Actions #2

Updated by Mark Travis over 1 year ago

TinyMCE 6 also appears to be working. At least for me. But I don't think I can address all of the functionality or configurability, which would be nice.

Actions #4

Updated by Mark Travis 5 months ago

I had to update my css file to include the following to get TinyMCE 6 menus to work.

I don't know if 4000 was the right value, but it worked for me.

.tox.tox-tinymce-aux {
  z-index: 4000;
}
Actions #5

Updated by Matthias Van Ceulebroeck 3 months ago

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

Updated by Romain Mardulyn 3 months ago

  • Status changed from New 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