Closed typecat closed 4 years ago
I would postpone the usage of DataProcessors to a different milestone.
Notes:
We can add DataProcessors actually to a content block by adding them in a sitepackage or any extension, which depends on the registration API and the content block. We think this should work.
"The CType inherits from lib.contentElement" -> it does, but we actually didn't manage, that fluid styled content is loaded before the registration API. We could,, if we set fluid styled content as required, but after that content blocks aren't no more independent. I think this is not acceptable.
We currently load lib.contentElement via @import
in our ext_localconf.php.
In order to be able to provide a fallback for the Layout, we needed to use -5
as key in layoutRootPaths. (this seems to work but we are unsure if that is official API)
This would work with:
We added a new example content block fluid-styled-content-example-local
to showcase using
Mask: https://docs.typo3.org/p/mask/mask/6.2/en-us/Installation/Index.html?highlight=fluid_styled_content https://docs.typo3.org/p/mask/mask/6.2/en-us/Pagetemplates/Index.html?highlight=fluid_styled_content
Technical Story
Generate TypoScript config out of the EditorInterface.yaml of the Content Block package.
Acceptance criteria
lib.contentElement
Frontend.html
EditorPreview.html
of the Content Block package