We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c7488 commit 7238e7dCopy full SHA for 7238e7d
player/public/index.html
@@ -112,7 +112,7 @@
112
if (globalConfig?.config?.dir === 'rtl') {
113
document.body.setAttribute('dir', 'rtl');
114
}
115
- else if(window.parent.ecEditor.getConfig('dir')){
+ else if(window.parent.ecEditor && typeof window.parent.ecEditor.getConfig === 'function' && window.parent.ecEditor.getConfig('dir')){
116
document.body.setAttribute('dir', window.parent.ecEditor.getConfig('dir'));
117
118
else {
0 commit comments