File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
src/bundle/Resources/public/js/CKEditor Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import IbexaMove from '../move/move';
1313import IbexaRemoveElement from '../remove-element/remove-element' ;
1414import IbexaBlockAlignment from '../block-alignment/block-alignment' ;
1515import IbexaUploadImage from '../upload-image/upload-image' ;
16+ import IbexaSpecialCharacters from '../special-characters/special-characters' ;
1617
1718import {
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 ,
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments