feat: save page scripts + styles

This commit is contained in:
NGPixel
2020-06-20 01:11:05 -04:00
parent 718c14dd74
commit 53ddb50b51
6 changed files with 189 additions and 52 deletions

View File

@@ -188,6 +188,8 @@
) {{$t('common:actions.ok')}}
v-tab-item(:transition='false', :reverse-transition='false')
.editor-props-codeeditor-title
.overline {{$t('editor:props.js')}}
.editor-props-codeeditor
textarea(ref='codejs')
.editor-props-codeeditor-hint
@@ -231,6 +233,8 @@
)
v-tab-item(:transition='false', :reverse-transition='false')
.editor-props-codeeditor-title
.overline {{$t('editor:props.css')}}
.editor-props-codeeditor
textarea(ref='codecss')
.editor-props-codeeditor-hint
@@ -417,6 +421,13 @@ export default {
visibility: hidden;
}
&-title {
background-color: mc('grey', '900');
border-bottom: 1px solid lighten(mc('grey', '900'), 10%);
color: #FFF;
padding: 10px;
}
&-hint {
background-color: mc('grey', '900');
border-top: 1px solid lighten(mc('grey', '900'), 5%);