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

Interaction with Neos Backend is not possible without filtering for the NodeType #1990

Open
mgoldbeck opened this issue Jul 9, 2018 · 2 comments

Comments

@mgoldbeck
Copy link
Contributor

Description

In the documentation https://neos.readthedocs.io/en/4.0/ExtendingNeos/InteractionWithTheNeosBackend.html?highlight=Neos.NodeCreated#javascript-events is the interaction with the Neos Backend described.

Essentially for this is to know which kind of NodeType is handled in the event. In the old ui the whole node was added to the node wrap in the backend

Expected behavior

I know there was a decision which I think is absolut right to NOT render the whole node into the wrapping div. But for interacting with the backend and to handle javascript based contentelements like sliders or tabelements it is necessary to have the information about which NodeType is handled in the fired event. Otherwise it would be necessary to add the NodeType information to the class or something else in the NodeType definition itself.

Actual behavior

node_wrap

Affected Versions

Neos: 4.0.5

UI: 1.2.2

@kitsunet
Copy link
Member

kitsunet commented Jul 9, 2018

The events documented here exist mostly for backwards-compatibility reasons

IMHO I would call that deprecated. Using the React UI extension mechanisms should give you all the info?

@mgoldbeck
Copy link
Contributor Author

As the PR will not be merged the documentation should be updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants