519 B
519 B
KriEditor HTML Compatibility
enableImageMapopt-in preservesmap, nestedarea, andimg.usemapHTML in WYSIWYG mode; consumers remain responsible for sanitizing URLs and attributes according to their server policy.- Use
htmlSanitizerwhen a consumer must apply a stricter HTML policy than the editor's default DOMPurify profile. - Use
getWysiwygCompatibilityto keep lossy HTML in HTML mode. The callback must returncompatible: falsewhen WYSIWYG parsing would remove or materially rewrite content.