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

233
Vistas
how can I create and use unique custom_id for any element of laravel-grapesjs?

In laravel 8 app with "jd-dotlogics/laravel-grapesjs": "^3.3.0", I need to extend its functionality :

  1. To add new custom button at toolbar

  2. By clicking on this custom button to open JS prompt method

  3. If prompt method was closed with success to save entered value(external url) with unique id of selected element in db with request to server.

  4. For any element on the form I need some unique custom_id and sending saving request save unique custom_id/Entered value

Next time when editor is opened by manager request to db must be send and these Entered value created prior sessions must be tied to any element by these unique custom_id. Can I create somehow these unique custom_id ?

Manually editing public/vendor/laravel-grapesjs/assets/editor.js file I made 3 first points(last without posting request to server). https://prnt.sc/rhIrgNpV_JS7 I know usually it is supposed that this file is not edited manually, but I do not see any other way to implement it.

Unpacked version is 37 K lines of code, so I pasted it in : https://zerobin.net/?bf6a96ac404ac3b1#oVMCXPuQUJVxzm9kuLAa/7tAQ9Kj1Gjhw0y/4aGR+BE=

Any ideas how can I create and use these unique custom_id ?

Thanks!

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