Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
e08f9d7
Add theme page.
pszczesniak Apr 17, 2025
2e4002b
Add missing flag.
Mati365 Apr 17, 2025
1983757
Add legacy to theme.
Mati365 Apr 25, 2025
1b9e137
Remove no longer used build warning banner.
Mati365 Apr 28, 2025
a11cdf5
Add base promobar config.
Mati365 Apr 28, 2025
c8fb0e6
Remove `globals.scss` file.
Mati365 May 2, 2025
ff3f602
Load ckeditor styles on `editor` layer.
Mati365 May 2, 2025
c49ca67
Fix link in promobar.
Mati365 May 2, 2025
8b02492
Fix promobar link
Mati365 May 5, 2025
d573bb4
Add `ck:badge` to features description.
Mati365 May 5, 2025
b745715
Remove legacy tabs.
Mati365 May 5, 2025
94856c6
Remove ToC from Theme page.
pszczesniak May 6, 2025
a444664
Replace download emoji.
pszczesniak May 6, 2025
abdfd99
Merge branch 'master' into gloria
Mati365 May 7, 2025
a4b67ba
Fix skip API
Mati365 May 7, 2025
c5f43d8
Remove ⚠️ icon from info callouts.
Mati365 May 9, 2025
6898920
Remove ⚠️ icon frommore info callouts.
Mati365 May 9, 2025
127a7f2
Add code snippet example.
gorzelinski May 9, 2025
074e3df
Added docs global.css.
pszczesniak May 9, 2025
d2b67ca
Set viewport top offset variable to match exactly the header height.
pszczesniak May 12, 2025
d7cc4ea
Set viewportOffset.top based on media query using matchMedia.
pszczesniak May 12, 2025
d44f5d2
Add algolia app id.
Mati365 May 13, 2025
56cbf7d
Added banner.
pszczesniak May 13, 2025
758e85a
Update CTA banner in theme markdown.
pszczesniak May 13, 2025
b982749
Added CTA builder banner.
pszczesniak May 14, 2025
f817437
CTA banner v2.
pszczesniak May 14, 2025
fa78ef2
Typos fixes.
pszczesniak May 15, 2025
a58251b
Use gloria tooltips manager to attach tooltips.
Mati365 May 16, 2025
d7e24fb
Adjust parameters of tooltips.
Mati365 May 19, 2025
e9a1285
Destroy tooltip after focusing editor.
Mati365 May 19, 2025
4c98db9
Switch tooltips to `mount` mode.
Mati365 May 19, 2025
6042157
Adjust parameters of tooltips.
Mati365 May 19, 2025
eebe514
Add icon to tooltip.
Mati365 May 19, 2025
137d94e
Re-enable tour balloons on mobile.
Mati365 May 19, 2025
73f858e
Add ToC in guides where it was set to false.
pszczesniak May 20, 2025
cb4a385
Highlight the markdown output by shiki.
pszczesniak May 20, 2025
19b435c
Fixed issue with highlighting markdown output.
pszczesniak May 20, 2025
6478997
Fix code snippets in the Getting and setting data guide.
gorzelinski May 20, 2025
862137c
Style the Getting and setting data demo.
gorzelinski May 21, 2025
58d84f2
Fix formatting.
gorzelinski May 21, 2025
08fc78c
Fix the Document title demo.
gorzelinski May 21, 2025
1f1b99e
Added size class to snippet.
pszczesniak May 21, 2025
e7bf1f6
Use prerendered code-block component in markdown snippet.
Mati365 May 22, 2025
4ad6ed8
Update the Document title demo with new code blocks.
gorzelinski May 22, 2025
0bab32a
Update the Getting and setting data demo with new code blocks.
gorzelinski May 22, 2025
a53fe3d
Fix update placeholder button in editor-placeholder demo.
Mati365 May 23, 2025
92bb8b7
Fix html-embed demo.
Mati365 May 23, 2025
b6b63e3
Use fake console in base64 upload.
Mati365 May 23, 2025
5af6ffe
Add copyable attributes.
gorzelinski May 23, 2025
55655dc
Change the structure of the Document title demo.
gorzelinski May 23, 2025
6940fba
Add initial values to the Document title demo.
gorzelinski May 23, 2025
710bd43
Fix typo.
gorzelinski May 23, 2025
f18c810
Add throttling to the Document title demo.
gorzelinski May 23, 2025
f52e9ef
Fix function call in the Getting and setting data demo.
gorzelinski May 23, 2025
16ab0b8
Update the editor placeholder demo.
gorzelinski May 23, 2025
236fef0
Improve base64 demo output content
Mati365 May 23, 2025
02a8ca3
Fullpage snippet update.
pszczesniak May 23, 2025
0bee1a7
Merge pull request #18546 from ckeditor/gloria-side-quest
Mati365 May 26, 2025
44c3e5c
Mark `build-source-` snippets as empty.
Mati365 May 26, 2025
b153943
Fix media embed snippets.
Mati365 May 26, 2025
c9db0f4
Fix paste from markdown demo.
Mati365 May 26, 2025
bdc70f1
Fix page break snippet.
Mati365 May 26, 2025
1f385c6
Fix inspector snippet.
Mati365 May 26, 2025
4a6fc85
Fix read-only snippet.
Mati365 May 26, 2025
5ac2a96
Add newline
Mati365 May 26, 2025
7a2ae52
Improve word count snippet.
Mati365 May 26, 2025
9be8539
Improve word count styling.
Mati365 May 26, 2025
a898c5d
Add missing classes
Mati365 May 26, 2025
4644469
Remove radius from word count demo.
Mati365 May 26, 2025
a4b2edb
Fix bootstrap ui snippet.
Mati365 May 27, 2025
57f5306
Use design system input in images inserting.
Mati365 May 27, 2025
8c21720
Add restricted editing checkboxes.
Mati365 May 27, 2025
f03c045
Merge branch 'master' into gloria
pszczesniak May 27, 2025
e68a0ed
CSS fix.
pszczesniak May 27, 2025
d2078db
Fix styling of the UI components guide.
gorzelinski May 28, 2025
07d0131
Adapt demo in the Using react in a widget guide.
gorzelinski May 28, 2025
0c40469
Adapt demo in the Drag and drop guide.
gorzelinski May 28, 2025
dff6dc1
Replace class to show some callouts only on mobile view.
pszczesniak May 28, 2025
1b16f3c
Fix snippets indentations in the Schema guide.
gorzelinski May 29, 2025
af21536
Remove npm badges from guides.
gorzelinski May 29, 2025
c35c557
Fixes for mini-inspector styles.
pszczesniak May 29, 2025
6e5a55e
Fixed indentation in menu bar guide code snippet.
pszczesniak May 29, 2025
c5082b3
Fix the document editor example by increasing the toolbar z-index by 1.
pszczesniak May 30, 2025
49a09a4
Fixes in examples snippets.
pszczesniak Jun 2, 2025
25bea31
Fix inline demo heading margins.
pszczesniak Jun 2, 2025
c59988f
Fixes in global.css docs styles.
pszczesniak Jun 2, 2025
d6394dd
Report issue widget config update.
pszczesniak Jun 3, 2025
f9adfe8
Restructure the accessibility guide.
gorzelinski Jun 4, 2025
35cb747
Place feature digest in cards.
gorzelinski Jun 5, 2025
232d1da
Remove feature digest snippet.
gorzelinski Jun 5, 2025
a10a183
Remove learn more buttons from feature digest.
gorzelinski Jun 5, 2025
d31ef4e
Remove hrefs from headings in Feature digest.
gorzelinski Jun 6, 2025
045e7d2
Shorten links in feature digest.
gorzelinski Jun 6, 2025
c532280
Put feature digest cards in columns.
gorzelinski Jun 6, 2025
73d423a
Add IDs to headings in Feature digest.
gorzelinski Jun 6, 2025
cb1549b
Change links to relative in the Feature digest guide.
gorzelinski Jun 9, 2025
74211ba
Add target blank to an external link.
gorzelinski Jun 9, 2025
23808a1
Style Plugins in CKEditor 5 tables a bit.
gorzelinski Jun 10, 2025
66abfce
Add badges to features.
gorzelinski Jun 10, 2025
33ce6d3
Test card nesting.
gorzelinski Jun 10, 2025
5a5ca3f
Revert Feature digest.
gorzelinski Jun 11, 2025
a0aaddc
Wrap Feature digest button links in card descriptions.
gorzelinski Jun 11, 2025
b567936
Wrap feature digest links in card footers.
gorzelinski Jun 11, 2025
87ac47c
Hotfix autosave snippet.
Witoso Jun 13, 2025
bab7b20
Wrap headings with badges.
gorzelinski Jun 13, 2025
9141250
Add the default badge to the Plugins table.
gorzelinski Jun 13, 2025
9d1d73c
Unify class names in the Plugins table.
gorzelinski Jun 13, 2025
54c9b7f
Merge branch 'master' into gloria
Mati365 Jun 17, 2025
c9ee0ca
Docs: Shorten the tooltip message.
gorzelinski Jun 17, 2025
4ee97c0
Remove npm badges from API docs.
pszczesniak Jun 17, 2025
14240a7
Rewrite the "Git commit message convention" guide.
pomek Jun 17, 2025
19dd202
Rename: Git commit message convention => Changelog entries.
pomek Jun 17, 2025
0b270d6
Typo.
pomek Jun 17, 2025
25de82f
Wording.
pomek Jun 17, 2025
b1bf4f4
Unified whitespaces.
pomek Jun 17, 2025
0b469b5
Apply suggestions from code review
pomek Jun 17, 2025
11918cb
s/-/–
pomek Jun 17, 2025
afbab83
Switch to the new changelog generator.
pomek Jun 18, 2025
3378c1e
New GH template.
pomek Jun 18, 2025
3f66c96
Simplify the "Creating a pull request" section in the "Contributing" …
pomek Jun 18, 2025
de904b4
Docs: a review. [short flow]
godai78 Jun 18, 2025
e1ec5cb
Update docs/framework/contributing/changelog-entries.md
pomek Jun 18, 2025
477ccdf
Update snippets' extensions in the Angular guides.
gorzelinski Jun 23, 2025
5929b85
Update snippets' extensions in the Vue guides.
gorzelinski Jun 23, 2025
ce5da93
Tweak the copy.
Witoso Jun 24, 2025
f56ba79
Merge branch 'master' into ck/18715-changelog-change
pomek Jun 24, 2025
7314068
Merge branch 'master' into gloria
Witoso Jun 25, 2025
d70ba12
Merge branch 'master' into gloria
Witoso Jun 26, 2025
9588ee8
Remove theme page.
Mati365 Jun 26, 2025
485acac
Merge branch 'master' into ck/18715-changelog-change
pomek Jun 27, 2025
5a2c68e
Merge branch 'master' into ck/18715-changelog-change
pomek Jun 27, 2025
a3ab916
Fix W3C errors.
Mati365 Jun 27, 2025
03d0701
Use Docker executor instead of Machine executor on CI
filipsobol Jun 26, 2025
b54727b
Update docs/framework/contributing/changelog-entries.md
pomek Jun 30, 2025
7a0e4de
Merge branch 'master' into gloria
Mati365 Jun 30, 2025
e92672a
Merge branch 'master' into ck/18715-changelog-change
pomek Jun 30, 2025
0618775
Merge branch 'master' into ck/18715-changelog-change
pomek Jun 30, 2025
6c98158
Merge pull request #18726 from ckeditor/ck/18715-changelog-change
pomek Jul 1, 2025
cde4dd4
Use headless Chrome to run automated tests on CI
filipsobol Jul 2, 2025
750c230
Merge branch 'master' into use-docker-image-instead-of-machine-executor
filipsobol Jul 3, 2025
1e7fc71
Clone with `--depth 1`
filipsobol Jul 3, 2025
6c26c14
Display errors when building the editor for docs
filipsobol Jul 4, 2025
a404e3f
Merge pull request #18811 from ckeditor/ck/18810
filipsobol Jul 4, 2025
120588f
Merge stable into master
CKEditorBot Jul 7, 2025
24423d4
Merge pull request #18771 from ckeditor/use-docker-image-instead-of-m…
filipsobol Jul 7, 2025
7121f81
Fix the code blocks snippet.
gorzelinski Jul 8, 2025
a3e622f
Merge stable into master
CKEditorBot Jul 8, 2025
8f0ba94
Merge branch 'master' into gloria
Mati365 Jul 8, 2025
fc14524
Fix for HTML validator.
pszczesniak Jul 8, 2025
ba2d506
Removed duplicated full page html from feature digest.
pszczesniak Jul 8, 2025
09ea1a2
Removed duplicated html support from feature digest.
pszczesniak Jul 8, 2025
81cd0ec
Added missing parentesis in link.
pszczesniak Jul 8, 2025
c8adb39
Hotfix before the gloria deploy.
Witoso Jul 8, 2025
debc840
Add missing snippet id.
Mati365 Jul 9, 2025
52003c4
Fix typo
Mati365 Jul 9, 2025
686aebf
Merge branch 'stable' into stable_to_master
pomek Jul 9, 2025
db55f4b
An empty commit for skipping CI. [skip ci]
pomek Jul 9, 2025
7de953f
Merge pull request #18829 from ckeditor/stable_to_master
pomek Jul 9, 2025
5fc8aa6
Use the latest CKEditor 5 Inspector.
pomek Jul 9, 2025
880fce2
Merge stable into master
CKEditorBot Jul 9, 2025
5830ac7
Merge pull request #18832 from ckeditor/inspector_v5
pomek Jul 9, 2025
9e77883
Fix autoformat demo
Mati365 Jul 9, 2025
80deac2
Merge branch 'master' into gloria
Mati365 Jul 9, 2025
6ed966f
Add line-height section to feature digest
Mati365 Jul 9, 2025
e9ccdfd
Tip easter egg.
Witoso Jul 10, 2025
027b612
Fix the snippet in a tutorial.
gorzelinski Jul 11, 2025
0ddf0ca
Fix wrong `issueUrl` in docs.
Mati365 Jul 11, 2025
0abca73
Fix the big margin in the dll builds guide.
gorzelinski Jul 11, 2025
ed965cd
Cke4 compatibility table style.
pszczesniak Jul 11, 2025
70b19cc
Cke4 compatibility table code snippets fixes.
pszczesniak Jul 11, 2025
654310e
CKE4 plkugin equivalent table style fix.
pszczesniak Jul 11, 2025
e5953d9
One more tip.
Witoso Jul 14, 2025
f2a9cee
Update notification popup.
pszczesniak Jul 14, 2025
3b706a8
Fix docs table wrapper.
pszczesniak Jul 15, 2025
7411aba
Merge branch 'stable' into gloria
pszczesniak Jul 15, 2025
3121d31
Use `afterReady` in snippets that use umberto API.
Mati365 Jul 15, 2025
2277da2
Prevent survicate errors
Mati365 Jul 15, 2025
1a33ca9
Fix typo in getting and setting data
Mati365 Jul 16, 2025
005062f
Update Minimap styles snippets.
pszczesniak Jul 17, 2025
1fea58e
Switch to Umberto v8.
pomek Jul 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .changelog/.gitkeep
Empty file.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ commands:

