heading/utils
module
Functions
getLocalizedOptions( editor ) → Array<HeadingOption>internalmodule:heading/utils~getLocalizedOptionsReturns heading options as defined in
config.heading.optionsbut processed to consider the editor localization, i.e. to displayHeadingOptionin the correct language.Note: The reason behind this method is that there is no way to use
twhen the user configuration is defined because the editor does not exist yet.Parameters
editor : Editor
Returns
Array<HeadingOption>