Visual Editor should be able to enable/disable the 'inline` toggle when user toggles between Visual and Wikitext formats.
Feature Summary
On the current experience, a user is able to use different diff formats:
- Visual when VE is installed (URL param diffmode=visual)
The VE extension should disabled Inline toggle when Visual is selected. The extension should include functionality that allows others to determine what needs to be shown when Wikitext is selected.
Use Cases
As a viewer, I am able to switch between different diff formats.
The diff format options display the options according to installation.
Fresh install with VE enabled and without Wikidiff2 the toggle options should be:
"Visual", Wikitext"
Fresh install with VE enabled and with Wikidiff2 enabled the toggle options should:
- "Visual", "Wikitext", "Inline"
- The inline toggle should be active when wikitext option is selected.
- The inline toggle should be deactived when Visual option is selected.
Designs
- Wikitext is selected
- Visual is selected