Skip to content

Commit

Permalink
Prevent form and iframe in tinymce contents
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Mar 5, 2019
1 parent 7de5ab2 commit 3c04b73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/html.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3548,6 +3548,7 @@ static function initEditorSystem($name, $rand = '', $display = true, $readonly =
// init editor
tinyMCE.init({
language: '$language',
invalid_elements: 'form,iframe',
browser_spellcheck: true,
mode: 'exact',
elements: '$name',
Expand Down

0 comments on commit 3c04b73

Please # to comment.