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( ... );
See the full AI configuration.
See all editor options.
Properties
-
translations : Array<AIReviewModeTranslation> | undefined
module:ai/aireviewmode/aireviewmode~AIReviewModeConfig#translations
The 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
id
andlabel
properties like on example below:ClassicEditor .create( editorElement, { ai: { reviewMode: { translations: [ { id: 'german', label: 'German' }, { id: 'french', label: 'French' } ] } } } ) .then( ... ) .catch( ... );