Sign up (with export icon)

AIReviewModeConfig

Api-interface icon 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

  • Chevron-right icon

    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 and label properties like on example below:

    ClassicEditor
    	.create( editorElement, {
    		ai: {
    			reviewMode: {
    				translations: [
    					{
    						id: 'german',
    						label: 'German'
    					},
    					{
    						id: 'french',
    						label: 'French'
    					}
    				]
    			}
    		}
    	} )
    	.then( ... )
    	.catch( ... );
    
    Copy code