|
|
@@ -310,7 +310,7 @@ The dropdown panel exposes its {@link module:ui/dropdown/dropdownpanelview~Dropd
|
|
|
|
|
|
The framework provides a set of helpers to make the dropdown creation process easier, although it is still possible to compose a custom dropdown from scratch using the base classes.
|
|
|
|
|
|
-The {@link module:ui/dropdown/utils#createDropdown} helper creates a {@link module:ui/dropdown/dropdownview~DropdownView} with either a {@link module:ui/button/buttonview~ButtonView} or a {@link module:ui/dropdown/button/splitbuttonview~SplitButtonView}.
|
|
|
+The {@link module:ui/dropdown/utils~createDropdown} helper creates a {@link module:ui/dropdown/dropdownview~DropdownView} with either a {@link module:ui/button/buttonview~ButtonView} or a {@link module:ui/dropdown/button/splitbuttonview~SplitButtonView}.
|
|
|
|
|
|
```js
|
|
|
import { createDropdown } from '@ckeditor/ckeditor5-ui/src/dropdown/utils';
|
|
|
@@ -376,7 +376,7 @@ dropdownView.buttonView.set( {
|
|
|
|
|
|
#### Adding a list to a dropdown
|
|
|
|
|
|
-The {@link module:ui/list/listview~ListView} can be added to a dropdown using the {@link module:ui/dropdown/utils#addListToDropdown} helper.
|
|
|
+The {@link module:ui/list/listview~ListView} can be added to a dropdown using the {@link module:ui/dropdown/utils~addListToDropdown} helper.
|
|
|
|
|
|
```js
|
|
|
import Model from '@ckeditor/ckeditor5-ui/src/model';
|
|
|
@@ -411,7 +411,7 @@ addListToDropdown( dropdownView, items );
|
|
|
|
|
|
#### Adding a toolbar to a dropdown
|
|
|
|
|
|
-A {@link module:ui/toolbar/toolbarview~ToolbarView} can be added to a dropdown using the {@link module:ui/dropdown/utils#addToolbarToDropdown} helper.
|
|
|
+A {@link module:ui/toolbar/toolbarview~ToolbarView} can be added to a dropdown using the {@link module:ui/dropdown/utils~addToolbarToDropdown} helper.
|
|
|
|
|
|
```js
|
|
|
import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
|