jobs:
generate_configuration:
machine: true
docker:
- image: cimg/node:22.12.0
resource_class: medium
parameters:
isNightly:
Expand Down
47 changes: 26 additions & 21 deletions .circleci/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# To modify commands to execute on CI review this file, and the script that generates it.
version: 2.1

orbs:
browser-tools: circleci/browser-tools@2.1.2

# List of parameters must be synchronized between configuration files.
parameters:
isNightly:
Expand Down Expand Up @@ -40,14 +43,6 @@ commands:
circleci step halt
fi

prepare_environment_command:
description: "Prepare environment (RAM, browsers, hosts, etc.)"
steps:
# CircleCI does not use the latest Chrome. Hence, we must install it manually.
- run:
name: Install the latest Chrome
command: yarn ckeditor5-dev-ci-install-latest-chrome

install_ssh_keys_command:
description: "Install SSH keys"
steps:
Expand All @@ -67,9 +62,14 @@ commands:
checkout_command:
description: "Clone the CKEditor 5 repository with limited depth and branches"
steps:
- run:
name: Add GitHub to known_hosts
command: |
mkdir -p ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
- run:
name: Checkout code (single branch)
command: git clone --single-branch --depth 10 --branch "$CIRCLE_BRANCH" "$CIRCLE_REPOSITORY_URL" .
command: git clone --single-branch --depth 1 --branch "$CIRCLE_BRANCH" "$CIRCLE_REPOSITORY_URL" .

