Skip to content

Commit

Permalink
* a cosmetic fix in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
imfx77 committed Mar 14, 2024
1 parent 8ff25f8 commit 25ac287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function initialize()
$this->hook->on('template:layout:js', array('template' => 'plugins/WysiwygMDEditor/vendor/Ionaru/easy-markdown-editor/easymde.min.js'));
$this->hook->on('template:layout:js', array('template' => 'plugins/WysiwygMDEditor/Assets/easymde/editor.js'));

// add a 'self' frame-src CSP for StackEdit+, ONLY if not already present
// add a 'self' frame-src CSP for EasyMDE, ONLY if not already present
if (!array_key_exists('frame-src', $cspRules)) {
$cspRules['frame-src'] = "'self'";
}
Expand Down

0 comments on commit 25ac287

Please sign in to comment.