Any idea how to trigger onChange event from client? should I somehow chang

any idea how to trigger onChange event from client?

should I somehow change this js?

ed.on('change', function(e) {
                console.error('Editor was changed');
                currentValue = ed.getContent();
          });

can it be done through setConfig?

The config is currently parsed as JSON so that would need to be changed:

https://github.com/mstahv/tinymce-for-flow/blob/master/src/main/resources/META-INF/resources/frontend/tinymceConnector.js#L26

What are you trying to accomplish?

I would like to catch changes from client:

		tinyResultOutputText.addValueChangeListener(event -> {
			if (event.isFromClient()) {
				...
			}
		});

Apperantly, event is not triggered on/passed to server side.

Currently changes are pushed to the server side only when you move the focus out of the text editor. This is to minimize the client-server communication.

So would you like to listen to the value changes on the server side while the user is editing the content?

I fact I need just the first edit. I want to disable some components, when user make first change in text.

Makes sense, would you open an enhancement issue for it to GitHub project page? Would probably be quite easy to do.

Can you tell me if there has been implemented anything like this in the meantime?
Can’t find something like setValueChangeMode() in version 3.2.0.