Skip to content

Commit 66b86de

Browse files
authored
IBX-10661: Fixed selector on focus (#266)
1 parent 2103796 commit 66b86de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bundle/Resources/public/js/CKEditor/core/base-ckeditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ const VIEWPORT_TOP_OFFSET_DISTRACTION_FREE_MODE = 0;
334334

335335
editableUIView.on('change:isFocused', (event) => {
336336
const containerDataSource =
337-
container.closest('.ibexa-field-edit--ezrichtext .ibexa-data-source') ??
337+
container.closest('.ibexa-field-edit--ibexa_richtext .ibexa-data-source') ??
338338
container.closest('.ibexa-data-source--richtext');
339339

340340
containerDataSource.classList.toggle('ibexa-data-source--focused', event.source.isFocused);

0 commit comments

Comments
 (0)