mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 04:48:17 +08:00
FEATURE: support SCSS in custom email style
In the CSS tab of Admin > Customize > Email Style, SCSS can now be used.
This commit is contained in:
@ -4,6 +4,11 @@ import computed from "ember-addons/ember-computed-decorators";
|
||||
export default Component.extend({
|
||||
editorId: Ember.computed.reads("fieldName"),
|
||||
|
||||
@computed("fieldName")
|
||||
currentEditorMode(fieldName) {
|
||||
return fieldName === "css" ? "scss" : fieldName;
|
||||
},
|
||||
|
||||
@computed("fieldName", "styles.html", "styles.css")
|
||||
resetDisabled(fieldName) {
|
||||
return (
|
||||
|
Reference in New Issue
Block a user