mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
17452b51d7
* [cm6] toolbar for source mode * top:0 for new toolbar * empty div for extensions * fix legacy css top pos * show source toolbar split test * prettier * show beta icon in source editor * dropdown toolbar wip * fix wrong conflict resolve * math dropdown, chrome extension fixes * math dropdown cleanup * sort en.json * fix sort en.json * using isVisual * getMeta in component, pug update * using flex grow * toolbar beta badge * remove extra whitespace * has-legacy-toolbar class * Increase container size * fix tests * prettier * styling fixes, using SplitTestBadge * only show source toolbar if flag is set * fix typo --------- Co-authored-by: Alf Eaton <alf.eaton@overleaf.com> GitOrigin-RevId: 34b01a9421f4a0d6defc40925c5092901575946e
12 lines
308 B
JavaScript
12 lines
308 B
JavaScript
import EditorSwitch from '../js/features/source-editor/components/editor-switch-legacy'
|
|
import { ScopeDecorator } from './decorators/scope'
|
|
|
|
export default {
|
|
title: 'Editor / Switch',
|
|
component: EditorSwitch,
|
|
decorators: [ScopeDecorator],
|
|
}
|
|
|
|
export const Switcher = () => {
|
|
return <EditorSwitch />
|
|
}
|