fix: markdown core props + styles/scripts permissions

pull/2086/head
NGPixel 5 years ago
parent 9e4ed7986c
commit b723d7d626

@ -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',

@ -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

@ -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
typographer: underline:
type: Boolean type: Boolean
default: false default: false
title: Typographer title: Underline Emphasis
hint: Enable some language-neutral replacement + quotes beautification hint: Enable text underlining by using _underline_ syntax.
order: 4 order: 4
public: true public: true
underline: typographer:
type: Boolean type: Boolean
default: false default: false
title: Underline Support title: Typographer
hint: Enable underline by using _underline_ hint: Enable some language-neutral replacement + quotes beautification.
order: 5 order: 5
public: true public: true
quotes: quotes:

Loading…
Cancel
Save