Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: Raw content mode property renderer should be easily extendable #4987

Open
1 task done
Sebobo opened this issue Apr 11, 2024 · 0 comments
Open
1 task done
Labels

Comments

@Sebobo
Copy link
Member

Sebobo commented Apr 11, 2024

Is there an existing issue for this topic?

  • I have searched the existing issues

Description

Currently the property renderer of the raw content mode only handles inline editables and image interface instances in https://github.com/neos/neos-development-collection/blob/8.3/Neos.Neos/Resources/Private/Fusion/RawContent/NodeProperty.fusion

But one might also be able to show videos or any other kind of property or add a separate handling for integers, booleans, etc.

The current implementation is hard to extend, as no Case object was used.

A new implementation should offer planned extensibility via additional cases that can be added and we should also add renderer for common media types.

Possible Solution

We could either simply turn the current rendering into a case object in which each output type renders a definition list item, or we allow registering custom rendering only for the property value and ensure that the property name is always rendered the same way.

@Sebobo Sebobo added the Feature label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant