Skip to content

Commit e3a9115

Browse files
committed
Merge remote-tracking branch 'origin/4.6'
2 parents 2d2c4c2 + 772b124 commit e3a9115

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import IbexaMove from '../move/move';
1313
import IbexaRemoveElement from '../remove-element/remove-element';
1414
import IbexaBlockAlignment from '../block-alignment/block-alignment';
1515
import IbexaUploadImage from '../upload-image/upload-image';
16+
import IbexaSpecialCharacters from '../special-characters/special-characters';
1617

1718
import {
1819
InlineEditor,
@@ -29,7 +30,6 @@ import {
2930
Superscript,
3031
Strikethrough,
3132
BlockQuote,
32-
SpecialCharacters,
3333
SpecialCharactersEssentials,
3434
ContextualBalloon,
3535
} from 'ckeditor5';
@@ -176,7 +176,6 @@ const VIEWPORT_TOP_OFFSET_DISTRACTION_FREE_MODE = 0;
176176
Superscript,
177177
Strikethrough,
178178
BlockQuote,
179-
SpecialCharacters,
180179
SpecialCharactersEssentials,
181180
ContextualBalloon,
182181
IbexaCharacterCounter,
@@ -186,6 +185,7 @@ const VIEWPORT_TOP_OFFSET_DISTRACTION_FREE_MODE = 0;
186185
IbexaFormatted,
187186
IbexaCustomStylesInline,
188187
IbexaCustomAttributes,
188+
IbexaSpecialCharacters,
189189
IbexaLink,
190190
IbexaAnchor,
191191
IbexaMove,
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { SpecialCharacters } from 'ckeditor5';
2+
3+
export default class IbexaSpecialCharacters extends SpecialCharacters {
4+
_updateGrid(currentGroupName, gridView) {
5+
super._updateGrid(currentGroupName, gridView);
6+
7+
gridView.tiles.forEach((tile) => {
8+
tile.on('mouseover', (event) => {
9+
event.source.element.removeAttribute('data-original-title');
10+
event.source.element.removeAttribute('data-bs-original-title');
11+
});
12+
});
13+
}
14+
}

0 commit comments

Comments
 (0)