fix: markdown core props + styles/scripts permissions

This commit is contained in:
NGPixel 2020-06-18 22:49:26 -04:00
parent 9e4ed7986c
commit b723d7d626
3 changed files with 24 additions and 10 deletions

View File

@ -80,6 +80,20 @@ export default {
restrictedForSystem: true, restrictedForSystem: true,
disabled: false disabled: false
}, },
{
permission: 'write:styles',
hint: 'Can insert CSS styles in pages, as specified in the Page Rules',
warning: false,
restrictedForSystem: true,
disabled: false
},
{
permission: 'write:scripts',
hint: 'Can insert JavaScript in pages, as specified in the Page Rules',
warning: false,
restrictedForSystem: true,
disabled: false
},
{ {
permission: 'read:source', permission: 'read:source',
hint: 'Can view pages source, as specified in the Page Rules', hint: 'Can view pages source, as specified in the Page Rules',

View File

@ -45,7 +45,7 @@
) )
v-spacer v-spacer
.body-2 {{core.input}} .body-2 {{core.input}}
v-icon.mx-2 mdi-arrow-right-bold-hexagon-outline v-icon.mx-2 mdi-arrow-right-circle
.caption {{core.output}} .caption {{core.output}}
v-spacer v-spacer
v-expansion-panel-content v-expansion-panel-content

View File

@ -10,7 +10,7 @@ props:
type: Boolean type: Boolean
default: true default: true
title: Allow HTML title: Allow HTML
hint: Enable HTML tags in content hint: Enable HTML tags in content.
order: 1 order: 1
public: true public: true
linkify: linkify:
@ -27,18 +27,18 @@ props:
hint: Add linebreaks within paragraphs. hint: Add linebreaks within paragraphs.
order: 3 order: 3
public: true public: true
underline:
type: Boolean
default: false
title: Underline Emphasis
hint: Enable text underlining by using _underline_ syntax.
order: 4
public: true
typographer: typographer:
type: Boolean type: Boolean
default: false default: false
title: Typographer title: Typographer
hint: Enable some language-neutral replacement + quotes beautification hint: Enable some language-neutral replacement + quotes beautification.
order: 4
public: true
underline:
type: Boolean
default: false
title: Underline Support
hint: Enable underline by using _underline_
order: 5 order: 5
public: true public: true
quotes: quotes: