Skip to content

Illegal invocation Nuxt 2 #233

@martin91s

Description

@martin91s

Screenshot 2023-12-21 at 13 17 44

Any ideas what could be causing this?
"vue-froala-wysiwyg": "^4.1.4",

nuxt.config.js

  plugins: [
        { src: '~/plugins/froala-editor', mode: 'client', ssr: false },
  ],

plugins/froala-editor.js

import Vue from 'vue';
import 'froala-editor/js/froala_editor.pkgd.min.js';
import 'froala-editor/css/froala_editor.pkgd.min.css';
import 'froala-editor/css/froala_style.min.css';

import VueFroala from 'vue-froala-wysiwyg';

Vue.use(VueFroala);
<template>
    <froala :tag="'textarea'" :config="config" v-model="model" />
</template>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions