Skip to content

Commit

Permalink
feat: add font size options to RTE
Browse files Browse the repository at this point in the history
REHLTYEXT-60
  • Loading branch information
dvdmlln committed May 21, 2024
1 parent e8667fa commit 32ea571
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Configuration/RTE/Default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ imports:
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml' }
- { resource: 'EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml' }
- { resource: 'EXT:rmnd_headless/Configuration/RTE/Editor/Alignment.yaml' }
- { resource: 'EXT:rmnd_headless/Configuration/RTE/Editor/FontSize.yaml' }
- { resource: 'EXT:rmnd_headless/Configuration/RTE/Editor/Heading.yaml' }
- { resource: 'EXT:rmnd_headless/Configuration/RTE/Editor/Table.yaml' }

Expand All @@ -12,6 +13,7 @@ editor:
items:
- heading
- '|'
- fontSize
- bold
- italic
- subscript
Expand Down
11 changes: 11 additions & 0 deletions Configuration/RTE/Editor/FontSize.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
editor:
config:
fontSize:
options:
- "default"
- "tiny"
- "small"
- "big"
- "huge"
importModules:
- { "module": "@ckeditor/ckeditor5-font", "exports": ["Font"] }

0 comments on commit 32ea571

Please sign in to comment.