mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-16 18:26:06 +01:00
Removed multiline
This commit is contained in:
@@ -267,7 +267,7 @@
|
|||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
|
|
||||||
this.currentvalue = this.editor.getValue().replace(/^---([\s\S]*?)---\n{1,}/gm, '');
|
this.currentvalue = this.editor.getValue().replace(/^---([\s\S]*?)---\n{1,}/g, '');
|
||||||
|
|
||||||
// empty code
|
// empty code
|
||||||
if (!this.currentvalue) {
|
if (!this.currentvalue) {
|
||||||
|
|||||||
Reference in New Issue
Block a user