It seems that in some conditions (when using Textile, 'text' mode, on iOS), the function "setTextContent" clear the value of the textarea. This happens when "editor.getContent" returns no value.
That's why I propose this simple patch to resolve the issue #145.
We should not override the current value when getContent returns an empty string.
Hi @taqueci.
It seems that in some conditions (when using Textile, 'text' mode, on iOS), the function "setTextContent" clear the value of the textarea. This happens when "editor.getContent" returns no value.
That's why I propose this simple patch to resolve the issue #145.
We should not override the current value when getContent returns an empty string.
Thank you for considering this update.