|
|
|
|
@ -510,7 +510,7 @@
|
|
|
|
|
iframe.setAttribute('name', 'AMP Playground Output');
|
|
|
|
|
$('#preview_box').html('');
|
|
|
|
|
$('#preview_box').append(iframe);
|
|
|
|
|
var html_code=$('#mobile_first_template').text().replace('<!--@CUSTOM-CONENT@-->',editor.getData());
|
|
|
|
|
var html_code=$('#mobile_first_template').text().replace('<!--@CUSTOM-CONENT@-->',editor.getData()).replace('<!--@HEAD_1@-->',$("#ic_title").val());
|
|
|
|
|
var doc = iframe.contentDocument || iframe.document;
|
|
|
|
|
doc.open();
|
|
|
|
|
doc.write(html_code);
|
|
|
|
|
|