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

Cant hide toolbar #516

Open
MickL opened this issue Feb 25, 2024 · 2 comments
Open

Cant hide toolbar #516

MickL opened this issue Feb 25, 2024 · 2 comments

Comments

@MickL
Copy link

MickL commented Feb 25, 2024

Version
@vueup/vue-quill: ^1.2.0

Describe the bug
I tried to hide the toolbar:

<script setup lang="ts">
    import { QuillEditor } from '@vueup/vue-quill';
    import '@vueup/vue-quill/dist/vue-quill.snow.css';

    const html = defineModel<string>();
</script>

<template>
    <QuillEditor v-model:content="html" contentType="html" theme="snow" :modules="{toolbar: false}" />
</template>

But it results in an error:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'register')

Browser (please complete the following information):

  • Browser Chrome
  • Version 122.0.6261.69

Additional context

  • Operating System: Darwin
  • Node Version: v21.6.1
  • Nuxt Version: 3.10.3
  • CLI Version: 3.10.1
  • Nitro Version: 2.8.1
  • Package Manager: bun@1.0.26
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Copy link

stale bot commented Apr 26, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Apr 26, 2024
@MickL
Copy link
Author

MickL commented Apr 26, 2024

I switched to Tiptap but this issue should still stay open as it is not fixed. Stale bot is the worst.

@stale stale bot removed the wontfix This will not be worked on label Apr 26, 2024
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