Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

151
Views
¿Cómo corregir undefined (configuración de 'parentContainer') al agregar el paquete js usando la etiqueta de script en JavaScript?

Estoy tratando de agregar el editor de texto stackoverflow en mi archivo html a través de una etiqueta de script usando la guía de documentación de https://stackoverflow.design/product/components/editor/#import-via-script-tag pero recibo un error:

Error: TypeError no capturado: no se pueden establecer propiedades de undefined (estableciendo 'parentContainer') en Ic.setupPluginContainer (app.bundle.js:87:17414)

Código:

 <div id="editor-container"></div> <script src="https://unpkg.com/@highlightjs/cdn-assets@11.5.1/highlight.min.js"></script> <!-- Include the bundle --> <script src="./node_modules/@stackoverflow/stacks-editor/dist/app.bundle.js"></script> <!-- Initialize the editor --> <script> new window.stacksEditor.StacksEditor( document.querySelector("#editor-container"), "*Your* **markdown** here", {} );

Así es como se ve la estructura de mi carpeta: ingrese la descripción de la imagen aquí

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!