Skip to content

Commit

Permalink
disallow iframes and script in default
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed May 26, 2015
1 parent 481ead2 commit b79554a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions demos/ckeditor/ckeditor.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
}
}]'
data-aura-ui-color="#ffcc00"
></textarea>
>Texteditor sample with custom ckeditor parameters</textarea>
</div>
<div id="content-2" class="grid">
<textarea
Expand All @@ -81,7 +81,7 @@
data-aura-max-height="50"
data-aura-language="de"
data-aura-instance-name="myInstance-2"
data-aura-enter-mode="br"></textarea>
data-aura-enter-mode="br">Texteditor sample with BR Entermode</textarea>
</div>

<script src="../../bower_components/jquery/jquery.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion dist/husky.js
Original file line number Diff line number Diff line change
Expand Up @@ -45066,7 +45066,7 @@ define('__component__$data-navigation@husky',[
removePlugins: 'elementspath,magicline',
removeDialogTabs: 'image:advanced;link:advanced',
extraPlugins: 'justify,format,sourcearea,link,table,pastefromword,autogrow',
extraAllowedContent: 'img(*)[*]; span(*)[*]; div(*)[*]; iframe(*)[*]; script(*)[*]',
extraAllowedContent: 'img(*)[*]; span(*)[*]; div(*)[*]',
resize_enabled: false,
enterMode: 'P',
uiColor: '#ffffff',
Expand Down
2 changes: 1 addition & 1 deletion dist/husky.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion husky_extensions/ckeditor-extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
removePlugins: 'elementspath,magicline',
removeDialogTabs: 'image:advanced;link:advanced',
extraPlugins: 'justify,format,sourcearea,link,table,pastefromword,autogrow',
extraAllowedContent: 'img(*)[*]; span(*)[*]; div(*)[*]; iframe(*)[*]; script(*)[*]',
extraAllowedContent: 'img(*)[*]; span(*)[*]; div(*)[*]',
resize_enabled: false,
enterMode: 'P',
uiColor: '#ffffff',
Expand Down

0 comments on commit b79554a

Please sign in to comment.