-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve exports conflicts in ckeditor5
package.
#15511
Comments
ProblemUnfortunately, suggested way of resolving name conflict with After merging
and trying to import it in SolutionWe decided to change the way how we will handle it: move |
We needed to move more icons that we initially expected, because they are used by more than one package. Icons moved to the
Icons moved to the
|
…licts-in-ckeditor5-package MINOR BREAKING CHANGE (ui): Move `colorPalette`, `previousArrow`, and `nextArrow` icons to the `core` package and add them to the `icons` object exported from it. See #15511. MINOR BREAKING CHANGE (undo): Move `undo` and `redo` icons to the `core` package and add them to the `icons` object exported from it. See #15511. MINOR BREAKING CHANGE (list): Move `bulletedList`, `numberedList` and `todoList` icons to the `core` package and add them to the `icons` object exported from it. See #15511. MINOR BREAKING CHANGE (code-block): Move `codeBlock` icon to the `core` package and add it to the `icons` object exported from it. See #15511. MINOR BREAKING CHANGE (ckbox): Move `browseFiles` icon to the `core` package and add it to the `icons` object exported from it. See #15511. MINOR BREAKING CHANGE (ckfinder): Move `browseFiles` icon to the `core` package and add it to the `icons` object exported from it. See #15511. MINOR BREAKING CHANGE (heading): Move `heading1`, `heading2`, `heading3`, `heading4`, `heading5`, and `heading6` icons to the `core` package and add them to the `icons` object exported from it. See #15511. MINOR BREAKING CHANGE (horizontal-line): Move `horizontalLine` icon to the `core` package and add it to the `icons` object exported from it. See #15511. MINOR BREAKING CHANGE (html-embed): Move `html` icon to the `core` package and add it to the `icons` object exported from it. See #15511. MINOR BREAKING CHANGE (indent): Move `indent` and `outdent` icons to the `core` package and add them to the `icons` object exported from it. See #15511. MINOR BREAKING CHANGE (table): Move `table` icon to the `core` package and add it to the `icons` object exported from it. See #15511. MINOR BREAKING CHANGE (engine): Rename export of the `View` class to `ViewEditing`. See #15511. MINOR BREAKING CHANGE (adapter-ckfinder): Rename export of the `UploadAdapter` class to `CKFinderUploadAdapter`. See #15511. MINOR BREAKING CHANGE (engine): Move the `findOptimalInsertionRange` function to the `Schema` class as a new method. See #15511. MINOR BREAKING CHANGE (utils): Rename the `Position` interface to `DomPoint`. See #15511. Closes #15511.
In the new installation methods, the
ckeditor5
package will be used to re-export content of all open source packages. We have found that there are name conflicts that need to be resolved first.icons
core
ui
colorPaletteIcon
,previousArrow
, andnextArrow
icons fromui
tocore
. These icons should be added to theicons
object exported from thecore
package.Model
engine
ui
ui
, rename toViewModel
(only re-export).View
engine
ui
engine
, rename toEditingView
(only re-export).Position
engine
(class)utils
(interface)DomPoint
.findOptimalInsertionRange
engine
widget
engine
to theSchema
class asfindOptimalInsertionRange
method (add@internal
).UploadAdapter
upload
(interface)adapter-ckfinder
(class)CKFinderUploadAdapter
.The text was updated successfully, but these errors were encountered: