[Embed] Set view mode for embedded

This commit is contained in:
Julia Radzhabova
2024-09-13 20:42:29 +03:00
parent 7a1601d144
commit d864a672a5
3 changed files with 3 additions and 0 deletions

View File

@ -89,6 +89,7 @@ DE.ApplicationController = new(function(){
ttOffset[1] = 40;
}
config.mode && (config.mode = 'view'); // always view for embedded
config.canCloseEditor = false;
var _canback = false;
if (typeof config.customization === 'object') {

View File

@ -86,6 +86,7 @@ PE.ApplicationController = new(function(){
$('#box-preview').addClass('top');
}
config.mode && (config.mode = 'view'); // always view for embedded
config.canCloseEditor = false;
var _canback = false;
if (typeof config.customization === 'object') {

View File

@ -86,6 +86,7 @@ SSE.ApplicationController = new(function(){
$('.viewer').addClass('top');
}
config.mode && (config.mode = 'view'); // always view for embedded
config.canCloseEditor = false;
var _canback = false;
if (typeof config.customization === 'object') {