<div dir="ltr">Hi!<br><br>I&#39;m using kupu editor in myfaces tomahawk inputHtml component.&nbsp; I have one kupu html editor in my page and if I submit my page with that editor containing an empty string, kupu sets its content to #000000 on page reload.<br>
<br>I&#39;ve done some investigation and found out that kupucontentfilters.js confuses the attribute &#39;text&#39; with &#39;textContent&#39;.&nbsp; The &#39;text&#39; attribute actually refers to the font-color, #000000, which is correct.&nbsp; But it should not be set as the body content.&nbsp; The body content should come from &#39;textContent&#39; attribute.<br>
<br>I&#39;ve attached a patch for the latest development version here.&nbsp; I hope this helps.<br><br>Best Regards,<br>Paul Rivera<br></div>