Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-7266

Config variables are not applied to TinyMCE configuration

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.2
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      HTML/QuickForm/tinymce.php implements a function SetConfig() to set config variables for TinyMCE.
      Unfortunately these variables are never applied to the configuration.
      The attached patch file fixes this problem.
      I wrote a drupal module to integrate IMCE with TinyMCE (and CKeditor), but without the ability to set config variables for TinyMCE it would not work.
      This patch makes it also easy to write a drupal module to customize TinyMCE for some or all forms. Like setting absolute urls for some forms (e.g. Newsletters, Mailings,...) and leave them relative for others.

        Attachments

          Activity

            People

            • Assignee:
              neha.saraph Neha Kulkarni
              Reporter:
              thomas.feichter Thomas Feichter
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: