Skip to content

Commit

Permalink
fix: 🐛 relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
Leecason committed Dec 18, 2019
1 parent 41cf7d8 commit a206b2e
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions src/components/ElTiptap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
<script>
import { Editor, EditorContent } from 'tiptap';
import { Placeholder } from '@/extensions';
import { capitalize } from '@/utils/shared';
import { Placeholder } from '../extensions';
import { capitalize } from '../utils/shared';
import MenuBar from './MenuBar/index.vue';
import MenuBubble from './MenuBubble/index.vue';
Expand Down
2 changes: 1 addition & 1 deletion src/components/MenuCommands/CommandButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import {
faUndo,
faRedo,
} from '@fortawesome/free-solid-svg-icons';
import { noop } from '@/utils/shared';
import { noop } from '../../utils/shared';
library.add(
faHeading,
Expand Down
2 changes: 1 addition & 1 deletion src/components/MenuCommands/HeadingDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</template>

<script>
import { isHeadingActive } from '@/extensions/heading';
import { isHeadingActive } from '../../extensions/heading';
import CommandButton from './CommandButton.vue';
export default {
Expand Down
2 changes: 1 addition & 1 deletion src/components/MenuCommands/ImageUploadCommandButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</template>

<script>
import { readFileDataUrl } from '@/utils/shared';
import { readFileDataUrl } from '../../utils/shared';
import CommandButton from './CommandButton';
Expand Down
2 changes: 1 addition & 1 deletion src/components/MenuCommands/LineHeightDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</template>

<script>
import { isLineHeightActive } from '@/extensions/line_height';
import { isLineHeightActive } from '../../extensions/line_height';
import CommandButton from './CommandButton.vue';
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/blockquote.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Blockquote as TiptapBlockquote } from 'tiptap-extensions';
import CommandButton from '@/components/MenuCommands/CommandButton.vue';
import CommandButton from '../components/MenuCommands/CommandButton.vue';
import { ParagraphNodeSpec, getParagraphNodeAttrs, toParagraphDOM } from './paragraph';

const BlockquoteNodeSpec = {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/bold.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Bold as TiptapBold } from 'tiptap-extensions';
import CommandButton from '@/components/MenuCommands/CommandButton.vue';
import CommandButton from '../components/MenuCommands/CommandButton.vue';

export default class Bold extends TiptapBold {
menuBtnView ({ isActive, commands }) {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/bullet_list.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BulletList as TiptapBulletList } from 'tiptap-extensions';
import CommandButton from '@/components/MenuCommands/CommandButton.vue';
import CommandButton from '../components/MenuCommands/CommandButton.vue';

export default class BulletList extends TiptapBulletList {
menuBtnView ({ isActive, commands }) {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/code_block.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CodeBlock as TiptapCodeBlock } from 'tiptap-extensions';
import CommandButton from '@/components/MenuCommands/CommandButton.vue';
import CommandButton from '../components/MenuCommands/CommandButton.vue';

export default class CodeBlock extends TiptapCodeBlock {
menuBtnView ({ isActive, commands }) {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/heading.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Heading as TiptapHeading } from 'tiptap-extensions';
import { findParentNodeOfType } from 'prosemirror-utils';
import HeadingDropdown from '@/components/MenuCommands/HeadingDropdown.vue';
import HeadingDropdown from '../components/MenuCommands/HeadingDropdown.vue';
import { ParagraphNodeSpec, getParagraphNodeAttrs, toParagraphDOM } from './paragraph';

function getAttrs (dom) {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/history.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { History as TiptapHistory } from 'tiptap-extensions';
import CommandButton from '@/components/MenuCommands/CommandButton.vue';
import CommandButton from '../components/MenuCommands/CommandButton.vue';

export default class History extends TiptapHistory {
menuBtnView ({ commands }) {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/horizontal_rule.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { HorizontalRule as TiptapHorizontalRule } from 'tiptap-extensions';
import CommandButton from '@/components/MenuCommands/CommandButton.vue';
import CommandButton from '../components/MenuCommands/CommandButton.vue';

export default class HorizontalRule extends TiptapHorizontalRule {
menuBtnView ({ commands }) {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/image.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Image as TiptapImage } from 'tiptap-extensions';
import { NodeSelection } from 'prosemirror-state';
import ImageUploadCommandButton from '@/components/MenuCommands/ImageUploadCommandButton.vue';
import ImageUploadCommandButton from '../components/MenuCommands/ImageUploadCommandButton.vue';

export default class Image extends TiptapImage {
get schema () {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/indent.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Extension } from 'tiptap';
import { TextSelection, AllSelection } from 'prosemirror-state';
import CommandButton from '@/components/MenuCommands/CommandButton.vue';
import CommandButton from '../components/MenuCommands/CommandButton.vue';
import { clamp } from '../utils/shared';
import { isListNode } from '../utils/list';

Expand Down
2 changes: 1 addition & 1 deletion src/extensions/italic.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Italic as TiptapItalic } from 'tiptap-extensions';
import CommandButton from '@/components/MenuCommands/CommandButton.vue';
import CommandButton from '../components/MenuCommands/CommandButton.vue';

export default class Bold extends TiptapItalic {
menuBtnView ({ isActive, commands }) {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/line_height.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Extension } from 'tiptap';
import { TextSelection, AllSelection } from 'prosemirror-state';
import LineHeightDropdown from '@/components/MenuCommands/LineHeightDropdown.vue';
import LineHeightDropdown from '../components/MenuCommands/LineHeightDropdown.vue';

const ALLOWED_NODE_TYPES = [
'paragraph',
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/link.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Link as TiptapLink } from 'tiptap-extensions';
import AddLinkCommandButton from '@/components/MenuCommands/AddLinkCommandButton.vue';
import AddLinkCommandButton from '../components/MenuCommands/AddLinkCommandButton.vue';

export default class Bold extends TiptapLink {
menuBtnView (editorContext) {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/ordered_list.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { OrderedList as TiptapOrderedList } from 'tiptap-extensions';
import CommandButton from '@/components/MenuCommands/CommandButton.vue';
import CommandButton from '../components/MenuCommands/CommandButton.vue';

export default class OrderedList extends TiptapOrderedList {
menuBtnView ({ isActive, commands }) {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/strike.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Strike as TiptapStrike } from 'tiptap-extensions';
import CommandButton from '@/components/MenuCommands/CommandButton.vue';
import CommandButton from '../components/MenuCommands/CommandButton.vue';

export default class Strike extends TiptapStrike {
menuBtnView ({ isActive, commands }) {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/text_align.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Extension } from 'tiptap';
import CommandButton from '@/components/MenuCommands/CommandButton.vue';
import CommandButton from '../components/MenuCommands/CommandButton.vue';

const ALLOWED_NODE_TYPES = [
'paragraph',
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/todo_list.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TodoList as TiptapTodoList } from 'tiptap-extensions';
import CommandButton from '@/components/MenuCommands/CommandButton.vue';
import CommandButton from '../components/MenuCommands/CommandButton.vue';
export default class TodoList extends TiptapTodoList {
get schema () {
return {
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/underline.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Underline as TiptapUnderline } from 'tiptap-extensions';
import CommandButton from '@/components/MenuCommands/CommandButton.vue';
import CommandButton from '../components/MenuCommands/CommandButton.vue';

export default class Underline extends TiptapUnderline {
menuBtnView ({ isActive, commands }) {
Expand Down

0 comments on commit a206b2e

Please sign in to comment.