Uploaded image for project: 'CKEditor Integration (closed)'
  1. CKEditor Integration (closed)
  2. MGNLCKEDIT-28

selected option of config.format_tags does not show several words

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Declined
    • Neutral
    • None
    • None
    • None

    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?
      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:

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              jsimak Jaroslav Simak
              smarino Sergio Marino
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: