/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * @module minimap/minimapconfig */ /** * The configuration of the {@link module:minimap/minimap~Minimap} feature. * * ```ts * ClassicEditor * .create( { * minimap: ... // Minimap feature config. * } ) * .then( ... ) * .catch( ... ); * ``` * * See {@link module:core/editor/editorconfig~EditorConfig all editor options}. */ export interface MinimapConfig { /** * The DOM element container for the minimap. * * **Note**: The container must have a fixed `width` and `overflow: hidden` for the minimap to work correctly. */ container: HTMLElement; /** * When set to `true`, the minimap will render content as simple boxes instead of replicating the look of the content (default). */ useSimplePreview?: boolean; /** * Extra CSS class (or classes) that will be set internally on the `
` element of the `