diff --git a/packages/ckeditor5-bookmark/docs/_snippets/features/bookmark.js b/packages/ckeditor5-bookmark/docs/_snippets/features/bookmark.js index cf6a508fd16..8b1bd507b52 100644 --- a/packages/ckeditor5-bookmark/docs/_snippets/features/bookmark.js +++ b/packages/ckeditor5-bookmark/docs/_snippets/features/bookmark.js @@ -51,7 +51,8 @@ ClassicEditor allowExternalImagesEditing: [ /^data:/, 'origin', /ckbox/ ], forceDemoLabel: true }, - cloudServices: CS_CONFIG + cloudServices: CS_CONFIG, + licenseKey: 'GPL' } ) .then( editor => { window.editorBasic = editor; diff --git a/packages/ckeditor5-bookmark/docs/features/bookmarks.md b/packages/ckeditor5-bookmark/docs/features/bookmarks.md index 4c2740e5ebe..83a815b91ad 100644 --- a/packages/ckeditor5-bookmark/docs/features/bookmarks.md +++ b/packages/ckeditor5-bookmark/docs/features/bookmarks.md @@ -73,9 +73,11 @@ will be converted into a bookmark and the output will look like on the example b You can disable the automatic conversion by setting the {@link module:bookmark/bookmarkconfig~BookmarkConfig#enableNonEmptyAnchorConversion `config.bookmark.enableNonEmptyAnchorConversion`} to `false` in the editor configuration. + ```js ClassicEditor .create( document.querySelector( '#editor' ), { + licenseKey: '', // Or 'GPL'. plugins: [ Bookmark, /* ... */ ], toolbar: [ 'bookmark', /* ... */ ], bookmark: { @@ -85,6 +87,8 @@ ClassicEditor .then( /* ... */ ) .catch( /* ... */ ); ``` + + ## Bookmarks on blocks At this time, if a bookmark is attached to a block, it appears before it. However, we plan to expand this solution in the future. We invite you to help us [gather feedback for linking directly to blocks and auto generating IDs](https://github.com/ckeditor/ckeditor5/issues/17264).