Improvements #11272
openWTextEdit / TinyMCE improvements
0%
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.
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).
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.
Updated by Matthias Van Ceulebroeck 5 months ago
See this remark: https://redmine.emweb.be/boards/1/topics/18271
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;
}
Updated by Matthias Van Ceulebroeck 3 months ago
- Assignee set to Romain Mardulyn
- Target version changed from future to 4.11.1
Updated by Romain Mardulyn 3 months ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
Updated by Matthias Van Ceulebroeck about 1 month ago
- Target version changed from 4.11.1 to 4.11.2