PriyaN
PriyaN

Reputation: 23

pe:ckEditor does not fire change event on paste

When I try to paste something to pe:ckEditor, it is not recognizing. My code is recognizing typed text but not pasted text. If I paste some text, the listener is also not getting invoked and report.conclusion value is null.

Simply, the pasted text is not being bound to #{report.conclusion}.

<pe:ckEditor id="editor" width="100%" value="#{report.conclusion}"  
    toolbar="[['Bold', 'Italic', 'Strike'], ['TextColor'], ['Outdent', 'Indent'], ['NumberedList', 'BulletedList'], ['Center'], ['Table']]">
    <p:ajax event="change" update="btnSaveChanges" />
</pe:ckEditor>

Upvotes: 1

Views: 97

Answers (0)

Related Questions