If the editor is in readonly mode, I can't change its contents programmatically. I would expect that the user is not allowed to change the content, but not the developer. See the example below - if I click the button "Click me" the text in the editor does not change. I would expect it to change to "bla".
Is that possible in readonly or disabled mode?
import { Component } from "@angular/core";
@Component({
selector: "my-app",
template: `
<
kendo-editor
[value]="value"
[readonly]="true"
style
=
"height: 370px;"
></
kendo-editor
>
<
button
(click)="onClickme()">Click me</
button
>
`
})
export class AppComponent {
public value = "eeeeee";
onClickme() {
this.value = 'bla';
console.log('clicked');
}
}