CKEditor Data Binding


I have seen the CKEditor sample project
but how can I get or bind the data(text) entered in it
with datasource and property ?

Hi @denilaboski!

I’ve updated the sample project to the latest CUBA version. Also, I’ve added get/set value methods to the CKEditor component and corresponding ValueChange listener.

In order to bind a Vaadin component to datasource without full integration into the Generic UI, I would recommend using the ValueChangeListener, e.g.:

ckEditor.addValueChangeListener(valueChangeEvent ->


1 Like

Great, thank you !