Closed MacDisein closed 6 years ago
It sounds like you have some other kind of css issue. I cannot reproduce. Try reducing the problem, e.g. load one of the examples and disable the sidebar.
I used the simple sample - and I am able to reproduce it at jsfiddle: https://jsfiddle.net/bilgehansolo/142r02ny/
Maybe it depends on the jquery version.
It hides both left and right sidebar:
Note that it does not hide scrollbar.
Hmmm, not here, tried it with different browsers on different machines.
ipad? Safari? y, could be something like that.
The screenshot is from an iPad with Safari browser, but as described above, I can reproduce the problem with different browsers on different operating systems. After playing around with the jsfiddle demo a bit - I think I know what the reason is, the sidebar is not hidden if the option is set via "onLoad", if you change the option later (e.g. by clicking the button "Toggle line break") - the right sidebar disappears.
Steps to reproduce:
As a workaround I do not set "sidebar" while creating the mergely object. I get and set the options later and then all sidebars are hidden as expected.
var options = $('#mergely').mergely('options'); options.sidebar = false; $('#mergely').mergely('options', options);
Fixed in 4.0.2
If I set „sidebar: false“ only the sidebar on the left hand side editor disappears.