Content App : get the content Id when the current content is an elementType
I have an element type called eventMultiStage which is edited in a blocklist editor - the user can select several different types in the editor, but its only the eventMultiStage that I'm interested in.
I was pleased to discover I could build a content app which only showed when editing that type of block with a manifest entry like :
"show": [
"+content/eventMultiStage"
]
So far so good. However, in my Angular controller editorState only seems to return data about the parent page, not the currently edited element type. How do I get a handle (the ID would be great) of the currently edited block/element type?
Content App : get the content Id when the current content is an elementType
I have an element type called eventMultiStage which is edited in a blocklist editor - the user can select several different types in the editor, but its only the eventMultiStage that I'm interested in.
I was pleased to discover I could build a content app which only showed when editing that type of block with a manifest entry like :
So far so good. However, in my Angular controller editorState only seems to return data about the parent page, not the currently edited element type. How do I get a handle (the ID would be great) of the currently edited block/element type?
is working on a reply...