Module

utils/language

@ckeditor/ckeditor5-utils/src/language

module

Filtering

Functions

  • getLanguageDirection( language ) → 'ltr' | 'rtl'

    Helps determine whether a language text direction is LTR or RTL.

    Parameters

    language : String

    The ISO 639-1 or ISO 639-2 language code.

    Returns

    'ltr' | 'rtl'