{hero}

displayNode()

Since: Editor 1.5

Get the host node for the display controller.
Please note - this property requires the Editor extension for DataTables.

The full Editor reference documentation is available to registered users of Editor - the information shown below is a summary only. If you already have an Editor license please , alternatively an Editor license can be purchased on this site, or sign up for the free trial.

Description

Editor's ability to display its editing form using different display controllers (display) can be very useful to have the style of Editor fit seamlessly into your site. However, you may also wish to gather information from the display controller that is being used by Editor - adding styling information or other options for example.

This method provides the ability to access the node that the display controller uses for the form's display. Typically this will be a modal element, but it depends upon the display controller being used.

The node returned by the display controllers included in the Editor package are: