-
I see in the documentation that for readonly mode I can use [disabled] property: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The editor uses ControlValueAccessor to make it work like the html input. See here https://github.com/sibiraj-s/ngx-editor/blob/master/projects/ngx-editor/src/lib/editor.component.ts#L63. Can you provide a reproducible example in stackblitz to check this? |
Beta Was this translation helpful? Give feedback.
Sorry for the delay in reply. The editor input component tries to behave like a form input component. To bind a value to the component you will need ngModel. The iniital state can be a string(HTML) or a JSON output of the editor.
See outputFormat to configure the output formats for the editor