Use namespaced JS imports

This commit is contained in:
David Wheatley 2021-05-17 14:43:21 +01:00
parent 43b6e0818b
commit c9af88e721
3 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -1,4 +1,4 @@
import Component from 'flarum/Component';
import Component from 'flarum/common/Component';
export default class MarkdownToolbar extends Component {
view(vnode) {

View File

@ -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';