@editorjs/editorjs
Version:
Editor.js — open source block-style WYSIWYG editor with JSON output
17 lines (14 loc) • 300 B
TypeScript
/**
* Available options of i18n config property
*/
import { I18nDictionary } from './i18n-dictionary';
export interface I18nConfig {
/**
* Dictionary used for translation
*/
messages?: I18nDictionary;
/**
* Text direction. If not set, uses ltr
*/
direction?: 'ltr' | 'rtl';
}