Release v2.2.0
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
// HTML region rendering with sandboxed iframe output.
|
||||
|
||||
var registry = window.pulsePlayerRegionTypes;
|
||||
|
||||
function renderHtmlRegionContent(value) {
|
||||
var html = String(value || '').trim();
|
||||
if (!html) {
|
||||
@@ -8,4 +12,8 @@ function renderHtmlRegionContent(value) {
|
||||
|
||||
function renderHtmlRegion(region, regionContent) {
|
||||
return '<div class="template-region html" style="' + region.baseStyle + '">' + renderHtmlRegionContent(regionContent.value || '') + '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
registry.register('html', {
|
||||
renderRegion: renderHtmlRegion
|
||||
});
|
||||
Reference in New Issue
Block a user