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

255
Views
Dentro de CKeditor, si escribo texto o la casilla de verificación de entrada de retroceso se desmarcará y el valor cambiará

Si cambio cualquier texto o doy la casilla de retroceso, la casilla de verificación se desmarcará y el valor será 0 en Ckeditor. Lo intenté pero no puedo hacerlo. ¿Como puedó resolver esté problema?

 CKEDITOR.replace( 'editor1' );
 <script src="https://cdn.ckeditor.com/4.16.2/standard/ckeditor.js"></script> <input type="checkbox" id="description" value="1" checked> <textarea name="editor1">Lorem ipsum dolor amet</textarea>

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Puede escuchar el change de evento de CKEDITOR.instances

 const checkbox = document.getElementById('description'); CKEDITOR.replace('editor1'); for (const i in CKEDITOR.instances) { CKEDITOR.instances[i].on('change', function () { checkbox.checked = false; checkbox.value = 0; }); }

o instancia que necesita

 const checkbox = document.getElementById('description'); CKEDITOR.replace('editor1'); CKEDITOR.instances.editor1.on('change', function () { checkbox.checked = false; checkbox.value = 0; });
about 4 years ago · Juan Pablo Isaza Report
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!