Interface

BookmarkConfig (bookmark)

@ckeditor/ckeditor5-bookmark/src/bookmarkconfig

interface

The configuration of the bookmark feature.

The properties defined in this config are set in the config.bookmark namespace.

ClassicEditor
	.create( editorElement, {
		bookmark: {
			// Bookmark configuration.
		}
	} )
	.then( ... )
	.catch( ... );

See all editor options.

Filtering

Properties

  • enableNonEmptyAnchorConversion : boolean | undefined

    Allows to convert into bookmarks non-empty anchor elements.

    With this option enabled you will have all non-empty anchors converted into bookmakrs. For example:

    <a id="bookmark">Bookmark</a>
    

    will be converted into:

    <a id="bookmark"></a>Bookmark
    

    Note: This is enabled by default.

    Defaults to true