Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Vue Froala directly in HTML without build tools? #195

Open
allanedk opened this issue Feb 14, 2022 · 0 comments
Open

Use Vue Froala directly in HTML without build tools? #195

allanedk opened this issue Feb 14, 2022 · 0 comments

Comments

@allanedk
Copy link

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.

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?

PS: A similar issue was created some years ago and closed without a solution: #27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant