tridion-sites-extensions-api-docs

Home > @tridion-sites/extensions > ContentEditorViewHookResult > priority

ContentEditorViewHookResult.priority property

Priority value of the custom editor in the list of candidates for rendering. Extension with a higher priority will be displayed instead of an extension with lower priority. Helps to resolve collapsing cases when useIsAvailable returns true for two or more extensions for a single editor at the same time.

Signature:

priority?: number;