In my previous post "Side by side editing - alternative to Optimizely On-Page Edit" I presented my latest OpenSource addon.
I collected a lot of feedback and debugged a few projects since the initial release and I think I can finally say the add-on is stable.
Almost all issues had the same root cause related to PageDataController's iframe component and the fact that both the On-Page Edit and my new SideBySide share a lot of code and subscribe to the same events.
In the latest version all issues related to keeping the currently active view when switching between content items are gone. I also fixed an annoying issue which caused intermittent iframe blinking when switching between OPE -> Preview -> SideBySide.
The final version is available here: https://nuget.optimizely.com/package/?id=SideBySideEditing&v=1.0.3
Please see how it works now:
The code is available on my github https://github.com/barteksekula/side-by-side-editing Please report and contribute there or comment this blog post!
Just a quick reminder how to install:
In order to start using SideBySideEditing you need to add it explicitly to your site.
Install-Package SideBySideEditing
It's available through the official Optimizely nuget feed - https://nuget.optimizely.com/package/?id=SideBySideEditing&v=1.0.3
After it's installed please add the following statement to your Startup.cs:
public class Startup
{
...
public void ConfigureServices(IServiceCollection services)
{
...
services.AddSideBySideEditing();
...
}
...
}
Happy Side Editing! :)