Skip to content

Commit

Permalink
fix: šŸ› temporarily remove EditorView type check, #21 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leecason committed Mar 30, 2020
1 parent 042a22a commit 1232f26
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/components/ExtensionViews/ImageView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ export default class ImageView extends Vue {
readonly node!: ProsemirrorNode;
@Prop({
type: EditorView,
// TODO: EditorView type check failed
// issue: https://github.com/Leecason/element-tiptap/issues/21#issuecomment-605615966
type: Object,
required: true,
})
readonly view!: EditorView;
Expand Down
2 changes: 1 addition & 1 deletion src/components/ExtensionViews/TodoItemView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default class TodoItemView extends Vue {
readonly node!: ProsemirrorNode;
@Prop({
type: EditorView,
type: Object,
required: true,
})
readonly view!: EditorView;
Expand Down
2 changes: 1 addition & 1 deletion src/components/MenuBubble/ImageBubbleMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default class ImageBubbleMenu extends Vue {
readonly node!: ProsemirrorNode;
@Prop({
type: EditorView,
type: Object,
required: true,
})
readonly view!: EditorView;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import CommandButton from '../CommandButton.vue';
})
export default class RemoveImageCommandButton extends Mixins(i18nMixin) {
@Prop({
type: EditorView,
type: Object,
required: true,
})
readonly view!: EditorView;
Expand Down

0 comments on commit 1232f26

Please sign in to comment.