Improvements #11272
closedWTextEdit / TinyMCE improvements
100%
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 
WTextEditworks 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.
 
Updated by Dries Mys almost 3 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).
Updated by Mark Travis over 2 years 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.
Updated by Matthias Van Ceulebroeck over 1 year ago
See this remark: https://redmine.emweb.be/boards/1/topics/18271
Updated by Mark Travis over 1 year 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;
}
Updated by Matthias Van Ceulebroeck about 1 year ago
- Assignee set to Romain Mardulyn
 - Target version changed from future to 4.11.1
 
Updated by Romain Mardulyn about 1 year ago
- Status changed from New to InProgress
 
Updated by Romain Mardulyn about 1 year ago
- Status changed from InProgress to Review
 - Assignee deleted (
Romain Mardulyn) 
Updated by Matthias Van Ceulebroeck about 1 year ago
- Target version changed from 4.11.1 to 4.11.2
 
Updated by Matthias Van Ceulebroeck 10 months ago
- Target version changed from 4.11.2 to 4.11.3
 
Updated by Matthias Van Ceulebroeck 9 months ago
- Target version changed from 4.11.3 to 4.11.4
 
Updated by Matthias Van Ceulebroeck 7 months ago
- Target version changed from 4.11.4 to 4.12.0
 
Updated by Matthias Van Ceulebroeck 5 months ago
- Status changed from Review to Implemented @Emweb
 - Assignee set to Romain Mardulyn
 
Updated by Mark Travis 4 months ago
If someone is actively working on this, I have a request from a client to capture a keyboard signal from the host application that triggers a "submit" action. I noticed that "ctrl-enter" might be a good candidate for this.
Currently, there is no bidirectional communication between Tiny and WTextArea, and one has to implement a WPushButton or similar to trigger a "submit" action.
Updated by Matthias Van Ceulebroeck 4 months ago
- Status changed from Implemented @Emweb to Implemented @Test
 
Updated by Matthias Van Ceulebroeck 3 months ago
- Status changed from Implemented @Test to Closed