Project

General

Profile

Actions

Task #86395

closed

Re-add wordcount functionality in CKEditor

Added by Josef Glatz over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
Start date:
2018-09-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Due to the move from htmlArea to CKEditor, the well-known wordcount information was gone.

Actions #1

Updated by Josef Glatz over 5 years ago

  • Description updated (diff)
Actions #2

Updated by Gerrit Code Review over 5 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

Actions #3

Updated by Gerrit Code Review over 5 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

Actions #4

Updated by Gerrit Code Review over 5 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

Actions #5

Updated by Riccardo De Contardi over 5 years ago

Also, Marcus Schwemer wrote a sample extension: https://github.com/mschwemer/rte_ckeditor_wordcount

Actions #6

Updated by Josef Glatz over 5 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.
Actions #7

Updated by Gerrit Code Review over 5 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

Actions #8

Updated by Gerrit Code Review over 5 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

Actions #9

Updated by Anonymous over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #10

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF