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>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; });