Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: HTMLEditorExtendor error on sample site [27808]

$
0
0
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.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>