I have been trying to set 'Show Control' and 'Responsive Width' as true by default in html5video plugin of Ckeditor 4. I tried using setValue() in my custom config.js file, but the value is never updated in my UI. can someone help me with it?

ckeditor.on('dialogDefinition', e => {
      const dialogDefinition = e.data.definition;
      dialogDefinition.dialog.on('show', showDialog => {
          this.dialog = showDialog.sender;
          this.dialog.setValueOf( 'info', 'controls', 'checked' );

0 Answers