Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-8000

HTML cleaner plugin should have configurable service ID

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.26.01
    • 2.26.02
    • None
    • None

    Description

      The client-side HTML cleaning in CKEditor is configurable per field [1]. Currently, the service ID of the HTML cleaner plugin is hardcoded as "org.hippoecm.frontend.plugins.richtext.htmlcleaner.IHtmlCleanerService". As a result, there can only be one HTML cleaner service defined in the system.

      When multiple fields use different client-side HTML cleaning settings, the server-side HTML cleaning should be kept in sync (e.g. when the client-side HTML cleaner no longer allows <strong> tags, they should also be removed by the server-side HTML cleaner).

      The service ID of the HTML cleaner plugin should therefore be configurable, so there can be multiple instances that are used by different HTML fields and reflect the field-specific client-side HTML cleaning configuration.

      [1] http://www.onehippo.org/library/concepts/document-types/html-fields/html-cleaning.html

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              mdenburger Mathijs den Burger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: