[MGNLCKEDIT-28] selected option of config.format_tags does not show several words Created: 05/Dec/22 Updated: 21/Dec/22 Resolved: 21/Dec/22 |
|
| Status: | Closed |
| Project: | CKEditor Integration (closed) |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Sergio Marino | Assignee: | Jaroslav Simak |
| Resolution: | Declined | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Acceptance criteria: |
Empty
|
| Description |
|
It would be nice if ckeditor would be able to customize the content of the selected dropdown button, I mean that the "config.format_tags" is able to handle values of several words separated by a whitespace once an option is selected. How to reproduce?
richText:
label: Text editor
$type: richTextField
height: 500
tables: true
source: true
configJsFile: /.resources/ckeditor/custom-config.js
You can use the attached light-module. Try to create a page of type "Pepe" and the third field, which is a rich-text, will use the custom-config configuration. What we want to achive from this line,
config.format_Parrafo_grande = { name: 'Parrafo grande', element: 'p', attributes: { 'class': 'big' } };
is that the name of the selected option of the dropdown and the hover is "Parrafo grande" but instead it keeps showing "Parrafo_grande". This is what it is currently going on: |