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

Allow XinhaNodePlugin to load the HTMLCleanerService using a frontend.services property

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.24.11
    • 2.24.12
    • None

    Description

      It should be possible to have multiple HtmlCleaner configurations for multiple Xinha types. Currently the XinhaNodePlugin loads the IHtmlCleanerService using

      model.setCleaner(getPluginContext().getService(IHtmlCleanerService.class.getName(), IHtmlCleanerService.class));

      which should be something like

      model.setCleaner(getPluginContext().getService(getPluginConfig("cleaner.service", IHtmlCleanerService.SERVICE_ID), IHtmlCleanerService.class));

      Attachments

        Issue Links

          Activity

            People

              jsheriff Junaidh Kadhar Sheriff
              abogaart Arthur Bogaart
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: