Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
335
igHtmlEditor form input always 1 keypress behind
posted

We put our igHtmlEditor inside of an HTML form and use setting "inputName" to set the name of the POST parameter.
But the input the htmlEditor generates is not in sync with what is entered in the editor. It is always one keypress behind. So our customer's data is lost. Best case they lose the punctuation at the end, worst case they copy-past something in the editor and the entire value is lost.

Demo: http://jsfiddle.net/cbtjf7xk/1/ -> just edit character by character and you will see the value of textarea "htmlInput" is not up-to-date