UNPKG

@atlaskit/editor-common

Version:

A package that contains common classes and components for editor and renderer

8 lines (7 loc) 461 B
/** * Placement determines where a menu item should be rendered within the block menu hierarchy * - 'default': Under the TRANSFORM_CREATE_MENU_SECTION (nested within the Turn into submenu) * - 'featured': Directly under TRANSFORM_MENU_SECTION as a top-level item in the Turn into submenu * - 'featured-section': Registered as its own top-level section with a separator above */ export type BlockMenuPlacement = 'default' | 'featured' | 'featured-section';