# In the PRs that come from forked repositories, we do not share secret variables.
# Hence, some of the scripts will not be executed. See: https://github.com/ckeditor/ckeditor5/issues/7745.
Expand Down Expand Up @@ -101,13 +101,14 @@ commands:

jobs:
cke5_manual:
machine: true
docker:
- image: cimg/node:22.12.0-browsers
resource_class: large
steps:
- checkout_command
- halt_if_short_flow
- bootstrap_repository_command
- prepare_environment_command
- browser-tools/install_chrome
- install_newest_emoji
- run:
name: Prepare DLL builds in CKEditor 5
Expand All @@ -117,12 +118,12 @@ jobs:
command: bash scripts/check-manual-tests.sh -r ckeditor5 -f ckeditor5

cke5_validators:
machine: true
docker:
- image: cimg/node:22.12.0
resource_class: medium
steps:
- checkout_command
- bootstrap_repository_command
- prepare_environment_command
- run:
when: always
name: Validate versions of CKEditor 5 dependencies
Expand Down Expand Up @@ -161,14 +162,14 @@ jobs:
command: yarn run validate-module-re-exports

cke5_coverage:
machine: true
docker:
- image: cimg/node:22.12.0
resource_class: medium
steps:
- community_verification_command
- checkout_command
- halt_if_short_flow
- bootstrap_repository_command
- prepare_environment_command
- attach_workspace:
at: .out
- run:
Expand All @@ -185,7 +186,8 @@ jobs:
command: npx coveralls -v < .out/combined_lcov.info

