Giter VIP home page Giter VIP logo

Comments (7)

afwn90cj93201nixr2e1re avatar afwn90cj93201nixr2e1re commented on May 27, 2024 1

@stefanneculai we wanna use it in single component, not on all bundle.
Like

import { Froala, FroalaView} from 'froala path'
components:{'froala-view':FroalaView},

from vue-froala-wysiwyg.

doydoydoy avatar doydoydoy commented on May 27, 2024

Any updates on this? I've been getting an error for this part as well. Current error is:

Unknown custom element: <froala> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

from vue-froala-wysiwyg.

allanedk avatar allanedk commented on May 27, 2024

Did you find a solution to this? I'm having the same issue.

Thanks.

from vue-froala-wysiwyg.

Mboulianne avatar Mboulianne commented on May 27, 2024

if you wanna use vue-froala without vue, why not use https://github.com/froala/wysiwyg-editor instead?

from vue-froala-wysiwyg.

stefanneculai avatar stefanneculai commented on May 27, 2024

Guys, could you please provide details on how to reproduce this? If we get enough details to reproduce it on our side, we might be able to help.

from vue-froala-wysiwyg.

afwn90cj93201nixr2e1re avatar afwn90cj93201nixr2e1re commented on May 27, 2024

2473356#diff-d06086d739c9878b4e3fcd66aba35062R322

from vue-froala-wysiwyg.

allanedk avatar allanedk commented on May 27, 2024

Did anybody find a solution to this?

I have a CMS-driven website which is not a SPA and not a Vue application. However, I'm using Vue in some situations to make pages partially driven by client-side code. It works fine.

However the current Froala Vue (vue-froala-wyswiyg) seems to only work in a dedicated Vue app / SPA.

For comparison: The Vue version of TinyMCE lets you add the editor directly in the HTML (no compiling etc.) like this:

<script src="/path/to/tinymce-vue.min.js"></script>

And adding this before initializing the Vue app:

Vue.component("editor", Editor);

Or like this:

 new Vue({
            el: "#app",
            components: {
                editor: Editor
            }
        });

It's easy and fast.

I've been spending hours now on Froala. Am I missing something or will it require a change in Froala Vue to work like this?

from vue-froala-wysiwyg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.