astehlik/typo3-extension-html5mediakit

View on GitHub
Configuration/TypoScript/setup.typoscript

Summary

Maintainability
Test Coverage
// Configure frontend output, non allowed tags will be rendered
// with htmlspecialchars so that the editor sees that there is something
// wrong.
// Referencing does not work here because the html view helper can not handle it.
// This is why we copy the configuration.
lib.parseFunc_RTE_tx_html5mediakit_description < lib.parseFunc_RTE
lib.parseFunc_RTE_tx_html5mediakit_description {
  allowTags = i,em,b,strong,br,p,a
  denyTags = u,img,div,center,pre,font,hr,sub,sup,li,ul,ol,blo ckquote,strike,span
}

plugin.tx_html5mediakit {
  view {
    templateRootPaths {
      0 = EXT:html5mediakit/Resources/Private/Templates/
      1 = {$plugin.tx_html5mediakit.view.templateRootPath}
    }

    partialRootPaths {
      0 = EXT:html5mediakit/Resources/Private/Partials/
      1 = {$plugin.tx_html5mediakit.view.partialRootPath}
    }

    layoutRootPaths {
      0 = EXT:html5mediakit/Resources/Private/Layouts/
      1 = {$plugin.tx_html5mediakit.view.layoutRootPath}
    }
  }
}