cke5_trigger_release_process:
machine: true
docker:
- image: cimg/node:22.12.0
resource_class: medium
steps:
- community_verification_command
Expand Down Expand Up @@ -213,7 +215,8 @@ jobs:
command: yarn ckeditor5-dev-ci-trigger-circle-build

cke5_trigger_uber_ci:
machine: true
docker:
- image: cimg/node:22.12.0
resource_class: medium
steps:
- community_verification_command
Expand All @@ -224,13 +227,13 @@ jobs:
command: yarn ckeditor5-dev-ci-trigger-circle-build

release_prepare:
machine: true
docker:
- image: cimg/node:22.12.0
resource_class: large
steps:
- checkout_command
- halt_if_short_flow
- bootstrap_repository_command
- prepare_environment_command
- run:
name: Check if packages are ready to be released
command: npm run release:prepare-packages -- --compile-only --verbose
Expand All @@ -242,7 +245,8 @@ jobs:
command: yarn run check-dependencies

notify_ci_failure:
machine: true
docker:
- image: cimg/node:22.12.0
resource_class: medium
parameters:
hideAuthor:
Expand All @@ -261,7 +265,8 @@ jobs:
no_output_timeout: 2h

stale_bot:
machine: true
docker:
- image: cimg/node:22.12.0
resource_class: medium
steps:
- checkout_command
Expand Down
33 changes: 29 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,34 @@
### Suggested merge commit message ([convention](https://ckeditor.com/docs/ckeditor5/latest/framework/contributing/git-commit-message-convention.html))
<!--

