Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
b723d7d6
You need to sign in or sign up before continuing.
Commit
b723d7d6
authored
Jun 18, 2020
by
NGPixel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: markdown core props + styles/scripts permissions
parent
9e4ed798
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
8 deletions
+22
-8
admin-groups-edit-permissions.vue
client/components/admin/admin-groups-edit-permissions.vue
+14
-0
admin-rendering.vue
client/components/admin/admin-rendering.vue
+1
-1
definition.yml
server/modules/rendering/markdown-core/definition.yml
+7
-7
No files found.
client/components/admin/admin-groups-edit-permissions.vue
View file @
b723d7d6
...
...
@@ -81,6 +81,20 @@ export default {
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'
,
hint
:
'Can view pages source, as specified in the Page Rules'
,
warning
:
false
,
...
...
client/components/admin/admin-rendering.vue
View file @
b723d7d6
...
...
@@ -45,7 +45,7 @@
)
v-spacer
.body-2
{{
core
.
input
}}
v-icon.mx-2 mdi-arrow-right-
bold-hexagon-outlin
e
v-icon.mx-2 mdi-arrow-right-
circl
e
.caption
{{
core
.
output
}}
v-spacer
v-expansion-panel-content
...
...
server/modules/rendering/markdown-core/definition.yml
View file @
b723d7d6
...
...
@@ -10,7 +10,7 @@ props:
type
:
Boolean
default
:
true
title
:
Allow HTML
hint
:
Enable HTML tags in content
hint
:
Enable HTML tags in content
.
order
:
1
public
:
true
linkify
:
...
...
@@ -27,18 +27,18 @@ props:
hint
:
Add linebreaks within paragraphs.
order
:
3
public
:
true
typographer
:
underline
:
type
:
Boolean
default
:
false
title
:
Typographer
hint
:
Enable
some language-neutral replacement + quotes beautification
title
:
Underline Emphasis
hint
:
Enable
text underlining by using _underline_ syntax.
order
:
4
public
:
true
underline
:
typographer
:
type
:
Boolean
default
:
false
title
:
Underline Support
hint
:
Enable
underline by using _underline_
title
:
Typographer
hint
:
Enable
some language-neutral replacement + quotes beautification.
order
:
5
public
:
true
quotes
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment