mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #2588 from overleaf/ns-add-text-extensions
add more extensions to editable files GitOrigin-RevId: f2a52eee148a78c8cb3623f27e25f2e0801ef835
This commit is contained in:
parent
9e6323caeb
commit
de40289b38
2 changed files with 38 additions and 2 deletions
|
@ -20,7 +20,16 @@ const FileTypeManager = {
|
|||
'.lbx',
|
||||
'.bbx',
|
||||
'.cbx',
|
||||
'.m'
|
||||
'.m',
|
||||
'.lco',
|
||||
'.dtx',
|
||||
'.ins',
|
||||
'.ist',
|
||||
'.def',
|
||||
'.clo',
|
||||
'.ldf',
|
||||
'.rmd',
|
||||
'.lua'
|
||||
],
|
||||
|
||||
IGNORE_EXTENSIONS: [
|
||||
|
|
|
@ -15,7 +15,34 @@ define(['base'], App =>
|
|||
const TAIL_OF_URL_LENGTH =
|
||||
MAX_URL_LENGTH - FRONT_OF_URL_LENGTH - FILLER.length
|
||||
|
||||
const textExtensions = ['bib', 'tex', 'txt', 'cls', 'sty']
|
||||
const textExtensions = [
|
||||
'tex',
|
||||
'latex',
|
||||
'sty',
|
||||
'cls',
|
||||
'bst',
|
||||
'bib',
|
||||
'bibtex',
|
||||
'txt',
|
||||
'tikz',
|
||||
'rtex',
|
||||
'md',
|
||||
'asy',
|
||||
'latexmkrc',
|
||||
'lbx',
|
||||
'bbx',
|
||||
'cbx',
|
||||
'm',
|
||||
'lco',
|
||||
'dtx',
|
||||
'ins',
|
||||
'ist',
|
||||
'def',
|
||||
'clo',
|
||||
'ldf',
|
||||
'rmd',
|
||||
'lua'
|
||||
]
|
||||
const imageExtensions = ['png', 'jpg', 'jpeg', 'gif']
|
||||
const previewableExtensions = []
|
||||
|
||||
|
|
Loading…
Reference in a new issue