Type: Message. Closes #000.
This repository uses Markdown files to define changelog entries. If the changes in this pull request are **user-facing**, please create a changelog entry by running the following command:

yarn run nice

This will generate an `*.md` file in the `.changelog/` directory for your description. You can create as many as you need.

**Note:**
If your PR is internal-only (e.g., tests, tooling, docs), you can skip this step - just mention it below.

-->

### 🚀 Summary

*A brief summary of what this PR changes.*

---

### 📌 Related issues

<!--

Although changelog entries list connected issues, GitHub requires listing them here to automatically link and close them.

-->

* Closes #000

---

### Additional information
### 💡 Additional information

_For example – encountered issues, assumptions you had to make, other affected tickets, etc._
*Optional: Notes on decisions, edge cases, or anything helpful for reviewers.*
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# All "dot directories".
.*/**
!.changelog/**
!.github/**
!.husky/**
!.circleci/**
Expand Down
5 changes: 4 additions & 1 deletion docs/_snippets/examples/balloon-block-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
import {
CS_CONFIG,
BalloonBlockEditor,
getViewportTopOffsetConfig
getViewportTopOffsetConfig,
setViewportTopOffsetDynamically
} from '@snippets/index.js';

BalloonBlockEditor
Expand All @@ -23,6 +24,8 @@ BalloonBlockEditor
} )
.then( editor => {
window.editor = editor;

setViewportTopOffsetDynamically( editor );
} )
.catch( err => {
console.error( err );
Expand Down
5 changes: 4 additions & 1 deletion docs/_snippets/examples/balloon-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
import {
CS_CONFIG,
BalloonEditor,
getViewportTopOffsetConfig
getViewportTopOffsetConfig,
setViewportTopOffsetDynamically
} from '@snippets/index.js';

BalloonEditor
Expand All @@ -23,6 +24,8 @@ BalloonEditor
} )
.then( editor => {
window.editor = editor;

setViewportTopOffsetDynamically( editor );
} )
.catch( err => {
console.error( err );
Expand Down
9 changes: 8 additions & 1 deletion docs/_snippets/examples/classic-editor-short.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/

import { CS_CONFIG, ClassicEditor, getViewportTopOffsetConfig } from '@snippets/index.js';
import {
CS_CONFIG,
ClassicEditor,
getViewportTopOffsetConfig,
setViewportTopOffsetDynamically
} from '@snippets/index.js';

ClassicEditor
.create( document.querySelector( '#snippet-classic-editor-short' ), {
Expand All @@ -16,6 +21,8 @@ ClassicEditor
} )
.then( editor => {
window.editor = editor;

setViewportTopOffsetDynamically( editor );
} )
.catch( err => {
console.error( err );
Expand Down
5 changes: 4 additions & 1 deletion docs/_snippets/examples/classic-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
import {
CS_CONFIG,
ClassicEditor,
getViewportTopOffsetConfig
getViewportTopOffsetConfig,
setViewportTopOffsetDynamically
} from '@snippets/index.js';

ClassicEditor
Expand All @@ -29,6 +30,8 @@ ClassicEditor
} )
.then( editor => {
window.editor = editor;

setViewportTopOffsetDynamically( editor );
} )
.catch( err => {
console.error( err );
Expand Down
2 changes: 1 addition & 1 deletion docs/_snippets/examples/document-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h3 style="text-align:center;">Welcome letter</h3>

.document-editor__toolbar {
/* Make sure the toolbar container is always above the editable. */
z-index: 1;
z-index: 2;

