<div dir="ltr">Hi!<br><br>I'm using kupu editor in myfaces tomahawk inputHtml component. 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've done some investigation and found out that kupucontentfilters.js confuses the attribute 'text' with 'textContent'. The 'text' attribute actually refers to the font-color, #000000, which is correct. But it should not be set as the body content. The body content should come from 'textContent' attribute.<br>
<br>I've attached a patch for the latest development version here. I hope this helps.<br><br>Best Regards,<br>Paul Rivera<br></div>