I have this code:
VerticalLayout vl = new VerticalLayout();
RichTextEditor editor = new RichTextEditor("old Value");
Button btn = new Button("change",e -> editor.setValue("new Value"));
vl.add(editor,btn);
When I add my editor he comes with the null value even though I have declared an initial , and when I click the button the value dont change. anyone know why? tks