Reputation: 9303
In TYPO3 v10 LTS, as a back-end admin user, I can edit .css
files in the "file explorer" (that is available in the Filelist module. I don't know the correct terms). See screenshot.
When the file has a .css extension (1), I can click on the "Edit content" icon (2), and an editor window opens.
However, when I rename the file to .scss
(1) I can no longer edit the file. The "Edit" Icon is no longer available (2). See below:
Is there a way to also make .scss
files editable, just like .css
files? Some setting, or TypoScript/PageTS config parameter? I can also patch the source code if needed.
Upvotes: 0
Views: 360
Reputation: 882
$GLOBALS[‘TYPO3_CONF_VARS’][‘SYS’][‘textfile_ext’]
Type: text
Default: ‘txt,ts,typoscript,html,htm,css,tmpl,js,sql,xml,csv,xlf,yaml,yml’
Text file extensions. Those that can be edited. Executable PHP files may not be editable if disallowed!
But keep in mind, that a change in a SCSS file needs to be processed somehow, as the browser needs CSS.
Upvotes: 5