Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Add font plugin to CKEditor5
Add the configuration to the "Full" RTE preset, and also include some modules that missed in Full preset since #102099. npm install --save @ckeditor/ckeditor5-font@41.1.0 npm run build Resolves: #100847 Releases: main, 12.4 Change-Id: Iaa56d48e043397aefb902b6c9a5afbfcc453ae74 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79006 Tested-by: core-ci <typo3@b13.com> Reviewed-by: Torben Hansen <derhansen@gmail.com> Tested-by: David Bruchmann <david.bruchmann@gmail.com> Reviewed-by: Benjamin Franzke <ben@bnf.dev> Reviewed-by: Benni Mack <benni@typo3.org> Tested-by: Guido Schmechel <guido.schmechel@brandung.de> Reviewed-by: David Bruchmann <david.bruchmann@gmail.com> Tested-by: Benni Mack <benni@typo3.org> Tested-by: Benjamin Franzke <ben@bnf.dev> Tested-by: Torben Hansen <derhansen@gmail.com> Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de>
- Loading branch information
Showing
67 changed files
with
272 additions
and
62 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
.../Documentation/Changelog/12.4.x/Important-100847-AddedFontPluginToCKEditor5.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
.. include:: /Includes.rst.txt | ||
|
||
.. _important-100847-1686218342: | ||
|
||
=================================================== | ||
Important: #100847 - Added font plugin to CKEditor5 | ||
=================================================== | ||
|
||
See :issue:`100847` | ||
|
||
Description | ||
=========== | ||
|
||
The font plugin has been added to the CKEditor5. | ||
In order to use the font plugin, the RTE configuration needs to be adapted: | ||
|
||
.. code-block:: yaml | ||
editor: | ||
config: | ||
toolbar: | ||
items: | ||
# add button to select font family | ||
- fontFamily | ||
# add button to select font size | ||
- fontSize | ||
# add button to select font color | ||
- fontColor | ||
# add button to select font background color | ||
- fontBackgroundColor | ||
fontColor: | ||
colors: | ||
- { label: 'Orange', color: '#ff8700' } | ||
- { label: 'Blue', color: '#0080c9' } | ||
- { label: 'Green', color: '#209d44' } | ||
fontBackgroundColor: | ||
colors: | ||
- { label: 'Stage orange light', color: '#fab85c' } | ||
fontFamily: | ||
options: | ||
- 'default' | ||
- 'Arial, sans-serif' | ||
fontSize: | ||
options: | ||
- 'default' | ||
- 18 | ||
- 21 | ||
importModules: | ||
- { 'module': '@ckeditor/ckeditor5-font', 'exports': ['Font'] } | ||
More information can be found in the official documentation_. | ||
|
||
|
||
.. _documentation: https://ckeditor.com/docs/ckeditor5/latest/features/font.html | ||
|
||
.. index:: RTE, ext:rte_ckeditor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.