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

147
Vistas
how can i get the choose file and converted urls on click save button of image upload dialog modal in TINYMCE
  <Editor
    initialValue=""
    value={value}
    onInit={handleInit}
    onEditorChange={handleUpdate}
    onBeforeAddUndo={handleBeforeAddUndo}
    init={{
        selector: "textarea#file-picker",
        file_browser_callback_types: "image",
        file_picker_validator_handler: filePickerValidationCallback,
        images_dataimg_filter: function (img) {
        return !img.hasAttribute("internal-blob"); // blocks the upload of <img> elements with the attribute "internal-blob".
        },
        file_picker_callback: filePickerCallback,
        file_browser_callback: function (field_name, url, type, win) {
        console.log("file_browser_callback", field_name, url);
        },
        automatic_uploads: true,
        pagebreak_separator: `<div class="page-break" style="page-break-after:always;"><span style="display:none;">&nbsp;</span></div><p>&nbsp;</p>`,
        plugins: [
        "imagetools lists link image paste wordcount pagebreak image code fullscreen",
        ],
        draggable_modal: true,
        toolbar:
        "fullscreen | code image pagebreak undo redo | formatselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent",
    }}
    />;

the above code was my configuration for editor and image upload. i am getting data while input onchange but i need to get the callback and image data on save button event.

about 4 years ago · Juan Pablo Isaza
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