Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-1437

TinyMCE convert_fonts_to_spans parameter is not being picked up in Web Forms

    Details

    • Type: Service Pack Request
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 3.3.4, 3.3.5, 3.4.1
    • Fix Version/s: 3.4.5
    • Component/s: Installer
    • Labels:
      None
    • Environment:
      Windows, Tomcat, PSQL
    • Bug Priority:
      Category 2
    • ACT Numbers:

      30955

      Description

      The parameter which controls with fonts are converted to spans is not being picked up by the tinyMCE. Adding <param name="convert_fonts_to_spans">false</param> to a custom appearance in the web-client-config-custom does not seem to add this to content created by the web form.

      Steps to reproduce:

      1. Create a webproject
      2. Add the attached form (text field with <alf:appearance>testappearance</alf:appearance>)
      3. Add the custom appearance to the web-client-config-custom.xml
      4. Restart the server
      5. Navigate to web project and create content (XML works) with the new form
      6. View content:

      Expected result:
      Fonts are not converted to spans

      Actual result:
      <hb:ContentBlock><hb:Body><span style="font-size: small;">Does this convert fonts to spans?</span><br /><br /><span style="font-family: arial black,avant garde;">Need to know if fonts are converted to spans?</span><br /><br /><span style="font-family: comic sans ms,sans-serif;">FONTS AND SPANS!</span></hb:Body></hb:ContentBlock>

      Customer who reported the issue noted that changing the setting in tiny_mce_src.js (hardcoding) worked as expected. Not sure why it is not being picked up in the config. Let me know if any additional information is needed here.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs (Inactive)
                Reporter:
                stanley.arnold Stanley Arnold (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days
                  3d

                    Structure Helper Panel