mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Canvas] Fix image upload component not loading for image elements (#154385)
## Summary Fixes a regression where the image upload component does not load for Canvas image elements. Starting with PR #145633 modules in `@kbn/presentation-util-plugin/common` are no longer exported from the `@kbn/presentation-util-plugin/public` module. The imports in the `ImageUpload` module should have also been updated to the `@kbn/presentation-util-plugin/common` module. Fixes #154356
This commit is contained in:
parent
3b951e16cb
commit
8724518804
2 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@ export {
|
|||
getElasticLogo,
|
||||
getElasticOutline,
|
||||
isValidUrl,
|
||||
isValidHttpUrl,
|
||||
resolveWithMissingImage,
|
||||
resolveFromArgs,
|
||||
encode,
|
||||
parseDataUrl,
|
||||
} from './lib';
|
||||
|
|
|
@ -14,7 +14,7 @@ import {
|
|||
getElasticOutline,
|
||||
isValidHttpUrl,
|
||||
resolveFromArgs,
|
||||
} from '@kbn/presentation-util-plugin/public';
|
||||
} from '@kbn/presentation-util-plugin/common';
|
||||
import { AssetPicker } from '../../../../public/components/asset_picker';
|
||||
import { templateFromReactComponent } from '../../../../public/lib/template_from_react_component';
|
||||
import { VALID_IMAGE_TYPES } from '../../../../common/lib/constants';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue