Task #86395
closedRe-add wordcount functionality in CKEditor
100%
Description
Due to the move from htmlArea to CKEditor, the well-known wordcount information was gone.
Updated by Gerrit Code Review about 6 years ago
- Status changed from In Progress to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58405
Updated by Gerrit Code Review about 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58405
Updated by Gerrit Code Review about 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58405
Updated by Riccardo De Contardi about 6 years ago
Also, Marcus Schwemer wrote a sample extension: https://github.com/mschwemer/rte_ckeditor_wordcount
Updated by Josef Glatz about 6 years ago
Thanks for the info Riccardo,
as discussed with Benni, we can or better should add every missing feature to CKEditor which was former available within RTE htmlArea. As the htmlArea was completely maintained and further developed by the community, we basically have now the chance to use existing plugins, as the plugin eco system is much better then with htmlArea. From that perspective, all re-add's are somewhat "regressions" and were not taken into account during the transition for the integration of the new CKEditor to the TYPO3 core.
I use basically the same external plugin as Marcus did. We have that as default in all our products included via my TYPO3-Distribution and are very happy with it.
My patch here has some advantages like:- the wordcount plugin is added through yarn/npm. So it could be easily updated like all other yarn/npm packages.
- the included notification plugin in the mentioned ext isn't necessary and does not have to be added as a prerequisite. The background is, that the notification plugin is required by the wordcount plugin itself and get's loaded from the contrib/plugins folder, as this is a CKEditor core plugin.
Updated by Gerrit Code Review about 6 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58405
Updated by Gerrit Code Review about 6 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58405
Updated by Anonymous about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 177fc827401ec03242ae8994c063c60f1ebb5b48.