mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-04 12:07:58 -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
50 lines
3.3 KiB
Text
50 lines
3.3 KiB
Text
meta(name="ol-project_id" content=project_id)
|
|
meta(name="ol-projectName" content=projectName)
|
|
meta(name="ol-userSettings" data-type="json" content=userSettings)
|
|
meta(name="ol-user" data-type="json" content=user)
|
|
meta(name="ol-learnedWords" data-type="json" content=learnedWords)
|
|
meta(name="ol-anonymous" data-type="boolean" content=anonymous)
|
|
meta(name="ol-brandVariation" data-type="json" content=brandVariation)
|
|
meta(name="ol-anonymousAccessToken" content=anonymousAccessToken)
|
|
meta(name="ol-isTokenMember" data-type="boolean" content=isTokenMember)
|
|
meta(name="ol-isRestrictedTokenMember" data-type="boolean" content=isRestrictedTokenMember)
|
|
meta(name="ol-maxDocLength" data-type="json" content=maxDocLength)
|
|
meta(name="ol-wikiEnabled" data-type="boolean" content=settings.proxyLearn)
|
|
meta(name="ol-gitBridgePublicBaseUrl" content=gitBridgePublicBaseUrl)
|
|
meta(name="ol-compilesUserContentDomain" content=settings.compilesUserContentDomain)
|
|
meta(name="ol-fallbackCompileDomain" content=settings.pdfDownloadDomain)
|
|
//- Set base path for Ace scripts loaded on demand/workers and don't use cdn
|
|
meta(name="ol-aceBasePath" content="/js/" + lib('ace'))
|
|
//- enable doc hash checking for all projects
|
|
//- used in public/js/libs/sharejs.js
|
|
meta(name="ol-useShareJsHash" data-type="boolean" content=true)
|
|
meta(name="ol-wsRetryHandshake" data-type="json" content=settings.wsRetryHandshake)
|
|
meta(name="ol-pdfjsVariant" content=pdfjsVariant)
|
|
meta(name="ol-debugPdfDetach" data-type="boolean" content=debugPdfDetach)
|
|
meta(name="ol-showLegacySourceEditor", data-type="boolean" content=showLegacySourceEditor)
|
|
meta(name="ol-showSourceToolbar", data-type="boolean" content=showSourceToolbar)
|
|
meta(name="ol-showSymbolPalette" data-type="boolean" content=showSymbolPalette)
|
|
meta(name="ol-galileoEnabled" data-type="string" content=galileoEnabled)
|
|
meta(name="ol-galileoPromptWords" data-type="string" content=galileoPromptWords)
|
|
meta(name="ol-galileoFeatures" data-type="json" content=galileoFeatures)
|
|
meta(name="ol-detachRole" data-type="string" content=detachRole)
|
|
meta(name="ol-allowedImageNames" data-type="json" content=allowedImageNames)
|
|
meta(name="ol-languages" data-type="json" content=languages)
|
|
meta(name="ol-editorThemes" data-type="json" content=editorThemes)
|
|
meta(name="ol-legacyEditorThemes" data-type="json" content=legacyEditorThemes)
|
|
meta(name="ol-showUpgradePrompt" data-type="boolean" content=showUpgradePrompt)
|
|
meta(name="ol-useOpenTelemetry" data-type="boolean" content=useOpenTelemetry)
|
|
meta(name="ol-showSupport", data-type="boolean" content=showSupport)
|
|
meta(name="ol-showTemplatesServerPro", data-type="boolean" content=showTemplatesServerPro)
|
|
meta(name="ol-showCM6SwitchAwaySurvey", data-type="boolean" content=showCM6SwitchAwaySurvey)
|
|
meta(name="ol-richTextVariant" content=richTextVariant)
|
|
meta(name="ol-showPersonalAccessToken", data-type="boolean" content=showPersonalAccessToken)
|
|
meta(name="ol-isReviewPanelReact", data-type="boolean" content=isReviewPanelReact)
|
|
if (richTextVariant === 'cm6')
|
|
meta(name="ol-mathJax3Path" content=mathJax3Path)
|
|
|
|
- var fileActionI18n = ['edited', 'renamed', 'created', 'deleted'].reduce((acc, i) => {acc[i] = translate('file_action_' + i); return acc}, {})
|
|
meta(name="ol-fileActionI18n" data-type="json" content=fileActionI18n)
|
|
|
|
if (settings.overleaf != null)
|
|
meta(name="ol-overallThemes" data-type="json" content=overallThemes)
|