You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using the editor in my app but ran into problems reacting to user changes.
isFromClient() of a ValueChangeEvent seems to always return false regardless of wether I changed something on clientside or not.
Also the event is triggered on multiple occasions:
on setValue()
on Focus (when I click on the Editor)
on Blur
I know the editor replaces tags like <b> (Bold-Tag) with <strong> (String-Tag) and seems to trigger valueChanges because of this, but can I distinguish between this correction and a actual user change?
My goal is, to only react to valueChanges explicitly triggered by user input.
Thanks for your interest to this addon. Yes, will change the part of isFromClient.
Regarding distinguish between this correction and a actual user change, it's not supported.
I tried using the editor in my app but ran into problems reacting to user changes.
isFromClient() of a ValueChangeEvent seems to always return false regardless of wether I changed something on clientside or not.
Also the event is triggered on multiple occasions:
I know the editor replaces tags like <b> (Bold-Tag) with <strong> (String-Tag) and seems to trigger valueChanges because of this, but can I distinguish between this correction and a actual user change?
My goal is, to only react to valueChanges explicitly triggered by user input.
This is a minimal vaadin starter showing my problem:
ckeditorvaluechange.zip
The text was updated successfully, but these errors were encountered: