diff --git a/extensions/markdown/js/src/forum/components/MarkdownButton.js b/extensions/markdown/js/src/forum/components/MarkdownButton.js index 0ac984d91..b5bf49b56 100644 --- a/extensions/markdown/js/src/forum/components/MarkdownButton.js +++ b/extensions/markdown/js/src/forum/components/MarkdownButton.js @@ -1,5 +1,5 @@ -import Component from 'flarum/Component'; -import icon from 'flarum/helpers/icon'; +import Component from 'flarum/common/Component'; +import icon from 'flarum/common/helpers/icon'; export default class MarkdownButton extends Component { oncreate(vnode) { diff --git a/extensions/markdown/js/src/forum/components/MarkdownToolbar.js b/extensions/markdown/js/src/forum/components/MarkdownToolbar.js index b63fa7334..cafb55a20 100644 --- a/extensions/markdown/js/src/forum/components/MarkdownToolbar.js +++ b/extensions/markdown/js/src/forum/components/MarkdownToolbar.js @@ -1,4 +1,4 @@ -import Component from 'flarum/Component'; +import Component from 'flarum/common/Component'; export default class MarkdownToolbar extends Component { view(vnode) { diff --git a/extensions/markdown/js/src/forum/index.js b/extensions/markdown/js/src/forum/index.js index 7a1b99423..9645ed645 100644 --- a/extensions/markdown/js/src/forum/index.js +++ b/extensions/markdown/js/src/forum/index.js @@ -8,7 +8,7 @@ */ import { extend } from 'flarum/extend'; -import TextEditor from 'flarum/components/TextEditor'; +import TextEditor from 'flarum/common/components/TextEditor'; import BasicEditorDriver from 'flarum/common/utils/BasicEditorDriver'; import styleSelectedText from 'flarum/common/utils/styleSelectedText';