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

Commit

Permalink
Merge pull request #46 from ckeditor/i/6049
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
jodator authored Jan 27, 2020
2 parents 0ee879e + 47b08a1 commit 410e279
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 10 deletions.
8 changes: 4 additions & 4 deletions src/alignmentui.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import { createDropdown, addToolbarToDropdown } from '@ckeditor/ckeditor5-ui/src

import { isSupported } from './utils';

import alignLeftIcon from '../theme/icons/align-left.svg';
import alignRightIcon from '../theme/icons/align-right.svg';
import alignCenterIcon from '../theme/icons/align-center.svg';
import alignJustifyIcon from '../theme/icons/align-justify.svg';
import alignLeftIcon from '@ckeditor/ckeditor5-core/theme/icons/align-left.svg';
import alignRightIcon from '@ckeditor/ckeditor5-core/theme/icons/align-right.svg';
import alignCenterIcon from '@ckeditor/ckeditor5-core/theme/icons/align-center.svg';
import alignJustifyIcon from '@ckeditor/ckeditor5-core/theme/icons/align-justify.svg';

const icons = new Map( [
[ 'left', alignLeftIcon ],
Expand Down
4 changes: 2 additions & 2 deletions tests/alignmentui.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import AlignmentEditing from '../src/alignmentediting';
import AlignmentUI from '../src/alignmentui';

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

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

Expand Down
1 change: 0 additions & 1 deletion theme/icons/align-center.svg

This file was deleted.

1 change: 0 additions & 1 deletion theme/icons/align-justify.svg

This file was deleted.

1 change: 0 additions & 1 deletion theme/icons/align-left.svg

This file was deleted.

1 change: 0 additions & 1 deletion theme/icons/align-right.svg

This file was deleted.

0 comments on commit 410e279

Please sign in to comment.