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

Commit

Permalink
Docs: Brought dropdown/utils methods to a common naming scheme.
Browse files Browse the repository at this point in the history
  • Loading branch information
jodator committed Feb 2, 2018
1 parent c00fe96 commit 7aa212d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/heading.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import HeadingEngine from './headingengine';
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import Model from '@ckeditor/ckeditor5-ui/src/model';

import { createDropdown, addListViewToDropdown } from '@ckeditor/ckeditor5-ui/src/dropdown/utils';
import { createDropdown, addListToDropdown } from '@ckeditor/ckeditor5-ui/src/dropdown/utils';

import Collection from '@ckeditor/ckeditor5-utils/src/collection';

Expand Down Expand Up @@ -73,7 +73,7 @@ export default class Heading extends Plugin {
}

const dropdownView = createDropdown( locale );
addListViewToDropdown( dropdownView, dropdownItems );
addListToDropdown( dropdownView, dropdownItems );

dropdownView.set( {
isOn: false,
Expand Down

0 comments on commit 7aa212d

Please sign in to comment.