AIReviewModeConfig
interface
The configuration of the AI Review Mode feature.
The properties defined in this config are set in the config.ai.reviewMode namespace.
ClassicEditor
.create( editorElement, {
ai: {
reviewMode: {
// AI Review Mode configuration.
}
}
} )
.then( ... )
.catch( ... );
Copy code
See the full AI configuration.
See all editor options.
Properties
-
translations : Array<AIReviewModeTranslation> | undefinedmodule:ai/aireviewmode/aireviewmode~AIReviewModeConfig#translationsThe integrator can provide a custom list of translations for the "Translate" check in the AI Review Mode feature.
The list must be an array of objects containing the
idandlabelproperties like on example below:ClassicEditor .create( editorElement, { ai: { reviewMode: { translations: [ { id: 'german', label: 'German' }, { id: 'french', label: 'French' } ] } } } ) .then( ... ) .catch( ... );Copy code