Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
4 changes: 2 additions & 2 deletions src/bundle/Resources/public/js/CKEditor/core/base-ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import IbexaMove from '../move/move';
import IbexaRemoveElement from '../remove-element/remove-element';
import IbexaBlockAlignment from '../block-alignment/block-alignment';
import IbexaUploadImage from '../upload-image/upload-image';
import IbexaSpecialCharacters from '../special-characters/special-characters';

import CKEditor from '@ckeditor/ckeditor5-editor-inline/src/inlineeditor';
import Essentials from '@ckeditor/ckeditor5-essentials/src/essentials';
Expand All @@ -28,7 +29,6 @@ import Subscript from '@ckeditor/ckeditor5-basic-styles/src/subscript';
import Superscript from '@ckeditor/ckeditor5-basic-styles/src/superscript';
import Strikethrough from '@ckeditor/ckeditor5-basic-styles/src/strikethrough';
import BlockQuote from '@ckeditor/ckeditor5-block-quote/src/blockquote';
import SpecialCharacters from '@ckeditor/ckeditor5-special-characters/src/specialcharacters';
import SpecialCharactersEssentials from '@ckeditor/ckeditor5-special-characters/src/specialcharactersessentials';
import ContextualBalloon from '@ckeditor/ckeditor5-ui/src/panel/balloon/contextualballoon';

Expand Down Expand Up @@ -173,7 +173,6 @@ const VIEWPORT_TOP_OFFSET_DISTRACTION_FREE_MODE = 0;
Superscript,
Strikethrough,
BlockQuote,
SpecialCharacters,
SpecialCharactersEssentials,
ContextualBalloon,
IbexaCharacterCounter,
Expand All @@ -183,6 +182,7 @@ const VIEWPORT_TOP_OFFSET_DISTRACTION_FREE_MODE = 0;
IbexaFormatted,
IbexaCustomStylesInline,
IbexaCustomAttributes,
IbexaSpecialCharacters,
IbexaLink,
IbexaAnchor,
IbexaMove,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import SpecialCharacters from '@ckeditor/ckeditor5-special-characters/src/specialcharacters';

export default class IbexaSpecialCharacters extends SpecialCharacters {
_updateGrid(currentGroupName, gridView) {
super._updateGrid(currentGroupName, gridView);

gridView.tiles._items.forEach((tile) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
gridView.tiles._items.forEach((tile) => {
gridView.tiles.forEach((tile) => {

as tiles is a Collection this should be more accurate.

tile.on('mouseover', (event) => {
event.source.element.removeAttribute('data-original-title');
event.source.element.removeAttribute('data-bs-original-title');
});
});
}
}
Loading