In the sample site example that comes with v15.1 for the HTMLEditorExtendor, an issue exists with the "Submit Content" button. If you make a change to the text in the tab that displays the html and then click the "Submit content" button, the text is not consistently kept. As an example, if i add "<div>New Text</div>", this works fine. If if add "<h1>New Text</h1>", this is html encoded and not displayed correctly.
See attached images. The submit button is clicked between step 2 & step 3 for both examples.
Comments: This is intended behavior. Every HTML fragment posted to the server is processed by the sanitizer by default. The "div" tag is whitelisted, but "h1" is not, so the sanitizer modifies user input to generate a safe HTML fragment.
See attached images. The submit button is clicked between step 2 & step 3 for both examples.
Comments: This is intended behavior. Every HTML fragment posted to the server is processed by the sanitizer by default. The "div" tag is whitelisted, but "h1" is not, so the sanitizer modifies user input to generate a safe HTML fragment.