Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-5213

Improve the way the WYSIWYG editor can be customized from velocity

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.2.6
    • Fix Version/s: 2.4 M1
    • Component/s: WYSIWYG Editor
    • Labels:
      None
    • Difficulty:
      Easy
    • Similar issues:

      Description

      Currently, #wysiwyg_storeConfig velocity macro (from macros.vm) generates the JavaScript object that is used to configure the WYSIWYG editor. It would be great if the #wysiwyg_storeConfig macro would accept a map of configurations parameters. This way we could write:

      #wysiwyg_editProperty($doc $fieldId $parameters)
      

      being thus able to customize each editor instance.

        Attachments

          Activity

            People

            Assignee:
            mflorea Marius Dumitru Florea
            Reporter:
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: