Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit 410e279

Browse files
authored
Merge pull request #46 from ckeditor/i/6049
Other: Moved alignment icons to ckeditor5-core (see ckeditor/ckeditor5-table#227). BREAKING CHANGE: The `align-left`, `align-right`, `align-center`, and `align-justify` icons have been moved to `ckeditor5-core`.
2 parents 0ee879e + 47b08a1 commit 410e279

File tree

6 files changed

+6
-10
lines changed

6 files changed

+6
-10
lines changed

src/alignmentui.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ import { createDropdown, addToolbarToDropdown } from '@ckeditor/ckeditor5-ui/src
1313

1414
import { isSupported } from './utils';
1515

16-
import alignLeftIcon from '../theme/icons/align-left.svg';
17-
import alignRightIcon from '../theme/icons/align-right.svg';
18-
import alignCenterIcon from '../theme/icons/align-center.svg';
19-
import alignJustifyIcon from '../theme/icons/align-justify.svg';
16+
import alignLeftIcon from '@ckeditor/ckeditor5-core/theme/icons/align-left.svg';
17+
import alignRightIcon from '@ckeditor/ckeditor5-core/theme/icons/align-right.svg';
18+
import alignCenterIcon from '@ckeditor/ckeditor5-core/theme/icons/align-center.svg';
19+
import alignJustifyIcon from '@ckeditor/ckeditor5-core/theme/icons/align-justify.svg';
2020

2121
const icons = new Map( [
2222
[ 'left', alignLeftIcon ],

tests/alignmentui.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
import AlignmentEditing from '../src/alignmentediting';
99
import AlignmentUI from '../src/alignmentui';
1010

11-
import alignLeftIcon from '../theme/icons/align-left.svg';
12-
import alignRightIcon from '../theme/icons/align-right.svg';
11+
import alignLeftIcon from '@ckeditor/ckeditor5-core/theme/icons/align-left.svg';
12+
import alignRightIcon from '@ckeditor/ckeditor5-core/theme/icons/align-right.svg';
1313

1414
import ClassicTestEditor from '@ckeditor/ckeditor5-core/tests/_utils/classictesteditor';
1515

theme/icons/align-center.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

theme/icons/align-justify.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

theme/icons/align-left.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

theme/icons/align-right.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)