Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

308
Vistas
create multiple vue quill editor instances on button click

I'm using vue quill in my app to provide some document creation features. I need to have multiple instances of quill that needs to be created when the user click on a button.

At the moment I have created this code in my vue component that is used to display the rich text editor

    <div class="container-fluid" id="editorWrapper">
        <div class="row">
            <ProgramEditor v-model="programTitle" v-model:cover="programCover" v-model:description="programDescription" v-model:content="programContent"></ProgramEditor>
        </div>
    </div>

This is the code I have at the moment into the ProgramEditor child component

<template>
    <div class="col-sm-12 col-md-9 col-lg-9 p-0 mb-3" id="programEditorWrapper">
        <input type="text" class="form-control mb-2 rounded-0" id="" placeholder="Title" @input="$emit('update:modelValue', $event.target.value)">
        <input type="text" class="form-control mb-2 rounded-0" id="" placeholder="Description" @input="$emit('update:description', $event.target.value)">
        <label class="mb-1" for="programCover">
            <input id="programCover" accept="image/*" type="file" class="form-control" ref="programCover" hidden>
            <small>
                <a class="text-decoration-none">  
                    Upload image
                </a>
            </small>
        </label>
        <QuillEditor ref="programEditor" theme="snow" content-type="html" toolbar="full" @update:content="$emit('update:content', $event)"></QuillEditor>
    </div>
</template>

How I can create multiple instances of quill editor component when the user will click the preposed button I will create?

about 4 years ago · Santiago Gelvez
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda