How to make input readonly in ckeditor dialog
ckeditor, css, html, input, javascript
Solution
I have found a solution in ckeditor source code. Just need to add this to element initialization
onLoad : function()
{
this.getInputElement().setAttribute( 'readOnly', true );
}
Problem
I'm trying to find a way to make input in ckeditor dialog readonly. I have initialized elements like this: ``` type: 'hbox', widths: ['25%', '75%'], children: [{ type: 'text', id: 'moduleId', label: 'Module', ``` Looking in documentation I guess the only way is to apply some css style to input?