Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
C
cmscenter
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吕祺
cmscenter
Commits
a8de0dbb
Commit
a8de0dbb
authored
Aug 25, 2021
by
吕祺
⛹🏽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change video
parent
c9c602ce
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.html
static/admin/index.html
+2
-2
No files found.
static/admin/index.html
View file @
a8de0dbb
...
...
@@ -37,7 +37,7 @@
//
// Additionally, it's recommended that you use non-greedy capturing groups (e.g.
// `(.*?)` vs `(.*)`), especially if matching against newline characters.
pattern
:
/^<
urls>$
\s
*
?
<poster>
(
.*
?)
<
\/
poster>
\n\n(
.*
?)\n
^<
\/
urls
>$/m
s
,
pattern
:
/^<
video>$
\s
*
?(
.*
?)\n
^<
\/
video
>$/m
s
,
// Given a RegExp Match object
// (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/match#return_value),
// return an object with one property for each field defined in `fields`.
...
...
@@ -45,7 +45,7 @@
// This is used to populate the custom widget in the markdown editor in the CMS.
fromBlock
:
function
(
match
)
{
return
{
summary
:
match
[
1
],
poster
:
match
[
1
],
urls
:
match
[
2
]
};
},
...
...
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