/* Create the illusion of the toolbar floating over the editable. */
box-shadow: 0 0 5px hsla( 0,0%,0%,.2 );
Expand Down
5 changes: 4 additions & 1 deletion docs/_snippets/examples/document-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { TableColumnResize } from 'ckeditor5';
import {
CS_CONFIG,
DecoupledEditor,
getViewportTopOffsetConfig
getViewportTopOffsetConfig,
setViewportTopOffsetDynamically
} from '@snippets/index.js';

DecoupledEditor
Expand Down Expand Up @@ -37,6 +38,8 @@ DecoupledEditor
?.appendChild( editor.ui.view.toolbar.element );

window.editor = editor;

setViewportTopOffsetDynamically( editor );
} )
.catch( err => {
console.error( err );
Expand Down
9 changes: 8 additions & 1 deletion docs/_snippets/examples/inline-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/

import { CS_CONFIG, InlineEditor, getViewportTopOffsetConfig } from '@snippets/index.js';
import {
CS_CONFIG,
InlineEditor,
getViewportTopOffsetConfig,
setViewportTopOffsetDynamically
} from '@snippets/index.js';

const inlineInjectElements = document.querySelectorAll( '#snippet-inline-editor [data-inline-inject]' );

Expand Down Expand Up @@ -61,6 +66,8 @@ Array.from( inlineInjectElements ).forEach( inlineElement => {
.create( inlineElement, config )
.then( editor => {
window.editor = editor;

setViewportTopOffsetDynamically( editor );
} )
.catch( err => {
console.error( err );
Expand Down
55 changes: 0 additions & 55 deletions docs/_snippets/features/feature-digest.html

This file was deleted.

Loading