[JIRA] (MGNLCKEDIT-28) selected option of config.format_tags does not show several words

5 views
Skip to first unread message

JIRA (on behalf of Sergio Marino)

unread,
Dec 5, 2022, 2:35:35 AM12/5/22
to dev-...@magnolia-cms.com
Sergio Marino created an issue
 
CKEditor Integration (closed) / Improvement MGNLCKEDIT-28
selected option of config.format_tags does not show several words
Issue Type: Improvement Improvement
Assignee: Jaroslav Simak
Attachments: custom-config.js, image-2022-12-05-08-32-11-601.png, pepe.zip
Created: 05/Dec/22 8:33 AM
Priority: Neutral Neutral
Reporter: Sergio Marino

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?
From Resources FIles App go to ckeditor folder and create the attached file, custom-config.js. Later create a component that uses that configuration:

    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:

_thumb_103878.png

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v9.0.0#900003-sha1:3a66c72)
If image attachments aren't displayed, see this article.
Atlassian logo
Reply all
Reply to author
Forward
0 new messages